18f0a9f22fe22d989b4c29a7f63277347accaa8a
[bpt/emacs.git] / lisp / ChangeLog
1 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2
3 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4 Fix interactive spec. Doc fix. (Bug#15754)
5
6 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
7
8 * emacs-lisp/byte-run.el (eval-when-compile):
9 * progmodes/cc-defs.el (cc-eval-when-compile):
10 Fix edebug spec (bug#16184).
11
12 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
13
14 * net/shr.el (shr-visit-file): Remove debugging function.
15
16 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
17
18 * progmodes/python.el:
19 (python-nav--lisp-forward-sexp): New function.
20 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
21 python-nav-lisp-forward-sexp-safe.
22 (python-nav--forward-sexp): New argument SAFE allows switching
23 forward sexp movement behavior for parens.
24 (python-nav-forward-sexp): Throw errors on unterminated parens
25 (Bug#16191).
26 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
27 (python-nav-backward-sexp-safe): New functions.
28 (python-shell-buffer-substring): Use
29 `python-nav-forward-sexp-safe'.
30
31 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
32
33 * net/shr.el (shr-find-fill-point): Don't break lines before a
34 quotation mark.
35 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
36 (shr-find-fill-point): Remove the special checks for the quotation
37 mark, since `shr-char-kinsoku-bol-p' should now return the right
38 thing.
39
40 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
41
42 * net/eww.el (eww-form-textarea): Use a different face for
43 textareas than text input since they have different keymaps
44 (bug#16142).
45
46 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
47
48 * progmodes/python.el (python-nav-beginning-of-statement): Speed
49 up (Bug#15295).
50
51 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
52
53 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
54 the window configuration.
55
56 2013-12-24 Eli Zaretskii <eliz@gnu.org>
57
58 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
59 we run on MS-Windows or MS-DOS.
60
61 2013-12-24 Martin Rudalics <rudalics@gmx.at>
62
63 * window.el (balance-windows-area): Call window-size instead of
64 window-height and window-width. Bug#16241.
65
66 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
67
68 * net/eww.el (eww-bookmark-quit): Remove.
69 (eww-bookmark-browse): Restore the window configuration when you
70 choose a bookmark (bug#16144).
71
72 2013-12-24 Daniel Colascione <dancol@dancol.org>
73
74 * icomplete.el: Remove redundant :group arguments to `defcustom'
75 throughout.
76 (icomplete-show-matches-on-no-input): New customizable variable.
77 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
78 we have something to show.
79 (icomplete-exhibit): Compute completions even if we have no user
80 input.
81
82 2013-12-23 Daniel Colascione <dancol@dancol.org>
83
84 * icomplete.el: Move `provide' to end of file.
85
86 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
87
88 * net/gnutls.el (gnutls-verify-error): Add version tag.
89
90 2013-12-23 Chong Yidong <cyd@gnu.org>
91
92 * subr.el (set-transient-map): Rename from
93 set-temporary-overlay-map. Doc fix.
94
95 * face-remap.el (text-scale-adjust):
96 * indent.el (indent-rigidly):
97 * kmacro.el (kmacro-call-macro):
98 * minibuffer.el (minibuffer-force-complete):
99 * repeat.el (repeat):
100 * simple.el (universal-argument--mode):
101 * calendar/todo-mode.el (todo-insert-item--next-param):
102 * progmodes/f90.el (f90-abbrev-start): Callers changed.
103
104 * indent.el (indent-rigidly): Use substitute-command-keys.
105
106 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
107
108 * net/eww.el (eww-tag-select): Add text-property to jump to next
109 select field.
110 (eww) : Add non-supported ftp error.
111
112 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
113
114 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
115 comments. Handle electric indent after typing `?' and `!'.
116
117 2013-12-22 Chong Yidong <cyd@gnu.org>
118
119 * faces.el (face-spec-recalc): If the theme specs are not
120 applicable to a frame, fall back on the defface spec. This
121 prevents themes from obliterating faces on low-color terminals.
122
123 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
124
125 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
126 after `{'. We need it after block openers, and it doesn't seem
127 to hurt after hash openers.
128
129 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
130
131 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
132 extracted from `ruby-smie-rules'.
133 (ruby--electric-indent-chars): New variable.
134 (ruby--electric-indent-p): New function.
135 (ruby-mode): Use `electric-indent-functions' instead of
136 `electric-indent-chars'.
137
138 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
139
140 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
141 docstring.
142 (ruby-smie-rules): Indent plus one level after `=>'.
143
144 2013-12-21 Richard Stallman <rms@gnu.org>
145
146 * simple.el (newline): Doc fix.
147
148 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
149
150 * net/eww.el (eww-list-histories, eww-list-histories)
151 (eww-history-browse, eww-history-quit, eww-history-kill)
152 (eww-history-mode-map, eww-history-mode): New command and
153 functions to list browser histories.
154 (eww-form-text): Support text form with disabled
155 and readonly attributes.
156 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
157
158 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
159
160 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
161 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
162 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
163 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
164 Use `user-error'.
165 (eww-bookmark-mode-map): Add menu.
166 (eww-render, eww-mode): Use `setq-local'.
167 (eww-tool-bar-map): New variable.
168 (eww-mode): Set `tool-bar-map'.
169 (eww-view-source): Check for `html-mode' with `fboundp'.
170
171 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
172
173 * net/shr.el (shr--extract-best-source): Don't bug out on audio
174 elements with text inside. Also remove debugging.
175
176 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
177
178 * cus-start.el (all): Add ns-use-srgb-colorspace.
179
180 2013-12-21 Chong Yidong <cyd@gnu.org>
181
182 * custom.el (custom-theme-recalc-face): Do nothing if the face is
183 undefined. Thus, theme settings for undefined faces do not take
184 effect until the faces are defined with defface, the same as with
185 theme variables.
186
187 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
188 (face-spec-reset-face): Don't assign extra properties in temacs.
189 (face-spec-recalc): Apply X resources too.
190
191 2013-12-21 Chong Yidong <cyd@gnu.org>
192
193 * faces.el (face-spec-set):
194 * cus-face.el (custom-theme-set-faces, custom-set-faces):
195 * custom.el (defface): Doc fixes (Bug#16203).
196
197 * indent.el (indent-rigidly-map): Add docstring, and move commands
198 into named functions.
199 (indent-rigidly-left, indent-rigidly-right)
200 (indent-rigidly-left-to-tab-stop)
201 (indent-rigidly-right-to-tab-stop): New functions. Decide on
202 indentation direction based on bidi direction, and accumulate
203 sequential commands in a single undo boundary.
204 (indent-rigidly--pop-undo): New utility function.
205
206 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
207
208 * faces.el (read-face-name): Require crm.el when using crm-separator.
209
210 2013-12-20 Daniel Colascione <dancol@dancol.org>
211
212 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
213 so that we don't reflow comments into the shebang line.
214
215 2013-12-20 Juri Linkov <juri@jurta.org>
216
217 * saveplace.el (save-place-to-alist): Add `dired-filename' as
218 a position when `dired-directory' is non-nil. Check integer
219 positions with `integerp'.
220 (toggle-save-place, save-places-to-alist): Add check for
221 `dired-directory'.
222 (save-place-find-file-hook): Check integer positions with
223 `integerp'.
224 (save-place-dired-hook): Use `dired-goto-file' when
225 `dired-filename' is found in the assoc list. Check integer
226 positions with `integerp'.
227 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
228
229 * dired.el (dired-initial-position-hook): Rename back from
230 `dired-initial-point-hook'.
231 (dired-initial-position): Rename `dired-initial-point-hook' to
232 `dired-initial-position-hook'.
233 (dired-file-name-at-point): Doc fix. (Bug#15329)
234
235 2013-12-20 Juri Linkov <juri@jurta.org>
236
237 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
238 (read-regexp-suggestions): New function.
239 (read-regexp): Use `read-regexp-defaults-function' to get default values.
240 Use `read-regexp-suggestions'. Add non-empty default to history
241 for empty input.
242 (occur-read-regexp-defaults-function): Remove function.
243 (occur-read-primary-args): Use `regexp-history-last' instead of
244 `occur-read-regexp-defaults-function'.
245
246 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
247 (hi-lock-line-face-buffer, hi-lock-face-buffer)
248 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
249 `hi-lock-read-regexp-defaults-function'. Doc fix.
250 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
251 with `find-tag-default-as-symbol-regexp'. Doc fix.
252 (hi-lock-read-regexp-defaults): Remove function.
253 (hi-lock-regexp-okay): Add check for null.
254
255 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
256 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
257
258 * subr.el (find-tag-default-as-symbol-regexp): New function.
259 (find-tag-default-as-regexp): Move symbol regexp formatting to
260 `find-tag-default-as-symbol-regexp'.
261
262 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
263
264 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
265 (Bug#14179)
266
267 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
268
269 * calendar/todo-mode.el: New implementation of item insertion
270 commands and key bindings.
271 (todo-key-prompt): New face.
272 (todo-insert-item): New command.
273 (todo-insert-item--parameters): New defconst, replacing defvar
274 todo-insertion-commands-args-genlist.
275 (todo-insert-item--param-key-alist): New defconst, replacing
276 defvar todo-insertion-commands-arg-key-list.
277 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
278 (todo-insert-item--argsleft, todo-insert-item--apply-args)
279 (todo-insert-item--next-param): New functions.
280 (todo-insert-item--args, todo-insert-item--argleft)
281 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
282 New variables.
283 (todo-key-bindings-t): Change binding of "i" from
284 todo-insertion-map to todo-insert-item.
285 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
286 (todo-insertion-command-name, todo-insertion-commands-names)
287 (todo-define-insertion-command, todo-insertion-commands)
288 (todo-insertion-key-bindings, todo-insertion-map): Remove.
289
290 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
291
292 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
293 (todo-toggle-item-highlighting): Use eval-and-compile instead of
294 eval-when-compile.
295 (todo-move-category): Allow choosing a non-existing todo file to
296 move the category to, and create that file.
297 (todo-default-priority): New user option.
298 (todo-set-item-priority): Use it.
299 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
300 (desktop-restore-file-buffer): Declare.
301 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
302 (todo-modes-set-2): Locally set desktop-save-buffer to
303 todo-desktop-save-buffer.
304 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
305 (auto-mode-alist): Add autoload cookie.
306
307 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
308
309 * emacs-lisp/subr-x.el: Renamed from helpers.el.
310 helpers.el was a poor choice of name.
311 (string-remove-prefix): New function.
312 (string-remove-suffix): New function.
313
314 2013-12-20 Martin Rudalics <rudalics@gmx.at>
315
316 Fix assignment for new window total sizes.
317 * window.el (window--pixel-to-size): Remove function.
318 (window--pixel-to-total-1, window--pixel-to-total):
319 Fix calculation of new total sizes.
320
321 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
322
323 * comint.el (comint-output-filter): Fix rear-nonsticky property
324 placement (Bug#16010).
325
326 2013-12-20 Chong Yidong <cyd@gnu.org>
327
328 * faces.el (read-color): Minor fix for completion function.
329
330 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
331
332 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
333 New option. (Bug#16182)
334 (ruby-smie--indent-to-stmt-p): Use it.
335 (ruby-smie-rules): Revert the logic in the handling of `when'.
336 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
337 (ruby-deep-arglist, ruby-deep-indent-paren)
338 (ruby-deep-indent-paren-style): Update docstrings to note that the
339 vars don't have any effect with SMIE.
340
341 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
342
343 * calc/calc.el (calc-enter, calc-pop): Use the variable
344 `calc-context-sensitive-enter'.
345
346 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
347
348 * net/shr.el (shr-insert): Protect against infloops in degenerate
349 tables.
350
351 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
352
353 * progmodes/octave.el (octave): Add link to manual and octave
354 homepage.
355 (octave-mode-menu): Link to octave-mode manual.
356
357 2013-12-20 Leo Liu <sdl.web@gmail.com>
358
359 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
360 insertion using skeleton-end-newline. (Bug#16138)
361
362 2013-12-20 Juri Linkov <juri@jurta.org>
363
364 * replace.el (occur-engine): Use `add-face-text-property'
365 to add the face property to matches and titles. (Bug#14645)
366
367 * hi-lock.el (hi-green): Use lighter color "light green" closer to
368 the palette of other hi-lock colors.
369 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
370
371 2013-12-19 Juri Linkov <juri@jurta.org>
372
373 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
374 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
375 (minibuffer-history-symbol): Move variable declaration closer to
376 its usage.
377
378 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
379 (Bug#14785)
380
381 2013-12-19 Juri Linkov <juri@jurta.org>
382
383 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
384 New function.
385 (log-edit-hook): Add it to :options. (Bug#16170)
386
387 2013-12-19 Juri Linkov <juri@jurta.org>
388
389 * simple.el (eval-expression-print-format): Don't check for
390 command names and the last command. Always display additional
391 formats of the integer result in the echo area, and insert them
392 to the current buffer only with a zero prefix arg.
393 Display character when char-displayable-p is non-nil.
394 (eval-expression): With a zero prefix arg, set `print-length' and
395 `print-level' to nil, and insert the integer values from
396 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
397
398 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
399 `eval-last-sexp-arg-internal'. Doc fix.
400 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
401 `eval-last-sexp-print-value'. Doc fix.
402 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
403 Set `print-length' and `print-level' to nil when arg is zero.
404 (eval-last-sexp): Doc fix.
405 (eval-defun-2): Print the integer values from
406 `eval-expression-print-format' at the end.
407
408 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
409 values from `eval-expression-print-format' at the end.
410
411 * ielm.el (ielm-eval-input): Print the integer
412 values from `eval-expression-print-format' at the end.
413
414 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
415
416 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
417 2013-12-11T19:01:44Z!tzz@lifelogs.com.
418
419 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
420
421 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
422 (hl-line-highlight, global-hl-line-highlight): Use it.
423 (hl-line-overlay): Use defvar-local.
424
425 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
426
427 * term/ns-win.el: Require dnd.
428 (global-map): Remove drag items.
429 (ns-insert-text, ns-set-foreground-at-mouse)
430 (ns-set-background-at-mouse):
431 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
432 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
433 New functions.
434
435 2013-12-19 Glenn Morris <rgm@gnu.org>
436
437 * emacs-lisp/ert.el (ert-select-tests):
438 Fix string/symbol mixup. (Bug#16121)
439
440 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
441
442 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
443 keywords to their parent.
444
445 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
446
447 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
448 first arg to be a string (fixed dead code), or an operator symbol.
449 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
450 operator symbols.
451 (ruby-smie-rules): Remove parent token check in the `.' clause, it
452 did nothing. Don't respond to `(:after ".")', it will be called
453 with :before anyway. Remove the ` @ ' rule, it didn't seem to
454 change anything. Only return indentation for binary operators
455 when they are hanging. De-dent opening paren when its parent is
456 `.', otherwise it looks bad when the dot is not at bol or eol
457 (bug#16182).
458
459 2013-12-19 Juri Linkov <juri@jurta.org>
460
461 * replace.el (query-replace-read-args): Split a non-negative arg
462 and a negative arg into separate elements.
463 (query-replace, query-replace-regexp, replace-string)
464 (replace-regexp): Add arg `backward'. Doc fix.
465 (replace-match-maybe-edit): When new arg `backward' is non-nil,
466 move point to the beginning of the match.
467 (replace-search, replace-highlight): Use new arg `backward'
468 to set the value of `isearch-forward'.
469 (perform-replace): Add arg `backward' and use it to perform
470 replacement backward. (Bug#14979)
471
472 * isearch.el (isearch-query-replace): Use a negative prefix arg
473 to call `perform-replace' with a non-nil arg `backward'.
474
475 2013-12-18 Juri Linkov <juri@jurta.org>
476
477 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
478 to the default list. Move `log-edit-show-files' to the end.
479 Add more available functions to options.
480 (log-edit): Move default specific settings to
481 `log-edit-insert-message-template'. Don't move point.
482 (log-edit-insert-message-template): New function.
483 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
484 (Bug#16170)
485
486 2013-12-18 Juri Linkov <juri@jurta.org>
487
488 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
489 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
490
491 2013-12-18 Leo Liu <sdl.web@gmail.com>
492
493 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
494
495 2013-12-18 Eli Zaretskii <eliz@gnu.org>
496
497 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
498 formats for displaying file sizes when the -s switch is given.
499 Instead, compute a separate format for displaying the size in
500 blocks, which is displayed in addition to the "regular" size.
501 When -h is given in addition to -s, produce size in blocks in
502 human-readable form as well. (Bug#16179)
503
504 2013-12-18 Tassilo Horn <tsdh@gnu.org>
505
506 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
507 Reference tables with ~\ref{...} instead of only \ref{...}.
508
509 2013-12-18 Chong Yidong <cyd@gnu.org>
510
511 * cus-edit.el (custom-magic-alist): Fix "themed" description
512 (Bug#14348).
513
514 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
515 is non-nil, do not create a new entry in the symbol's theme-value
516 or theme-face property; update theme-settings only (Bug#14664).
517 (custom-available-themes): Doc fix.
518
519 * cus-theme.el (custom-new-theme-mode-map): Add bindings
520 (Bug#15674).
521
522 * replace.el (occur-engine): Avoid infloop (Bug#7593).
523
524 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
525
526 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
527 (Bug#13914).
528
529 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
530
531 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
532
533 2013-12-18 Glenn Morris <rgm@gnu.org>
534
535 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
536 * cus-start.el (load-prefer-newer): New option.
537
538 2013-12-18 Le Wang <l26wang@gmail.com>
539
540 * comint.el (comint-previous-matching-input-from-input):
541 Retain point (Bug#13404).
542
543 2013-12-18 Chong Yidong <cyd@gnu.org>
544
545 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
546
547 2013-12-18 Glenn Morris <rgm@gnu.org>
548
549 * mail/emacsbug.el (report-emacs-bug):
550 Only mention enable-multibyte-characters if non-standard.
551
552 2013-12-17 Juri Linkov <juri@jurta.org>
553
554 * arc-mode.el (archive-extract-by-file): Check if directory exists
555 before deletion to not show irrelevant errors if it doesn't exist.
556
557 2013-12-17 Juri Linkov <juri@jurta.org>
558
559 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
560 (Bug#14751)
561
562 * net/eww.el (browse-web): Add alias to `eww'.
563 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
564 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
565
566 * net/browse-url.el (browse-url-browser-function): Move `eww'
567 closer to similar functions.
568
569 * startup.el (fancy-startup-screen, fancy-about-screen):
570 Set browse-url-browser-function to eww-browse-url locally.
571 (Bug#14751)
572
573 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
574
575 * window.el (window--pixel-to-total): Remove unused `mini' var.
576 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
577 (split-window): Remove unused `new' var.
578 (window--display-buffer): Remove unused `frame' and `delta' vars.
579 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
580 and display-width'.
581
582 2013-12-17 Martin Rudalics <rudalics@gmx.at>
583
584 * dired.el (dired-mark-pop-up):
585 * register.el (register-preview): Don't bind
586 split-height-threshold here since it's now done in
587 display-buffer-below-selected.
588
589 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
590
591 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
592 xterm-rgb-convert-to-16bit.
593 (rxvt-register-default-colors): Standardize with
594 xterm-register-default-colors (Bug#14078).
595
596 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
597
598 * simple.el (kill-region): Pass mark first, then point, so that
599 kill-append works right (Bug#12819).
600 (copy-region-as-kill, kill-ring-save): Likewise.
601
602 2013-12-17 Leo Liu <sdl.web@gmail.com>
603
604 * net/rcirc.el (rcirc-add-face):
605 * eshell/em-prompt.el (eshell-emit-prompt):
606 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
607 (Bug#16167)
608
609 2013-12-17 Chong Yidong <cyd@gnu.org>
610
611 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
612 Suggested by Xue Fuqiao.
613
614 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
615
616 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
617
618 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
619
620 * net/shr.el (shr-insert-document): Remove unused var
621 `shr-preliminary-table-render'.
622 (shr-rescale-image): Remove unused arg `force'.
623 (shr-put-image): Update calls accordingly.
624 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
625
626 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
627
628 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
629 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
630 :close-all, to see which indentation method to use (Bug#16116).
631 (smie-rules-function): Document the method :close-all.
632
633 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
634
635 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
636
637 * net/eww.el (eww-display-html): If we can't find the anchor we're
638 looking for, then go to point-min.
639
640 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
641
642 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
643 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
644 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
645 Expand dir too, in case it's relative.
646
647 2013-12-16 Juri Linkov <juri@jurta.org>
648
649 * desktop.el (desktop-auto-save-timeout): Change default to
650 `auto-save-timeout'. Doc fix.
651 (desktop-save): Skip the timestamp in desktop-saved-frameset
652 when checking for auto-save changes.
653 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
654 `desktop-auto-save' is called repeatedly by the idle timer.
655 (desktop-auto-save-set-timer): Replace `run-with-timer' with
656 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
657 (Bug#15331)
658
659 2013-12-16 Juri Linkov <juri@jurta.org>
660
661 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
662 (Bug#16035)
663 (isearch-pre-command-hook): Check `this-command' for symbolp.
664
665 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
668
669 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
670
671 * progmodes/cfengine.el (cfengine3--current-word): Remove.
672 (cfengine3--current-function): Bring in the current-function
673 functionality from `cfengine3--current-word'.
674 (cfengine3-completion-function): Bring in the
675 bounds-of-current-word functionality from
676 `cfengine3--current-word'.
677
678 2013-12-16 Martin Rudalics <rudalics@gmx.at>
679
680 * window.el (display-buffer-below-selected):
681 Bind split-height-threshold to 0 as suggested by Juri Linkov.
682
683 2013-12-16 Leo Liu <sdl.web@gmail.com>
684
685 * progmodes/compile.el (compile-goto-error): Do not push-mark.
686 Remove NOMSG arg and all uses changed.
687
688 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
691 (cua--deactivate-rectangle): Don't deactivate the mark.
692 (cua-set-rectangle-mark): Don't set mark-active since
693 cua--activate-rectangle already does it for us.
694 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
695 non-rectangular region.
696
697 * emulation/cua-base.el (cua-repeat-replace-region):
698 Use with-current-buffer.
699
700 * net/gnutls.el: Use cl-lib.
701 (gnutls-negotiate): `mapcan' -> cl-mapcan.
702
703 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
704
705 * emacs-lisp/package.el (package-built-in-p): Support both
706 built-in and the package.el converted package descriptions.
707 (package-show-package-list): Allow keywords.
708 (package-keyword-button-action): Use it instead of
709 `finder-list-matches'.
710 (package-menu-filter-interactive): Interactive filtering (by
711 keyword) function.
712 (package-menu--generate): Support keywords and change keymappings
713 and headers when they are given.
714 (package--has-keyword-p): Helper function.
715 (package-menu--refresh): Use it.
716 (package--mapc): Helper function.
717 (package-all-keywords): Use it.
718 (package-menu-mode-map): Set up menu items and keybindings to
719 provide a filtering UI.
720
721 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
722
723 * net/gnutls.el (gnutls-verify-error): New defcustom to control
724 the behavior when a certificate fails validation. Defaults to
725 old behavior: never abort, just warn.
726 (gnutls-negotiate): Use it.
727
728 2013-12-14 Martin Rudalics <rudalics@gmx.at>
729
730 * window.el (display-buffer-below-selected): Never split window
731 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
732
733 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
734
735 * emacs-lisp/package.el (package--prepare-dependencies): New function.
736 (package-buffer-info): Use it (bug#15108).
737
738 * icomplete.el (icomplete-completions): Make sure the prefix is already
739 displayed elsewhere before hiding it.
740
741 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
742
743 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
744 open-paren tokens when preceded by a open-paren, too.
745 (ruby-smie-rules): Handle virtual indentation after open-paren
746 tokens specially. If there is code between it and eol, return the
747 column where is starts (Bug#16118).
748
749 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
750
751 * progmodes/cfengine.el: Fix `add-hook' doc.
752 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
753 (cfengine3--current-word): Fix parameters.
754 (cfengine3-make-syntax-cache): Simplify further.
755 (cfengine3-completion-function, cfengine3--current-function):
756 Use `assq' for symbols.
757 (cfengine3--current-function): Fix `cfengine3--current-word' call.
758
759 2013-12-13 Glenn Morris <rgm@gnu.org>
760
761 * loadup.el (load-path): Warn if site-load or site-init changes it.
762 No more need to reset it when bootstrapping.
763
764 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
765
766 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
767 locations for cf-promises.
768 (cfengine-mode-syntax-functions-regex): New caching variable.
769 (cfengine3-fallback-syntax): Fallback syntax for cases where
770 cf-promises doesn't run.
771 (cfengine3--current-word): Reimplement using
772 `cfengine-mode-syntax-functions-regex'.
773 (cfengine3-completion-function, cfengine3--current-function):
774 Use `cfengine3-make-syntax-cache' directly.
775 (cfengine3-clear-syntax-cache): New function.
776 (cfengine3-make-syntax-cache): Simplify and create
777 `cfengine-mode-syntax-functions-regex' on demand.
778 (cfengine3-format-function-docstring): Don't call
779 `cfengine3-make-syntax-cache' explicitly.
780
781 2013-12-13 Martin Rudalics <rudalics@gmx.at>
782
783 Fix windmove-find-other-window broken after pixelwise resizing
784 (Bug#16017).
785 * windmove.el (windmove-other-window-loc): Revert change from
786 2013-12-04.
787 (windmove-find-other-window): Call window-in-direction.
788 * window.el (window-in-direction): New arguments SIGN, WRAP and
789 MINI to emulate original windmove-find-other-window behavior.
790
791 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
792
793 * simple.el (blink-matching--overlay): New variable.
794 (blink-matching-open): Instead of moving point, highlight the
795 matching paren with an overlay
796 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
797
798 * faces.el (paren-showing-faces, show-paren-match)
799 (show-paren-mismatch): Move from paren.el.
800
801 2013-12-13 Leo Liu <sdl.web@gmail.com>
802
803 * indent.el (indent-region): Disable progress reporter in
804 minibuffer. (Bug#16108)
805
806 * bindings.el (visual-order-cursor-movement): Fix version.
807
808 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
809
810 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
811 Also match after beginning of line.
812 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
813 files. Thanks to Russell Sim. (Bug#15378)
814
815 2013-12-13 Juri Linkov <juri@jurta.org>
816
817 * simple.el <Keypad support>: Remove key bindings duplicated
818 with bindings.el. (Bug#14397)
819
820 2013-12-13 Juri Linkov <juri@jurta.org>
821
822 * comint.el (comint-mode-map): Replace `delete-char' with
823 `delete-forward-char'. (Bug#16109)
824
825 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
826
827 * progmodes/python.el (python-indent-calculate-indentation):
828 Fix de-denters cornercase. (Bug#15731)
829
830 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
833 (advice--make): Pay attention to `depth'.
834 (advice--make-1): Don't autoload commands eagerly.
835 * emacs-lisp/elp.el (elp-instrument-function):
836 * emacs-lisp/trace.el (trace-function-internal):
837 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
838
839 * iswitchb.el (iswitchb-mode): Don't belittle ido.
840
841 2013-12-12 Eli Zaretskii <eliz@gnu.org>
842
843 * term/w32-win.el (w32-handle-dropped-file):
844 * startup.el (normal-top-level):
845 * net/browse-url.el (browse-url-file-url):
846 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
847 decode file names using 'utf-8' rather than
848 file-name-coding-system.
849
850 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
851
852 * progmodes/python.el (python-indent-context)
853 (python-indent-calculate-indentation): Fix auto-identation
854 behavior for comment blocks. (Bug#15916)
855
856 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
857
858 * progmodes/python.el (python-indent-calculate-indentation):
859 When determining indentation, don't treat "return", "pass", etc., as
860 operators when they are just string constituents. (Bug#15812)
861
862 2013-12-12 Juri Linkov <juri@jurta.org>
863
864 * uniquify.el (uniquify-buffer-name-style): Change default to
865 `post-forward-angle-brackets'.
866
867 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
868 `uniquify'. Change default to `post-forward-angle-brackets'.
869
870 2013-12-11 Glenn Morris <rgm@gnu.org>
871
872 * emacs-lisp/package.el (finder-list-matches):
873 Autoload rather than falsely declaring.
874
875 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
876
877 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
878 (eww-mode-map): Use them.
879
880 2013-12-11 Martin Rudalics <rudalics@gmx.at>
881
882 * window.el (display-buffer-in-side-window): Fix doc-string
883 (Bug#16115).
884
885 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
886
887 * vc/vc-git.el: Silence byte-compiler warnings.
888 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
889 (log-edit-set-header): Declare.
890
891 2013-12-11 Eli Zaretskii <eliz@gnu.org>
892
893 * Makefile.in (custom-deps, finder-data): Run output file names
894 through unmsys--file-name. (Bug#16099)
895
896 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
897
898 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
899 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
900
901 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
902 instead of deleting the selection "by hand" (bug#16098).
903 Rely on insert-for-yank to yank rectangles.
904 (cua-highlight-region-shift-only): Mark obsolete.
905 (cua-mode): Don't enable/disable transient-mark-mode,
906 shift-select-mode (cua-mode works both with and without them), and
907 pc-selection-mode (obsolete).
908 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
909 (cua--deactivate-rectangle): Deactivate it.
910
911 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
912 (delete-selection-helper): Make sure yank starts at the top of the
913 deleted region.
914 (minibuffer-keyboard-quit): Use region-active-p.
915
916 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
917
918 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
919 to `delete' (bug#16109).
920
921 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
922
923 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
924 info manual and show keybindings and set `:group' keyword.
925
926 2013-12-11 Juri Linkov <juri@jurta.org>
927
928 * delsel.el (delete-active-region): Let-bind `this-command'
929 to prevent `kill-region' from changing its original value.
930 (delete-selection-helper): Handle `overwrite-mode' for the type
931 `kill' exactly the same way as for the type `t'.
932 (insert-char, quoted-insert, reindent-then-newline-and-indent):
933 Support more commands. (Bug#13312)
934
935 2013-12-11 Juri Linkov <juri@jurta.org>
936
937 * bindings.el: Map kp keys to non-kp keys systematically
938 with basic modifiers control, meta and shift. (Bug#14397)
939
940 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
941
942 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
943 "Close browser" menu items. Fix wrong function of "List
944 bookmarks".
945
946 2013-12-11 Juri Linkov <juri@jurta.org>
947
948 * misearch.el (multi-isearch-buffers): Set the value of
949 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
950 arg of isearch-forward to t.
951 (multi-isearch-buffers-regexp): Set the value of
952 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
953 arg of isearch-forward-regexp to t.
954 (multi-isearch-files): Set the value of
955 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
956 arg of isearch-forward to t.
957 (multi-isearch-files-regexp): Set the value of
958 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
959 arg of isearch-forward-regexp to t. (Bug#16035)
960
961 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
962 arg of isearch-forward to t.
963 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
964 arg of isearch-forward-regexp to t.
965 (dired-isearch-filter-filenames): Remove unnecessary check for
966 `dired-isearch-filenames'.
967
968 * comint.el (comint-history-isearch-backward):
969 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
970 (comint-history-isearch-backward-regexp):
971 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
972
973 2013-12-10 Eli Zaretskii <eliz@gnu.org>
974
975 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
976 unmsys--file-name. (Bug#16099)
977
978 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
979
980 * emacs-lisp/package.el (package-keyword-button-action):
981 Remove finder.el require dependency.
982
983 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
984
985 * emacs-lisp/package.el: Require finder.el.
986 (describe-package-1): Add keyword buttons.
987 (package-make-button): New convenience function.
988 (package-keyword-button-action): Keyword button action using
989 `finder-list-matches'.
990
991 2013-12-09 Eli Zaretskii <eliz@gnu.org>
992
993 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
994 last commit.
995
996 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
997
998 * autorevert.el (auto-revert-notify-add-watch): Do not handle
999 symlinked files.
1000
1001 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1002
1003 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1004 after the end of a percent literal.
1005
1006 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1007
1008 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1009 Handle caret-delimited strings (Bug#16079).
1010
1011 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1012
1013 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1014 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1015 `ruby-parse-partial' (Bug#16078).
1016
1017 2013-12-09 Leo Liu <sdl.web@gmail.com>
1018
1019 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1020
1021 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1022
1023 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1024 (js-switch-indent-offset): New option.
1025 (js--proper-indentation): Use it. And handle the case when
1026 "default" is actually a key in an object literal.
1027 (js--same-line): New function.
1028 (js--multi-line-declaration-indentation): Use it.
1029 (js--indent-in-array-comp, js--array-comp-indentation):
1030 New functions.
1031 (js--proper-indentation): Use them, to handle array comprehension
1032 continuations.
1033
1034 2013-12-08 Leo Liu <sdl.web@gmail.com>
1035
1036 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1037 (flymake-make-overlay): Remove arg MOUSE-FACE.
1038 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1039
1040 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1041
1042 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1043 New function.
1044 (redisplay-highlight-region-function): Use it.
1045
1046 * emulation/cua-base.el (cua--explicit-region-start)
1047 (cua--last-region-shifted): Remove.
1048 (cua--deactivate): Use deactivate-mark.
1049 (cua--pre-command-handler-1): Don't handle shift-selection.
1050 (cua--post-command-handler-1): Don't change transient-mark-mode.
1051 (cua--select-keymaps): Use region-active-p rather than
1052 cua--explicit-region-start or cua--last-region-shifted.
1053 (cua-mode): Enable shift-select-mode.
1054
1055 2013-12-08 Leo Liu <sdl.web@gmail.com>
1056
1057 * progmodes/flymake.el (flymake-popup-current-error-menu):
1058 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1059 (flymake-posn-at-point-as-event, flymake-popup-menu)
1060 (flymake-make-emacs-menu): Remove. (Bug#16077)
1061
1062 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1063
1064 * rect.el (rectangle-mark-mode): Activate mark even if
1065 transient-mark-mode is off (bug#16066).
1066 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1067 is > mark and at bolp.
1068
1069 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1070 (region-extract-function): Use it.
1071 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1072 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1073 Delete functions.
1074 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1075 kill-ring-save, kill-region, delete-char, delete-forward-char.
1076 Ignore self-insert-iso.
1077
1078 * emulation/cua-gmrk.el (cua--init-global-mark):
1079 Ignore `self-insert-iso'.
1080
1081 * emulation/cua-base.el (cua--prefix-copy-handler)
1082 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1083 checking cua--rectangle.
1084 (cua-delete-region): Use region-extract-function.
1085 (cua-replace-region): Delete function.
1086 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1087 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1088 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1089 (cua--init-keymaps): Don't remap delete-selection commands.
1090 (cua-mode): Use delete-selection-mode instead of rolling our own
1091 (bug#16085).
1092
1093 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1094 Obey region-extract-function.
1095
1096 Make registers and delete-selection-mode work on rectangles.
1097 * register.el (describe-register-1): Don't modify the register's value.
1098 (copy-to-register): Obey region-extract-function.
1099 * delsel.el (delete-active-region): Obey region-extract-function.
1100
1101 2013-12-08 Leo Liu <sdl.web@gmail.com>
1102
1103 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1104 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1105 (flymake-compilation-prevents-syntax-check)
1106 (flymake-start-syntax-check-on-newline)
1107 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1108 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1109 (flymake-xml-program, flymake-master-file-dirs)
1110 (flymake-master-file-count-limit)
1111 (flymake-allowed-file-name-masks): Relocate.
1112 (flymake-makehash, flymake-float-time)
1113 (flymake-replace-regexp-in-string, flymake-split-string)
1114 (flymake-get-temp-dir): Remove.
1115 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1116 (flymake-current-row, flymake-selected-frame)
1117 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1118 related functions. (Bug#16077)
1119
1120 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1121
1122 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1123
1124 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1125
1126 * help-fns.el (describe-function-1): Use new advice-* functions
1127 rather than old ad-* functions. Fix function type description and
1128 source links for advised functions and subrs.
1129
1130 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1131
1132 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1133
1134 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1135
1136 * progmodes/compile.el (compilation-start):
1137 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1138
1139 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1140 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1141
1142 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1143
1144 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1145 Touch up the last change.
1146
1147 2013-12-06 Leo Liu <sdl.web@gmail.com>
1148
1149 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1150 (inferior-octave-startup): Always use "octave> " for prompt.
1151 (octave-goto-function-definition)
1152 (octave-sync-function-file-names)
1153 (octave-find-definition-default-filename): Remove redundant backquotes.
1154
1155 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1156
1157 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1158 syntax for `?'.
1159 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1160 where appropriate already.
1161 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1162 end of method names (Bug#15874).
1163
1164 2013-12-06 Juri Linkov <juri@jurta.org>
1165
1166 * isearch.el (isearch--saved-overriding-local-map):
1167 New internal variable.
1168 (isearch-mode): Set it to the initial value of
1169 `overriding-terminal-local-map'.
1170 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1171 with `isearch--saved-overriding-local-map'. (Bug#16035)
1172
1173 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1174
1175 * progmodes/octave.el (inferior-octave-completion-table):
1176 Turn back into function, use `completion-table-with-cache'
1177 (Bug#11906). Update all references.
1178
1179 * minibuffer.el (completion-table-with-cache): New function.
1180
1181 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1182
1183 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1184
1185 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1186
1187 * net/eww.el (eww-current-source): New variable to store page
1188 source.
1189 (eww-display-html, eww-mode, eww-save-history)
1190 (eww-restore-history): Use it.
1191 (eww-view-source): New command to view page source.
1192 Opportunistically uses `html-mode' to highlight the buffer.
1193 (eww-mode-map): Install it.
1194
1195 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1196
1197 * net/dbus.el (dbus-unregister-service)
1198 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1199 Fix docstring.
1200 (dbus-unregister-service): Skip :serial entries in
1201 `dbus-registered-objects-table'.
1202 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1203
1204 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1205
1206 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1207 around keywords with extra `split-string' argument.
1208
1209 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1210
1211 * windmove.el (windmove-other-window-loc): Handle navigation
1212 between windows (excluding the minibuffer window - Bug#16017).
1213
1214 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1215
1216 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1217 in D-Bus type syntax.
1218 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1219 preserve unibyte strings. (Bug#16048)
1220
1221 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1224 Call force-mode-line-update is the proper buffer (bug#16042).
1225
1226 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1227
1228 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1229 `log-edit-remember-comment', make argument optional. Adjust all
1230 callers.
1231 (log-edit-mode): Add `log-edit-remember-comment' to
1232 `kill-buffer-hook' locally.
1233 (log-edit-kill-buffer): Don't remember comment explicitly since
1234 the buffer is killed anyway.
1235
1236 2013-12-04 Juri Linkov <juri@jurta.org>
1237
1238 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1239 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1240
1241 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1242
1243 * notifications.el (notifications-close-notification): Call the
1244 D-Bus method with ID being a `:uint32'. (Bug#16030)
1245
1246 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1247
1248 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1249
1250 2013-12-03 Juri Linkov <juri@jurta.org>
1251
1252 * progmodes/compile.el (compilation-start): Rename window alist
1253 entry `no-display-ok' to `allow-no-window'.
1254
1255 * simple.el (shell-command): Add window alist entry
1256 `allow-no-window' to `display-buffer'.
1257 (async-shell-command): Doc fix.
1258
1259 * window.el (display-buffer-no-window): New action function.
1260 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1261
1262 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1263
1264 * vc/log-edit.el (log-edit-set-header): Extract from
1265 `log-edit-toggle-header'.
1266 (log-edit-extract-headers): Separate the summary, when extracted
1267 from header, from the rest of the message with an empty line.
1268
1269 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1270 line, if present, to the Summary header.
1271
1272 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1275 in current-buffer (bug#16029).
1276
1277 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1278
1279 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1280 (debugger-mode-map): Bind it.
1281 (debugger--backtrace-base): New function.
1282 (debugger-eval-expression): Use it.
1283 (debugger-frame-number): Skip local vars when present.
1284 (debugger--locals-visible-p, debugger--insert-locals)
1285 (debugger--show-locals, debugger--hide-locals): New functions.
1286
1287 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1288
1289 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1290 "LC_ALL".
1291 (tramp-get-remote-locale): New defun.
1292 (tramp-open-connection-setup-interactive-shell): Use it.
1293
1294 2013-12-02 Leo Liu <sdl.web@gmail.com>
1295
1296 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1297
1298 * progmodes/sh-script.el (sh-shell-process):
1299 * progmodes/octave.el (inferior-octave-process-live-p):
1300 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1301 (gdb-inferior-io-sentinel):
1302 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1303
1304 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1305
1306 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1307 `save-selected-window' to `log-edit-hide-buf'. This makes
1308 `log-edit-show-files' idempotent.
1309 (log-edit-show-files): Mark the new window as dedicated.
1310
1311 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1312
1313 * vc/log-edit.el (log-edit-mode-map): Add binding for
1314 `log-edit-kill-biffer'.
1315 (log-edit-hide-buf): Add a FIXME comment.
1316 (log-edit-add-new-comment): New function, extracted from
1317 `log-edit-done'.
1318 (log-edit-done, log-edit-add-to-changelog): Use it.
1319 (log-edit-kill-buffer): New command.
1320
1321 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1322
1323 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1324 instead of killing the buffer.
1325
1326 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1327
1328 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1329
1330 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1331
1332 * net/eww.el (eww-form-checkbox-selected-symbol)
1333 (eww-form-checkbox-symbol): New customizable variable.
1334 (eww-form-checkbox, eww-toggle-checkbox):
1335 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1336
1337 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1338 (shr--get-media-pref, shr--extract-best-source): New function.
1339 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1340 no :src tag was specified.
1341
1342 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1343 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1344 Use \\` to match beginning of string instead of ^.
1345 (eww-browse-with-external-browser): Provide optional URL parameter.
1346 (eww-render): Set `eww-current-title' back to "".
1347
1348 * net/shr.el (shr-tag-video): Display content for video if no
1349 poster is available.
1350 (shr-tag-audio): Add support for <audio> tag.
1351
1352 * net/eww.el (eww-text-input-types): New const.
1353 (eww-process-text-input): Treat input types in
1354 `eww-text-input-types' as text.
1355
1356 * net/shr.el (shr-tag-table): Fix comment typo.
1357
1358 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1359
1360 * net/eww.el (eww-follow-link): New command to avoid reloading
1361 pages when we follow #target links (bug#15243).
1362 (eww-quit): Special mode buffers shouldn't query before exiting.
1363
1364 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1365
1366 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1367 forms.
1368
1369 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1370
1371 * net/eww.el (eww-restore-history): Update the window title after
1372 moving in the history.
1373 (eww-current-dom): New variable used to save the current DOM.
1374
1375 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1376
1377 * vc/log-edit.el (log-edit-mode-map): Add binding for
1378 `log-edit-beginning-of-line'.
1379 (log-edit-setup-add-author): New user option.
1380 (log-edit-beginning-of-line): New command.
1381 (log-edit): Move major mode call above the contents setup so that
1382 the local variable values are already applied.
1383 (log-edit): Only insert "Author: " when
1384 `log-edit-setup-add-author' is non-nil.
1385 (log-edit): When SETUP is non-nil, position point after ": "
1386 instead of point-min.
1387
1388 2013-12-01 Glenn Morris <rgm@gnu.org>
1389
1390 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1391
1392 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1393
1394 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1395 redisplay to make sure the initial frame gets a chance to become
1396 visible. (Bug#16014)
1397
1398 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1399
1400 Support resizing frames and windows pixelwise.
1401 * cus-start.el (frame-resize-pixelwise)
1402 (window-resize-pixelwise): New entries.
1403 * emacs-lisp/debug.el (debug): Use window-total-height instead
1404 of window-total-size.
1405 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1406 * help.el (describe-bindings-internal): Call help-buffer
1407 (temp-buffer-max-width): New option.
1408 (resize-temp-buffer-window, help-window-setup)
1409 (with-help-window): Rewrite.
1410 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1411 dragging dividers.
1412 * window.el (frame-char-size, window-min-pixel-height)
1413 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1414 (window-min-pixel-width, window-safe-min-pixel-size)
1415 (window-combination-p, window-safe-min-size)
1416 (window-resizable-p, window--size-to-pixel)
1417 (window--pixel-to-size, window--resize-apply-p): New functions.
1418 (window-safe-min-height): Fix doc-string.
1419 (window-size, window-min-size, window--min-size-1)
1420 (window-sizable, window-sizable-p, window--min-delta-1)
1421 (window-min-delta, window--max-delta-1, window-max-delta)
1422 (window--resizable, window--resizable-p, window-resizable)
1423 (window-full-height-p, window-full-width-p, window-at-side-p)
1424 (window--in-direction-2, window-in-direction)
1425 (window--resize-reset-1, window--resize-mini-window)
1426 (window-resize, window-resize-no-error)
1427 (window--resize-child-windows-normal)
1428 (window--resize-child-windows, window--resize-siblings)
1429 (window--resize-this-window, window--resize-root-window)
1430 (window--resize-root-window-vertically)
1431 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1432 (maximize-window, minimize-window, delete-window)
1433 (quit-restore-window, window-split-min-size, split-window)
1434 (balance-windows-2, balance-windows)
1435 (balance-windows-area-adjust, balance-windows-area)
1436 (window--state-get-1, window-state-get, window--state-put-1)
1437 (window--state-put-2, window-state-put)
1438 (display-buffer-record-window, window--display-buffer):
1439 Make functions handle pixelwise sizing of windows.
1440 (display-buffer--action-function-custom-type)
1441 (display-buffer-fallback-action):
1442 Add display-buffer-in-previous-window.
1443 (display-buffer-use-some-window): Resize window to height it had
1444 before.
1445 (fit-window-to-buffer-horizontally): New option.
1446 (fit-frame-to-buffer): Describe new values.
1447 (fit-frame-to-buffer-bottom-margin): Replace with
1448 fit-frame-to-buffer-margins.
1449 (window--sanitize-margin): New function.
1450 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1451 using window-text-pixel-size.
1452
1453 2013-11-30 Glenn Morris <rgm@gnu.org>
1454
1455 * emacs-lisp/bytecomp.el (byte-compile-form):
1456 Make the `interactive-only' warning like the `obsolete' one.
1457 * comint.el (comint-run):
1458 * files.el (insert-file-literally, insert-file):
1459 * replace.el (replace-string, replace-regexp):
1460 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1461 (goto-line, insert-buffer, next-line, previous-line):
1462 Tweak `interactive-only' spec.
1463
1464 Stop keeping (most) generated cedet grammar files in the repository.
1465 * Makefile.in (semantic): New.
1466 (compile-main): Depend on semantic.
1467
1468 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1469
1470 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1471 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1472
1473 * uniquify.el (uniquify-buffer-name-style): Change default.
1474
1475 * loadup.el: Preload "uniquify".
1476
1477 * time.el (display-time-update): Update all mode lines (bug#15999).
1478
1479 * electric.el (electric-indent-mode): Enable by default.
1480 * loadup.el: Preload "electric".
1481
1482 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1483
1484 * emacs-lisp/helpers.el (string-empty-p): New function.
1485 (string-blank-p): New function.
1486
1487 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1488
1489 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1490 (Bug#14029).
1491
1492 2013-11-29 Andreas Politz <politza@fh-trier.de>
1493 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1494 allow non-lambda lists as functions.
1495 (imenu--in-alist): Don't recurse into non-subalists.
1496 (imenu): Don't pass function itself as an argument (Bug#14029).
1497
1498 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * progmodes/python.el (python-mode-map): Remove binding for ":".
1501 (python-indent-electric-colon): Remove command.
1502 (python-indent-post-self-insert-function): Integrate the previous code
1503 of python-indent-electric-colon. Make it conditional on
1504 electric-indent-mode.
1505 (python-mode): Add ?: to electric-indent-chars.
1506 Move python-indent-post-self-insert-function to the end of
1507 post-self-insert-hook.
1508
1509 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1510
1511 * doc-view.el (doc-view-goto-page): Update mode-line.
1512
1513 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1514
1515 2013-11-27 Glenn Morris <rgm@gnu.org>
1516
1517 * international/charprop.el, international/uni-bidi.el:
1518 * international/uni-category.el, international/uni-combining.el:
1519 * international/uni-comment.el, international/uni-decimal.el:
1520 * international/uni-decomposition.el, international/uni-digit.el:
1521 * international/uni-lowercase.el, international/uni-mirrored.el:
1522 * international/uni-name.el, international/uni-numeric.el:
1523 * international/uni-old-name.el, international/uni-titlecase.el:
1524 * international/uni-uppercase.el:
1525 Remove generated files from VCS repository.
1526
1527 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1528
1529 * filenotify.el (file-notify-add-watch): Don't special-case
1530 w32notify when computing the directory to watch.
1531
1532 2013-11-27 Glenn Morris <rgm@gnu.org>
1533
1534 Make bootstrap without generated uni-*.el files possible again.
1535 * loadup.el: Update command-line-args checking for unidata-gen.
1536 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1537 * composite.el, international/characters.el:
1538 Handle unicode tables being undefined.
1539
1540 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1541 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1542 (compile-main): Depend on leim rule.
1543 (leim): New rule.
1544 * loadup.el: Move leim-list.el to leim/ subdirectory.
1545 * startup.el (normal-top-level): No more leim directory.
1546 * international/ja-dic-cnv.el (skkdic-convert):
1547 Disable version-control and autoloads in output files.
1548 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1549 Disable version-control and autoloads in output files.
1550 * leim/quail: Move here from ../leim.
1551 * leim/quail/hangul.el (hangul-input-method-activate):
1552 Add autoload cookie.
1553 (generated-autoload-load-name): Set file-local value.
1554 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1555 (generated-autoload-load-name): Set file-local value.
1556
1557 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1558
1559 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1560 (eww-add-bookmark): Ask confirmation when add to bookmarks
1561 (eww-quit): Ask confirmation before quitting eww.
1562
1563 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1564
1565 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1566 reading output from Diff on MS-Windows and MS-DOS.
1567
1568 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1569
1570 * emacs-lisp/helpers.el (string-reverse): New function.
1571
1572 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1573
1574 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1575 names on MS Windows, like "/[::1]:".
1576
1577 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1578 SWITCHES.
1579
1580 2013-11-26 Glenn Morris <rgm@gnu.org>
1581
1582 * progmodes/python.el (python-indent-guess-indent-offset):
1583 Avoid corner-case error. (Bug#15975)
1584
1585 Preload leim-list.el. (Bug#4789)
1586 * loadup.el: Load leim-list.el when found.
1587 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1588
1589 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1590
1591 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1592
1593 * emacs-lisp/helpers.el (string-join): New function.
1594
1595 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1596
1597 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1598 Mark as obsolete and replace it with a symbol property.
1599 (byte-compile-form): Use new 'interactive-only property.
1600 * comint.el, files.el, replace.el, simple.el:
1601 Apply new 'interactive-only properly.
1602
1603 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1604
1605 * window.el (display-buffer-at-bottom): Make sure that
1606 split-window-sensibly creates the new window on bottom
1607 (Bug#15961).
1608
1609 2013-11-23 David Kastrup <dak@gnu.org>
1610
1611 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1612 on the conflict markers when available.
1613 (smerge--get-marker): New function.
1614 (smerge-end-re, smerge-base-re): Add subgroup.
1615
1616 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1617
1618 * frame.el (handle-focus-in, handle-focus-out): Add missing
1619 interactive spec.
1620
1621 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1622
1623 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1624 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1625
1626 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1627
1628 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1629 (gomoku--last-pos): New var.
1630 (gomoku--intangible-chars): New const.
1631 (gomoku--intangible): New function.
1632 (gomoku-mode): Use it. Derive from special-mode.
1633 (gomoku-move-up): Adjust line count.
1634 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1635 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1636 Simplify accordingly.
1637
1638 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1639 Remove blink-cursor code.
1640 (blink-cursor-timer-function, blink-cursor-suspend):
1641 Don't special-case GUIs.
1642 (blink-cursor-mode): Use focus-in/out-hook.
1643
1644 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1645
1646 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1647 work when annotation is invisible (Bug#13886).
1648
1649 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1650
1651 * json.el (json-alist-p): Only return non-nil if the alist has
1652 simple keys (Bug#13518).
1653
1654 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1655
1656 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1657 when control-statement is the first statement in a buffer (Bug#15956).
1658
1659 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1660
1661 * imenu.el (imenu-generic-skip-comments-and-strings):
1662 New option (Bug#15560).
1663 (imenu--generic-function): Use it.
1664
1665 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1666
1667 * minibuffer.el (completion--in-region-1): Scroll the correct
1668 window. (Bug#13898)
1669
1670 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1671
1672 * emacs-lisp/helpers.el: Add some string helpers.
1673 (string-trim-left): Removes leading whitespace.
1674 (string-trim-right): Removes trailing whitespace.
1675 (string-trim): Removes leading and trailing whitespace.
1676
1677 * subr.el (string-suffix-p): New function.
1678
1679 2013-11-23 Glenn Morris <rgm@gnu.org>
1680
1681 * progmodes/python.el (python-shell-send-file):
1682 Add option to delete file when done. (Bug#15647)
1683 (python-shell-send-string, python-shell-send-region): Use it.
1684
1685 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1686
1687 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1688 to set buffer-read-only to t, never to nil. (Bug#15938)
1689
1690 * textmodes/tex-mode.el (latex-noindent-environments):
1691 Add safe-local-variable property. (Bug#15936)
1692
1693 2013-11-23 Glenn Morris <rgm@gnu.org>
1694
1695 * textmodes/enriched.el (enriched-mode): Doc fix.
1696 * emacs-lisp/authors.el (authors-renamed-files-alist):
1697 Add enriched.doc -> enriched.txt.
1698
1699 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1700
1701 2013-11-22 Leo Liu <sdl.web@gmail.com>
1702
1703 * progmodes/octave.el (inferior-octave-startup): Spit out error
1704 message.
1705
1706 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1707
1708 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1709 Improve docstring.
1710 Add :version.
1711 (ruby-encoding-magic-comment-style): Add :version.
1712
1713 2013-11-22 Leo Liu <sdl.web@gmail.com>
1714
1715 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1716 (Bug#15076)
1717 (octave-help-mode): Adapt to change to help-mode-finish to use
1718 derived-mode-p on 2013-09-17.
1719 (inferior-octave-prompt): Also match octave-gui.
1720 (octave-kill-process): Don't ask twice. (Bug#10564)
1721
1722 2013-11-22 Leo Liu <sdl.web@gmail.com>
1723
1724 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1725 (inferior-octave-startup, inferior-octave-check-process)
1726 (inferior-octave-track-window-width-change)
1727 (octave-completion-at-point, octave-eldoc-function): Use it.
1728 (octave-kill-process): Provide confirmation. (Bug#10564)
1729
1730 2013-11-21 Leo Liu <sdl.web@gmail.com>
1731
1732 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1733 Fix obsolete variable comment-use-global-state.
1734
1735 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1736
1737 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1738 Add `octave-source-file'.
1739 (octave-source-file): New function. (Bug#15935)
1740
1741 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1742
1743 * net/eww.el (eww-local-regex): New variable.
1744 (eww): Use it to detect localhost and similar.
1745
1746 2013-11-21 Leo Liu <sdl.web@gmail.com>
1747
1748 Add completion for command `ag'.
1749 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1750 (pcomplete/ag): New function.
1751 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1752
1753 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1754
1755 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1756 (bug#14646).
1757 (make-obsolete): Remove interactive spec.
1758
1759 2013-11-21 Glenn Morris <rgm@gnu.org>
1760
1761 * startup.el (command-line-1): Use path-separator with -L.
1762
1763 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1764
1765 * emacs-lisp/package.el (describe-package-1): Add package archive
1766 to shown fields.
1767
1768 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1769
1770 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1771 Change default to "# encoding: %s" to differentiate it from the
1772 default Ruby encoding comment template.
1773
1774 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1775
1776 * ses.el (ses-mode): Doc fix. (Bug#14748)
1777
1778 2013-11-20 Leo Liu <sdl.web@gmail.com>
1779
1780 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1781
1782 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1783
1784 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1785 when rebase or bisect are in progress.
1786
1787 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1788
1789 * filenotify.el (file-notify-add-watch): Doc fix.
1790
1791 2013-11-19 Leo Liu <sdl.web@gmail.com>
1792
1793 * obsolete/rcompile.el: Mark obsolete.
1794
1795 * progmodes/compile.el (compilation-start)
1796 (compilation-goto-locus, compilation-find-file):
1797 Pass no-display-ok and handle nil value from display-buffer.
1798 (Bug#13594)
1799
1800 * window.el (display-buffer-alist, display-buffer): Document the
1801 new parameter no-display-ok. Return either a window or nil
1802 but never a non-window value.
1803
1804 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1805
1806 * electric.el (electric-indent-mode-map): Remove.
1807 (electric-indent-mode): Change the global-map instead (bug#15915).
1808
1809 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1810 Use add-function.
1811
1812 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1813
1814 * emacs-lisp/nadvice.el (remove-function): Align with
1815 add-function's behavior.
1816
1817 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1818 (gdb--string-regexp): New constant.
1819 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1820 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1821 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1822 submatch 1.
1823 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1824 Adjust use accordingly.
1825 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1826
1827 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1828
1829 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1830 interpolation curlies (Bug#15914).
1831
1832 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1833
1834 * calc/calc.el (calc-context-sensitive-enter): New variable.
1835 (calc-enter): Use `calc-context-sensitive-enter'.
1836
1837 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1838
1839 * progmodes/cfengine.el: Version bump.
1840 (cfengine-cf-promises): New defcustom to locate cf-promises.
1841 (cfengine3-vartypes): Add new "data" type.
1842 (cfengine3--current-word): New function to get current name-like
1843 word or its bounds.
1844 (cfengine3--current-function): New function to look up a CFEngine
1845 function's definition.
1846 (cfengine3-format-function-docstring): New function.
1847 (cfengine3-make-syntax-cache): New function.
1848 (cfengine3-documentation-function): New function: ElDoc glue.
1849 (cfengine3-completion-function): New function: completion glue.
1850 (cfengine3-mode): Set `compile-command',
1851 `eldoc-documentation-function', and add to
1852 `completion-at-point-functions'.
1853
1854 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1855
1856 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1857 `tramp-current-connection'.
1858
1859 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1860
1861 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1862 nil/self/true/false with "end of symbol".
1863
1864 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1865
1866 * subr.el (version-regexp-alist): Fix a typo.
1867
1868 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1869
1870 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1871 "en_US.utf8" and "LC_CTYPE" to "".
1872 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1873 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1874
1875 2013-11-15 Leo Liu <sdl.web@gmail.com>
1876
1877 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1878
1879 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1880
1881 * progmodes/gud.el (ctl-x-map):
1882 Remove C-x SPC binding. (Bug#12342)
1883 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1884
1885 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1886
1887 * subr.el (version-regexp-alist):
1888 Recognize hg, svn and darcs versions as snapshot versions.
1889
1890 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1891 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1892 (ruby--encoding-comment-required-p): Extract from
1893 `ruby-mode-set-encoding'.
1894 (ruby-mode-set-encoding): Add the ability to always insert an
1895 utf-8 encoding comment. Fix and simplify coding comment update
1896 logic.
1897
1898 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1899
1900 * net/tramp-gvfs.el (top): Run init code only when
1901 `tramp-gvfs-enabled' is not nil.
1902 (tramp-gvfs-enabled): Check also :system bus.
1903
1904 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1905
1906 Sync with upstream verilog-mode revision 78e66ba.
1907 * progmodes/verilog-mode.el (verilog-end-of-defun)
1908 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1909 (verilog-get-end-of-defun): Remove unused argument.
1910 (verilog-comment-depth): Remove unused local `e'.
1911 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1912 Don't pass arg to verilog-get-end-of-defun.
1913
1914 2013-11-14 Glenn Morris <rgm@gnu.org>
1915
1916 * obsolete/assoc.el (aget): Prefix dynamic variable.
1917
1918 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1919
1920 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * widget.el, hfy-cmap.el: Remove bogus package version number.
1923
1924 2013-11-13 Glenn Morris <rgm@gnu.org>
1925
1926 * replace.el (replace-eval-replacement):
1927 Try to give more helpful error message. (Bug#15836)
1928
1929 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1930 (archive-7z-update): Avoid custom type mismatches.
1931
1932 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1933
1934 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1935
1936 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1937 address can be empty.
1938
1939 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1940 Accept nil SWITCHES.
1941 (tramp-gvfs-handle-write-region): Implement APPEND.
1942
1943 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1944
1945 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1946 binary "|" operator and closing block args delimiter.
1947 Remove FIXME comment referring to Ruby 1.8-only syntax.
1948 (ruby-smie--implicit-semi-p): Not after "|" operator.
1949 (ruby-smie--closing-pipe-p): New function.
1950 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1951 (ruby-smie-rules): Indent after "|".
1952
1953 2013-11-12 Glenn Morris <rgm@gnu.org>
1954
1955 * ps-print.el (ps-face-attribute-list):
1956 Handle anonymous faces. (Bug#15827)
1957
1958 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1959
1960 * window.el (display-buffer-other-frame): Fix doc-string.
1961 (Bug#15868)
1962
1963 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1964
1965 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1966
1967 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1968
1969 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1970 (tramp-sh-handle-file-local-copy): Don't write a message when
1971 saving temporary files.
1972
1973 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1974 both directories are remote.
1975 (tramp-smb-handle-directory-files): Do not return double entries.
1976 Do not expand full file names.
1977 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1978 (tramp-smb-handle-write-region): Implement APPEND.
1979 (tramp-smb-get-stat-capability): Fix a stupid bug.
1980
1981 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1984
1985 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1986
1987 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1988 throwing error over malformed let/let* (bug#15814).
1989
1990 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1991
1992 * iswitchb.el (iswitchb-mode): Mark obsolete.
1993
1994 2013-11-11 Glenn Morris <rgm@gnu.org>
1995
1996 * international/uni-bidi.el, international/uni-category.el:
1997 * international/uni-name.el, international/uni-numeric.el:
1998 Regenerate for Unicode 6.3.0.
1999
2000 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2001
2002 * net/tramp.el (tramp-methods):
2003 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2004 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2005
2006 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2007
2008 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2009 Force highlighting text after Summary keyword in doc face for rpm.
2010
2011 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2012
2013 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2014 available and the word has no wildcards, append one to the grep pattern.
2015 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2016 (ispell-complete-word): Call `ispell-lookup-words' with the value
2017 independent of `ispell-look-p'.
2018
2019 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2020
2021 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2022 Not after "||".
2023 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2024 their parent.
2025
2026 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2027
2028 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2029 (ruby-font-lock-keywords): Use backquote.
2030
2031 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2032
2033 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2034 (ruby-smie--backward-token): Only consider full-string matches.
2035
2036 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2037
2038 * faces.el (describe-face): Add distant-foreground.
2039
2040 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2041
2042 * progmodes/ruby-mode.el: Improve encoding comment handling.
2043 (ruby-encoding-magic-comment-style): New option.
2044 (ruby-custom-encoding-magic-comment-template): New option.
2045 (ruby--insert-coding-comment, ruby--detect-encoding):
2046 New functions extracted from `ruby-mode-set-encoding'.
2047 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2048 to control the style of the auto-inserted encoding comment.
2049
2050 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2051
2052 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2053 Use `smie-backward-sexp' with token argument.
2054
2055 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2056
2057 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2058 Remove instrumentation code.
2059
2060 2013-11-08 Glenn Morris <rgm@gnu.org>
2061
2062 * progmodes/autoconf.el (autoconf-mode):
2063 Tweak comment-start-skip. (Bug#15822)
2064
2065 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2066
2067 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2068 at bobp (bug#15826).
2069 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2070
2071 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2072
2073 * man.el (Man-start-calling): New macro, extracted from
2074 Man-getpage-in-background.
2075 (Man-getpage-in-background): Use it.
2076 (Man-update-manpage): New command.
2077 (Man-mode-map): Bind it.
2078
2079 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2080
2081 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2082 of "and", "or", "&&" and "||".
2083 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2084 argument. Prohibit opening curly brace because it could only be a
2085 block opener in that position.
2086 (ruby-smie--forward-token, ruby-smie--backward-token):
2087 Separate "|" from "&" or "*" going after it. That can happen in block
2088 arguments.
2089 (ruby-smie--indent-to-stmt): New function, seeks the end of
2090 previous statement or beginning of buffer.
2091 (ruby-smie-rules): Use it.
2092 (ruby-smie-rules): Check if there's a ":" before a curly block
2093 opener candidate; if there is, it's a hash.
2094
2095 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2096
2097 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2098 (cl--block-wrapper): Fix last accidental change.
2099
2100 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2101
2102 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2103 Instrument, in order to hunt failure on hydra.
2104
2105 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2106
2107 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2108 malformed bindings form (bug#15814).
2109
2110 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2111
2112 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2113 "." compared to " @ ". This incidentally fixes some indentation
2114 examples with "do".
2115 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2116 (ruby-smie-grammar): New tokens: "and" and "or".
2117 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2118 Exclude "and" and "or". Remove "do" in order to work around token
2119 priorities.
2120 (ruby-smie-rules): Add all infix tokens. Handle the case of
2121 beginning-of-buffer.
2122
2123 2013-11-06 Glenn Morris <rgm@gnu.org>
2124
2125 * Makefile.in (setwins_almost, setwins_for_subdirs):
2126 Avoid accidental matches.
2127
2128 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2129
2130 * menu-bar.el (popup-menu): Use key-binding.
2131
2132 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2133
2134 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2135 menus, support also the menus produced by minor modes.
2136 (Bug#15817)
2137
2138 2013-11-06 Leo Liu <sdl.web@gmail.com>
2139
2140 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2141 DISTANCE to bound the search. All uses changed. (Bug#15808)
2142
2143 2013-11-06 Glenn Morris <rgm@gnu.org>
2144
2145 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2146 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2147 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2148
2149 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * electric.el (electric-indent-just-newline): New command.
2152 (electric-indent-mode-map): New keymap.
2153 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2154 Re-add :group which weren't redundant.
2155
2156 * electric.el (electric-indent-local-mode): New minor mode.
2157 (electric-indent-functions-without-reindent): New var.
2158 (electric-indent-post-self-insert-function): Use it.
2159 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2160
2161 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2162
2163 * international/quail.el (quail-help): Be more explicit about the
2164 meaning of the labels shown on the keys. (Bug#15800)
2165
2166 * startup.el (normal-top-level): Load the subdirs.el files before
2167 setting the locale environment. (Bug#15805)
2168
2169 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2172 via arguments so as to get the right ones (bug#15418).
2173
2174 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2175
2176 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2177
2178 Fix problems found while writing a test suite.
2179
2180 * net/tramp-compat.el (tramp-compat-load): New defun.
2181 * net/tramp.el (tramp-handle-load): Use it.
2182
2183 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2184 "(numberp ok-if-already-exists)" correctly.
2185
2186 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2187
2188 * international/characters.el (glyphless-char-display-control):
2189 Add usage note.
2190
2191 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2192
2193 * progmodes/python.el (python-mode):
2194 * progmodes/scheme.el (scheme-mode):
2195 * progmodes/prolog.el (prolog-mode):
2196 * progmodes/ruby-mode.el (ruby-mode):
2197 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2198 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2199
2200 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2201
2202 * rect.el (rectangle--highlight-for-redisplay):
2203 * emacs-lisp/smie.el (smie--next-indent-change):
2204 Use buffer-chars-modified-tick.
2205
2206 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2207
2208 * electric.el (electric-indent-post-self-insert-function):
2209 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2210
2211 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2212
2213 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2214
2215 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2216
2217 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2218 (bug#15786).
2219
2220 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2221
2222 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2223
2224 * progmodes/python.el: Fix up last change.
2225 (python-shell--save-temp-file): New function.
2226 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2227 `string' comes from the current buffer.
2228 (python-shell-send-string-no-output): Remove `msg' arg.
2229 (python--use-fake-loc): New var.
2230 (python-shell-buffer-substring): Obey it. Try to compensate for the
2231 extra coding line added by python-shell--save-temp-file.
2232 (python-shell-send-region): Use python-shell--save-temp-file and
2233 python-shell-send-file directly. Add `nomain' argument.
2234 (python-shell-send-buffer): Use python-shell-send-region.
2235 (python-electric-pair-string-delimiter): New function.
2236 (python-mode): Use it.
2237
2238 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2239
2240 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2241 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2242 environment and decoding all of the default-directory's to here
2243 from command-line.
2244 (command-line): Decode also argv[0].
2245
2246 * loadup.el: Error out if default-directory is a multibyte string
2247 when we are dumping.
2248
2249 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2250
2251 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2252
2253 * emacs-lisp/package.el (package-menu-mode)
2254 (package-menu--print-info, package-menu--archive-predicate):
2255 Add Archive column to package list.
2256
2257 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2258
2259 Fix problems found while writing a test suite.
2260
2261 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2262 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2263 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2264 to nil when running original file name handler. Otherwise,
2265 there are problems with constructs like "$$FOO".
2266
2267 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2268 for `localname'.
2269
2270 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2271
2272 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2273
2274 * subr.el (version<, version<=, version=):
2275 Update docstrings with information for snapshot versions.
2276
2277 * helpers.el: New library for misc helper functions.
2278 (hash-table-keys): New function returning a list of hash keys.
2279 (hash-table-values): New function returning a list of hash values.
2280
2281 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2282
2283 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2284 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2285
2286 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2287
2288 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2289 checking whether point is after a 1-letter word.
2290
2291 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2292
2293 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2294 Don't infloop when expanding region over `multiline' syntax-type that
2295 begins a line (bug#15778).
2296
2297 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2300 Make it into a proper minor mode.
2301 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2302 (rectangle-mark-mode-map): New keymap.
2303 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2304
2305 2013-11-04 Glenn Morris <rgm@gnu.org>
2306
2307 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2308
2309 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2310
2311 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2312 (ruby-smie-rules): Use smie-rule-parent instead.
2313
2314 * emacs-lisp/smie.el (smie-rule-parent): Always call
2315 smie-indent-virtual rather than only for hanging tokens.
2316 (smie--next-indent-change): New helper command.
2317
2318 2013-11-03 Glenn Morris <rgm@gnu.org>
2319
2320 * Makefile.in (abs_srcdir): Remove.
2321 (emacs): Unset EMACSLOADPATH.
2322
2323 2013-11-02 Glenn Morris <rgm@gnu.org>
2324
2325 * Makefile.in (EMACS): Use a relative filename.
2326 (abs_top_builddir): Remove.
2327 (custom-deps, finder-data, autoloads): Use --chdir.
2328
2329 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2330
2331 Use relative filenames in TAGS files.
2332 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2333 (lisptagsfiles4, TAGS): Use relative file names.
2334 (TAGS-LISP): Remove.
2335 (maintainer-clean): No more TAGS-LISP file.
2336
2337 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2338 (lisptagsfiles4): Use absolute filenames again.
2339 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2340 Remove all *loaddefs files, not just the first. Remove esh-groups.
2341 (maintainer-clean): Delete TAGS, TAGS-LISP.
2342
2343 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2344
2345 * emacs-lisp/package.el (package-version-join):
2346 Recognize snapshot versions.
2347
2348 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2349
2350 * subr.el (version-regexp-alist): Add support for snapshot versions.
2351
2352 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2353
2354 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2355 New function, replacement for `smie-rule-parent' for when we want to
2356 skip over our direct parent if it's an assignment token..
2357 (ruby-smie-rules): Use it.
2358
2359 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2360
2361 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2362 unconditionally. Remove now unnecessary forward declarations.
2363 Remove XEmacs-specific setup.
2364 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2365 (ruby-font-lock-syntactic-keywords)
2366 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2367 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2368 (ruby-here-doc-end-syntax): Remove.
2369 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2370 defined as function.
2371
2372 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2373
2374 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2375
2376 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2377
2378 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2379 table and abbrev table, `define-derived-mode' does that for us
2380 anyway.
2381
2382 2013-11-01 Glenn Morris <rgm@gnu.org>
2383
2384 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2385 files is atomic for some time, so no parallel compilation issues).
2386
2387 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2388
2389 * faces.el (face-x-resources): Add :distant-foreground.
2390 (region): Use :distant-foreground for gtk and ns.
2391
2392 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2393
2394 Allow multiple bibliographies when BibLaTeX is used rather than
2395 BibTeX.
2396 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2397 (reftex-locate-bibliography-files): Us it.
2398
2399 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2400
2401 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2402 allow comments in pbm files.
2403
2404 * term/w32-win.el (dynamic-library-alist): Support newer versions
2405 of libjpeg starting with v7: look only for the DLL from the
2406 version against which Emacs was built.
2407 Support versions of libpng beyond 1.4.x.
2408 Support libtiff v4.x.
2409
2410 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2411
2412 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2413 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2414 Add property :safe.
2415 (ruby-deep-arglist): Add property :type.
2416
2417 2013-10-31 Glenn Morris <rgm@gnu.org>
2418
2419 * Makefile.in (custom-deps, finder-data): No need to setq the target
2420 variables, we are in the right directory and the defaults work fine.
2421
2422 2013-10-30 Glenn Morris <rgm@gnu.org>
2423
2424 * Makefile.in (autoloads): Do not use abs_lisp.
2425
2426 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2427 `newline' does not respect `standard-output', so use `princ'.
2428
2429 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2430
2431 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2432 * buff-menu.el (Buffer-menu--unmark): New function.
2433 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2434
2435 2013-10-30 Glenn Morris <rgm@gnu.org>
2436
2437 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2438
2439 * emacs-lisp/package.el (lm-homepage): Declare.
2440
2441 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2442 Fix doc typos.
2443
2444 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2445
2446 * Makefile.in (finder-data, autoloads, update-subdirs)
2447 (compile-main, compile-clean, compile-always, bootstrap-clean):
2448 Check return value of cd.
2449 (compile-calc): Remove.
2450
2451 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2452
2453 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2454
2455 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2456 (byte-compile-and-folded): New function.
2457 (=, <, >, <=, >=): Use it.
2458
2459 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2460 (path-separator, null-device, buffer-file-coding-system)
2461 (lpr-headers-switches): Check system-type before modifying them.
2462 (find-buffer-file-type-coding-system): Mark obsolete.
2463 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2464 find-file-not-found-set-buffer-file-coding-system.
2465 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2466 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2467 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2468 (w32-direct-print-region-helper, w32-direct-print-region-function)
2469 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2470 * startup.el (normal-top-level-add-subdirs-to-load-path):
2471 * ps-print.el (ps-print-region-function):
2472 * lpr.el (print-region-function): Use new name.
2473
2474 * subr.el (custom-declare-variable-early): Remove function.
2475 (custom-declare-variable-list): Remove var.
2476 (error, user-error): Remove `while' loop.
2477 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2478 (user-emacs-directory-warning, locate-user-emacs-file):
2479 Move to files.el.
2480 * simple.el (read-quoted-char-radix, read-quoted-char):
2481 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2482 Move from subr.el.
2483 * custom.el (custom-declare-variable-list): Don't process
2484 custom-declare-variable-list.
2485
2486 * progmodes/python.el (python-shell-get-buffer): New function.
2487 (python-shell-get-process): Use it.
2488 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2489 Python which encoding was used. Don't split-string since we only care
2490 about the first line. Return the temp-file, if applicable.
2491 (python-shell-send-region): Tell compile.el how to turn locations in
2492 the temp-file into locations in the source buffer.
2493
2494 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * subr.el (undefined): Add missing behavior from the C code for
2497 unbound keys.
2498
2499 * rect.el: Use lexical-binding. Add new rectangular region support.
2500 (rectangle-mark): New command.
2501 (rectangle--region): New var.
2502 (deactivate-mark-hook): Reset rectangle--region.
2503 (rectangle--extract-region, rectangle--insert-for-yank)
2504 (rectangle--highlight-for-redisplay)
2505 (rectangle--unhighlight-for-redisplay): New functions.
2506 (region-extract-function, redisplay-unhighlight-region-function)
2507 (redisplay-highlight-region-function): Use them to handle
2508 rectangular region.
2509 * simple.el (region-extract-function): New var.
2510 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2511 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2512 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2513 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2514 (redisplay-unhighlight-region-function)
2515 (redisplay-highlight-region-function): New vars.
2516 (redisplay--update-region-highlight): New function.
2517 (pre-redisplay-function): Use it.
2518 (exchange-point-and-mark): Don't deactivate the mark before
2519 reactivate-it anyway.
2520 * comint.el (comint-kill-region): Remove yank-handler argument.
2521 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2522 (delete-char): Remove property, since it's now part of their
2523 default behavior.
2524 (self-insert-iso): Remove property since this command doesn't exist.
2525
2526 * emacs-lisp/package.el (package--download-one-archive)
2527 (describe-package-1): Don't query the user about final newline.
2528
2529 2013-10-29 Daniel Colascione <dancol@dancol.org>
2530
2531 * net/tramp.el (tramp-methods): Document new functionality.
2532 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2533 tramp-hostname-checker if method provides one instead of scanning
2534 argument list for "%h" to decide hostname acceptability.
2535
2536 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2537
2538 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2539 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2540 Handle COPY-CONTENTS. (Bug#15737)
2541
2542 2013-10-28 Daiki Ueno <ueno@gnu.org>
2543
2544 * epa-file.el
2545 (epa-file-cache-passphrase-for-symmetric-encryption):
2546 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2547
2548 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2549
2550 * image.el (defimage):
2551 (image-load-path): Doc fixes.
2552
2553 2013-10-27 Alan Mackenzie <acm@muc.de>
2554
2555 Indent statements in macros following "##" correctly.
2556 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2557 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2558
2559 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2560
2561 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2562
2563 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2564
2565 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2566 after `=' is probably a new expression.
2567
2568 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2569
2570 * man.el (man-imenu-title): New option.
2571 (Man-mode-map): Add menu. (Bug#15722)
2572 (Man-mode): Add imenu to menu.
2573
2574 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2575
2576 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2577 specific in what the first arg can be: a non-keyword word,
2578 string/regexp/percent literal opener, opening paren, or unary
2579 operator followed directly by word.
2580
2581 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2582
2583 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2584 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2585 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2586 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2587 Remove vars, they do not apply any more.
2588 (prolog-mode-abbrev-table): Remove redundant declaration.
2589 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2590 (prolog-use-smie): Remove.
2591 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2592 supported by prolog-electric-if-then-else-flag.
2593 (prolog-mode-variables, prolog-menu): Use setq-local.
2594 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2595 Remove binding to `Backspace' since this key doesn't exist anyway.
2596 Remove bindings for electric self-inserting keys.
2597 (prog-mode): Assume it's defined.
2598 (prolog-post-self-insert): New function.
2599 (prolog-mode): Use it.
2600 (prolog-indent-line, prolog-indent-level)
2601 (prolog-find-indent-of-matching-paren)
2602 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2603 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2604 (prolog-goto-next-paren, prolog-in-string-or-comment)
2605 (prolog-tokenize, prolog-inside-mline-comment)
2606 (prolog-find-start-of-mline-comment): Remove functions.
2607 (prolog-find-unmatched-paren, prolog-clause-end)
2608 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2609 (prolog-electric--if-then-else): Rename from
2610 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2611 (prolog-tokenize-searchkey): Remove const.
2612 (prolog-clause-info): Use forward-sexp.
2613 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2614 (prolog-electric-if-then-else): Remove commands.
2615 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2616 for use in post-self-insert-hook.
2617 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2618 for use in post-self-insert-hook.
2619 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2620 for use in post-self-insert-hook.
2621 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2622 adapt it for use in post-self-insert-hook.
2623
2624 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2625
2626 * emacs-lisp/ert.el (ert-run-tests-interactively):
2627 Use `completing-read'. (Bug#9756)
2628
2629 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2630
2631 * simple.el (line-move): Call line-move-1 instead of
2632 line-move-visual when the current window hscroll is zero, but
2633 temporary-goal-column indicates we will need to hscroll as result
2634 of the movement. (Bug#15712)
2635
2636 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2637
2638 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2639 capitalization. Use :visible instead of :active.
2640 Fix `ruby-indent-exp' reference. Add menu items for the generic
2641 commands that are used with SMIE.
2642 (ruby-do-end-to-brace): Insert space after `{'.
2643
2644 2013-10-25 John Anthony <john@jo.hnanthony.com>
2645
2646 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2647
2648 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2649
2650 2013-10-25 Glenn Morris <rgm@gnu.org>
2651
2652 * vc/vc.el (vc-print-log): Don't use a working revision unless
2653 one was explicitly specified. (Bug#15322)
2654
2655 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2656
2657 * subr.el (add-to-list): Preserve return value in compiler-macro
2658 (bug#15692).
2659
2660 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2661
2662 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2663 result. Ask user to retry using '-all' flag. (Bug#15701)
2664
2665 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2666
2667 * emacs-lisp/smie.el: New smie-config system.
2668 (smie-config): New defcustom.
2669 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2670 (smie-config-guess, smie-config-save): New commands.
2671 (smie-config--mode-local, smie-config--buffer-local)
2672 (smie-config--trace, smie-config--modefuns): New vars.
2673 (smie-config--advice, smie-config--mode-hook)
2674 (smie-config--setter, smie-config-local, smie-config--get-trace)
2675 (smie-config--guess-value, smie-config--guess): New functions.
2676 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2677 text properties. Treat "string fence" syntax like string syntax.
2678
2679 * progmodes/sh-script.el (sh-use-smie): Change default.
2680 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2681 (sh-var-value): Simplify by CSE.
2682 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2683 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2684 is used.
2685 (sh-guess-basic-offset): Use cl-incf.
2686 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2687
2688 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2689
2690 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2691 (bug#15699).
2692
2693 2013-10-24 Glenn Morris <rgm@gnu.org>
2694
2695 * Makefile.in (abs_top_srcdir): Remove.
2696 (update-subdirs): Use relative path to update-subdirs.
2697
2698 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2699
2700 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2701 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2702 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2703 Call unmsys--file-name before expand-file-name, not after it.
2704
2705 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2706
2707 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2708 (ert-test-skipped): New error.
2709 (ert-skip, ert-stats-skipped): New defuns.
2710 (ert--skip-unless): New macro.
2711 (ert-test-skipped): New struct.
2712 (ert--run-test-debugger, ert-test-result-type-p)
2713 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2714 (ert--stats-set-test-and-result, ert-char-for-test-result)
2715 (ert-string-for-test-result, ert-run-tests-batch)
2716 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2717 Handle skipped tests. (Bug#9803)
2718
2719 2013-10-24 Glenn Morris <rgm@gnu.org>
2720
2721 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2722
2723 * Makefile.in (abs_top_srcdir): New, set by configure.
2724 (update-subdirs): Correct build-aux location.
2725
2726 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2727
2728 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2729 value, whether we could auto-deduce `backend', or not.
2730
2731 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2732 with parameters" example. Simplify the "is it block or is it
2733 hash" check, but also make it more thorough.
2734
2735 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2736
2737 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2738
2739 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2740
2741 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2742 { if it is hanging.
2743
2744 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2745 :before ";".
2746
2747 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2748
2749 * progmodes/compile.el (compilation-directory-matcher)
2750 (compilation-page-delimiter):
2751 Support GNU Make-4.0 directory quoting. (Bug#15678)
2752
2753 2013-10-23 Leo Liu <sdl.web@gmail.com>
2754
2755 * ido.el (ido-tidy): Handle read-only text.
2756
2757 2013-10-23 Glenn Morris <rgm@gnu.org>
2758
2759 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2760 (emacs, compile, compile-always):
2761 Quote entities that might contain whitespace.
2762 (custom-deps, finder-data, autoloads): Use abs_lisp.
2763 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2764 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2765 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2766
2767 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2768
2769 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2770 Use `following-char'.
2771
2772 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2773
2774 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2775 * progmodes/ruby-mode.el (ruby-smie-rules):
2776 Remove corresponding workaround. Fix indentation rule of ";" so it
2777 also applies when ";" is the parent.
2778
2779 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2780
2781 * frame.el (display-screens, display-pixel-height)
2782 (display-pixel-width, display-mm-width, display-backing-store)
2783 (display-save-under, display-planes, display-color-cells)
2784 (display-visual-class, display-monitor-attributes-list):
2785 Mention the optional ‘display’ argument in doc strings.
2786
2787 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2788
2789 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2790 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2791
2792 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2793
2794 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2795 TODO. Add "." after " @ ".
2796 (ruby-smie--at-dot-call): New function. Checks if point at method
2797 call with explicit target.
2798 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2799 to the method name tokens when it precedes them.
2800 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2801 (ruby-smie-rules): Add rule for indentation before and after "."
2802 token.
2803
2804 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2805
2806 * textmodes/remember.el (remember-diary-extract-entries):
2807 Avoid add-to-list.
2808
2809 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2810 an instruction.
2811
2812 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2813
2814 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2815 (ruby-smie--implicit-semi-p): Add new operator chars.
2816
2817 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2818 `smie-down-list'.
2819 (ruby-smie--args-separator-p): Check that there's no newline
2820 between method call and its arguments.
2821
2822 2013-10-20 Alan Mackenzie <acm@muc.de>
2823
2824 Allow comma separated lists after Java "implements".
2825
2826 * progmodes/cc-engine.el (c-backward-over-enum-header):
2827 Parse commas.
2828 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2829 from a "disallowed" list in enum fontification.
2830
2831 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2832
2833 * startup.el (default-frame-background-mode): Remove unused defvar.
2834
2835 * progmodes/verilog-mode.el (verilog-mode): Don't set
2836 comment-indent-function globally.
2837
2838 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2839
2840 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2841 Move Info menu item creation to ns-win.el.
2842
2843 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2844 in menu bar.
2845
2846 * menu-bar.el: Move GNUStep specific menus...
2847
2848 * term/ns-win.el (ns-initialize-window-system): ... to here.
2849
2850 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2851
2852 * simple.el (newline): Only run post-self-insert-hook when
2853 called interactively.
2854
2855 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2856
2857 * icomplete.el (icomplete-with-completion-tables): Add :version.
2858
2859 2013-10-19 Alan Mackenzie <acm@muc.de>
2860
2861 Fix fontification bugs with constructors and const.
2862
2863 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2864 CASE 2) Remove the check for the absence of a suffix construct
2865 after a function declaration with only types (no identifiers) in
2866 the parentheses. Also, accept a function declaration with just a
2867 type inside the parentheses, if this type can be positively
2868 recognised as such, or if a prefix keyword like "explicit" nails
2869 down the construct as a declaration.
2870
2871 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2872
2873 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2874 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2875 the problem whereby selecting a menu item that leads to a
2876 minibuffer prompt moves the cursor out of the minibuffer window,
2877 making it hard to type at the prompt. Suggested by Stefan Monnier
2878 <monnier@iro.umontreal.ca>.
2879
2880 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2881
2882 * menu-bar.el: Don't make Services menu.
2883
2884 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2885
2886 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2887 (ffap-alist): Use ffap-c++-mode for c++-mode.
2888 (ffap-c++-path): New variable.
2889 (ffap-c++-mode): New function.
2890
2891 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2892
2893 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2894
2895 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2896
2897 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2898 introduced on 2013-09-08, which results in an infinite loop
2899 requesting a password.
2900
2901 2013-10-18 Glenn Morris <rgm@gnu.org>
2902
2903 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2904
2905 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2906
2907 Sync with upstream verilog-mode revision 1a6ecec7.
2908 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2909 (verilog-mode-release-date): Remove.
2910 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2911 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2912 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2913 (verilog-auto-tieoff-ignore-regexp)
2914 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2915 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2916 (verilog-signals-with, verilog-dir-cache-preserving)
2917 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2918 Doc fixes.
2919 (verilog-case-fold): New option, to control case folding in
2920 regexp searches, bug597.
2921 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2922 (verilog-string-match-fold, verilog-in-paren-count)
2923 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2924 (verilog-at-close-struct-p): New functions.
2925 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2926 (verilog-forward-sexp, verilog-set-auto-endcomments):
2927 (verilog-leap-to-case-head): Handle "unique0" case.
2928 (verilog-in-constraint-re): New constant.
2929 (verilog-keywords, verilog-type-font-keywords):
2930 Add some SystemVerilog 1800-2012 keywords.
2931 (verilog-label-be): Remove unimplemented argument, bug669.
2932 (verilog-batch-execute-func): When batch expanding clear
2933 create-lockfiles to prevent spurious user locks when a file ends
2934 up not changing.
2935 (verilog-calculate-indent, verilog-calc-1)
2936 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2937 (verilog-do-indent): Fix indentation of nested constraints
2938 and structures.
2939 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2940 (verilog-auto-inst-param): Use verilog-string-match-fold.
2941 (verilog-read-inst-module-matcher):
2942 Fix AUTOINST on gate primitives with #1.
2943 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2944 Reads all user-defined typed variables.
2945 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2946 (verilog-signals-matching-regexp)
2947 (verilog-signals-not-matching-regexp, verilog-auto):
2948 Respect verilog-case-fold.
2949 (verilog-diff-report): Fix line count.
2950 (verilog-auto-assign-modport): Remove unused local `modi'.
2951 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2952 better handle multidimensional arrays.
2953 Fix packed array ports misadding bit index in AUTOINST, bug637.
2954 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2955 to not double-declare existing outputs and inputs, respectively.
2956 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2957 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2958 (verilog-sk-uvm-component): New skeleton.
2959 (verilog-submit-bug-report): Add verilog-case-fold,
2960 remove verilog-mode-release-date.
2961
2962 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2963
2964 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2965 as before.
2966
2967 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2968
2969 * textmodes/remember.el (remember): Set buffer-offer-save in
2970 remember buffers (bug#13566).
2971
2972 2013-10-18 Daniel Colascione <dancol@dancol.org>
2973
2974 When evaluating forms in ielm, direct standard output to ielm
2975 buffer. Add new ielm-return-for-effect command. Remove trailing
2976 whitespace throughout.
2977
2978 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2979 (ielm-return-for-effect): New command.
2980 (ielm-send-input): Accept optional `for-effect' parameter.
2981 (ielm-eval-input): Accept optional `for-effect' parameter.
2982 Bind `standard-output' to stream we create using
2983 `ielm-standard-output-impl'. Suppress printing result when
2984 `for-effect'.
2985 (ielm-standard-output-impl): New function.
2986 (inferior-emacs-lisp-mode): Explain new features in documentation.
2987
2988 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2989
2990 Code cleanup.
2991
2992 * net/tramp.el (tramp-debug-message): Do not check for connection
2993 buffer.
2994 (tramp-message): Use "vector" connection property.
2995
2996 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2997 (tramp-equal-remote, tramp-eshell-directory-change)
2998 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2999 (tramp-adb-handle-rename-file)
3000 * net/tramp-cmds.el (tramp-list-remote-buffers)
3001 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3002 * net/tramp-compat.el (tramp-compat-process-running-p)
3003 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3004 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3005 (tramp-gvfs-handle-rename-file)
3006 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3007 (tramp-set-file-uid-gid)
3008 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3009 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3010 of `file-remote-p'.
3011
3012 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3013 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3014 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3015 (tramp-gw-open-network-stream): Suppress unrelated traces.
3016
3017 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3018 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3019 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3020 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3021 connection property.
3022
3023 * net/tramp-cache.el (top): Suppress traces when reading
3024 persistency file.
3025
3026 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3027 Refactor common code. Improve debug message.
3028 (tramp-maybe-open-connection)
3029 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3030 connection buffer too early.
3031
3032 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3033 from `tramp-smb-actions-with-acl'.
3034 (tramp-smb-actions-set-acl): New defconst.
3035 (tramp-smb-handle-copy-directory)
3036 (tramp-smb-action-get-acl): New defun, renamed from
3037 `tramp-smb-action-with-acl'.
3038 (tramp-smb-action-set-acl): New defun.
3039 (tramp-smb-handle-set-file-acl): Rewrite.
3040
3041 2013-10-17 Glenn Morris <rgm@gnu.org>
3042
3043 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3044
3045 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3046
3047 * skeleton.el (skeleton-newline): Remove.
3048 (skeleton-internal-1): Use (insert "\n") instead.
3049
3050 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3051 let-bindings.
3052
3053 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3054 forward-sexp-function while we redo its job (bug#15613).
3055
3056 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3057
3058 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3059 represented by lists.
3060
3061 2013-10-16 Glenn Morris <rgm@gnu.org>
3062
3063 * tmm.el (tmm--history): New dynamic variable.
3064 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3065
3066 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3067
3068 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3069 (tramp-smb-errors): Add error messages.
3070 (tramp-smb-actions-with-acl): New defconst.
3071 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3072 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3073 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3074 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3075 (tramp-smb-get-stat-capability): Fix tests.
3076
3077 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3078
3079 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3080 (bug#15580).
3081
3082 2013-10-16 Glenn Morris <rgm@gnu.org>
3083
3084 * ansi-color.el (ansi-color-drop-regexp):
3085 Add 1J, 1K, 2K. (Bug#15617)
3086
3087 * files.el (hack-local-variables--warned-lexical): New.
3088 (hack-local-variables):
3089 Warn about misplaced lexical-binding. (Bug#15616)
3090
3091 * net/eww.el (eww-render): Always set eww-current-url,
3092 and update header line. (Bug#15622)
3093 (eww-display-html): ... Rather than just doing it here.
3094
3095 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3096
3097 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3098 menu navigations commands.
3099
3100 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3101
3102 * progmodes/subword.el (subword-capitalize): Be careful when
3103 the search for [[:alpha:]] fails (bug#15580).
3104
3105 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3106
3107 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3108 to commands that scroll the menu.
3109
3110 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3111
3112 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3113 Handle methods ending with `?' and `!'.
3114
3115 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3116
3117 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3118 `japanese-cp932' to `cp932' to fix the problem where saving a
3119 source file written in Shift_JIS twice would end up having
3120 `coding: japanese-cp932' which Ruby could not recognize.
3121 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3122 in `ruby-encoding-map'.
3123 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3124 doesn't need to be explicitly declared in magic comment.
3125 (ruby-encoding-map): Add type declaration for better customize UI.
3126
3127 2013-10-13 Glenn Morris <rgm@gnu.org>
3128
3129 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3130 Occur buffers are read-only. http://bugs.debian.org/720775
3131
3132 * emacs-lisp/authors.el (authors-fixed-entries):
3133 Comment out old alpha stuff.
3134
3135 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3136
3137 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3138 to `after-save-hook' instead of `before-save-hook'.
3139 (ruby-mode-set-encoding): Use the value of coding system used to
3140 write the file. Call `basic-save-buffer-1' after modifying the
3141 buffer.
3142
3143 2013-10-13 Alan Mackenzie <acm@muc.de>
3144
3145 Fix indentation/fontification of Java enum with
3146 "implements"/generic.
3147
3148 * progmodes/cc-engine.el (c-backward-over-enum-header):
3149 Extracted from the three other places and enhanced to handle generics.
3150 (c-inside-bracelist-p): Uses new function above.
3151 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3152 function above.
3153 (c-font-lock-enum-tail): Uses new function above.
3154
3155 2013-10-13 Kenichi Handa <handa@gnu.org>
3156
3157 * international/mule-cmds.el (select-safe-coding-system): Remove a
3158 superfluous condition in chekcing whether a coding system is safe
3159 or not.
3160
3161 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3162
3163 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3164
3165 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3166
3167 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3168
3169 2013-10-13 Glenn Morris <rgm@gnu.org>
3170
3171 * menu-bar.el (menu-bar-update-buffers):
3172 Unify Buffers menu prompt string. (Bug#15576)
3173
3174 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3175
3176 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3177 Add some entries.
3178 (authors-fixed-entries): Use accented form of name.
3179
3180 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3181
3182 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3183 method calls (bug#15594).
3184 (ruby-smie--args-separator-p): New function.
3185 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3186 recognize paren-free method calls.
3187
3188 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3189 internals of universal-argument.
3190
3191 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3192
3193 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3194 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3195 dropped menu on second mouse click on the menu bar.
3196
3197 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3198
3199 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3200 (explicit-shell-file-name): Declare.
3201 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3202 (sh-completion-at-point-function): New function.
3203 (sh-mode): Use it.
3204 (sh-smie--keyword-p): Remove unused argument.
3205 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3206 vars.
3207 (sh-set-shell): Always setup SMIE, even if we use the
3208 old indentation code.
3209
3210 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3211
3212 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3213 cases of ? and =.
3214 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3215 predicate would return nil are almost non-existent.
3216 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3217
3218 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3219 cache also after commands that modify the buffer but don't move
3220 point.
3221
3222 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3223
3224 * env.el (substitute-env-in-file-name): New function.
3225 (substitute-env-vars): Extend the meaning of the optional arg.
3226
3227 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3228
3229 * term/w32-win.el (dynamic-library-alist): Define separate lists
3230 of GIF DLLs for versions before and after 5.0.0 of giflib.
3231 (Bug#15531)
3232
3233 2013-10-10 João Távora <joaotavora@gmail.com>
3234
3235 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3236 not locked, use last revision and current source as
3237 defaults. (Bug#15569)
3238
3239 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3240
3241 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3242 menu-bar is hidden.
3243
3244 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3245
3246 * window.el (pop-to-buffer-same-window): Fix doc-string.
3247 (Bug#15492)
3248
3249 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3250
3251 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3252
3253 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3254
3255 * calendar/icalendar.el (icalendar-import-file):
3256 Fix interactive spec. (Bug#15482)
3257
3258 2013-10-10 Glenn Morris <rgm@gnu.org>
3259
3260 * desktop.el (desktop-save): Default to saving in .emacs.d,
3261 since PWD is no longer in desktop-path by default. (Bug#15319)
3262
3263 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3264 now that text mode has a menu with the same entry.
3265 (menu-bar-text-mode-auto-fill): Remove now unused func.
3266 * textmodes/text-mode.el (text-mode-map):
3267 Use auto-fill help text from menu-bar.el.
3268
3269 2013-10-10 John Anthony <john@jo.hnanthony.com>
3270
3271 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3272
3273 2013-10-09 Juri Linkov <juri@jurta.org>
3274
3275 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3276 instead of this-command-keys. Add universal-argument-more and
3277 universal-argument-minus to the list of prefix commands. (Bug#15568)
3278
3279 2013-10-09 Glenn Morris <rgm@gnu.org>
3280
3281 * vc/vc-svn.el (vc-svn-create-repo):
3282 Expand paths in file://... url. (Bug#15446)
3283
3284 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3285 Add some entries.
3286 (authors): Remove unused local variables.
3287
3288 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3289
3290 * profiler.el: Create a more coherent calltree from partial backtraces.
3291 (profiler-format): Hide the tail with `invisible' so that C-s can still
3292 find the hidden elements.
3293 (profiler-calltree-depth): Don't recurse so enthusiastically.
3294 (profiler-function-equal): New hash-table-test.
3295 (profiler-calltree-build-unified): New function.
3296 (profiler-calltree-build): Use it.
3297 (profiler-report-make-name-part): Indent the calltree less.
3298 (profiler-report-mode): Add visibility specs for profiler-format.
3299 (profiler-report-expand-entry, profiler-report-toggle-entry):
3300 Expand the whole subtree when provided with a prefix arg.
3301
3302 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3303
3304 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3305 iuwu-mod token.
3306 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3307 hanging iuwu-mod token.
3308 (ruby-smie--forward-token): Do not include a dot after a token in
3309 that token.
3310 (ruby-smie--backward-token): Likewise.
3311
3312 2013-10-08 Juri Linkov <juri@jurta.org>
3313
3314 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3315 to isearch-other-control-char.
3316 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3317 and isearch-post-command-hook to post-command-hook.
3318 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3319 and isearch-post-command-hook from post-command-hook.
3320 (isearch-unread-key-sequence)
3321 (isearch-reread-key-sequence-naturally)
3322 (isearch-lookup-scroll-key, isearch-other-control-char)
3323 (isearch-other-meta-char): Remove functions.
3324 (isearch-pre-command-hook, isearch-post-command-hook):
3325 New functions based on isearch-other-meta-char rewritten
3326 relying on the new behavior of overriding-terminal-local-map
3327 that does not replace the local keymaps any more. (Bug#15200)
3328
3329 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3330
3331 Support menus on text-mode terminals.
3332 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3333 functionality.
3334
3335 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3336
3337 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3338 Move here from mouse.el.
3339 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3340 and arrow keys.
3341 (tty-menu-navigation-map): New map for TTY menu navigation.
3342
3343 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3344
3345 * frame.el (display-mouse-p): Report text-mode mouse as available
3346 on w32.
3347 (display-popup-menus-p): Report availability if mouse is
3348 available; don't condition on window-system.
3349
3350 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3351 (tty-menu-selected-face): New faces.
3352
3353 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3354
3355 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3356 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3357 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3358 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3359 New constants.
3360 (lisp-mode-variables): New `elisp' argument.
3361 (emacs-lisp-mode): Use it.
3362 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3363 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3364
3365 * indent.el: Use lexical-binding.
3366 (indent-region): Add progress reporter.
3367 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3368 last step.
3369 (indent--next-tab-stop): New function to implement this behavior.
3370 (tab-to-tab-stop, move-to-tab-stop): Use it.
3371
3372 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3373
3374 * indent.el (indent-rigidly--current-indentation): New function.
3375 (indent-rigidly-map): New var.
3376 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3377
3378 2013-10-08 Bastien Guerry <bzg@gnu.org>
3379
3380 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3381
3382 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3383
3384 * progmodes/perl-mode.el: Use lexical-binding.
3385 Remove redundant :group args.
3386 (perl-nochange): Change default to be closer to other major modes's
3387 standard behavior.
3388 (perl-indent-line): Don't consider text on current line as a
3389 valid beginning of function from which to indent.
3390
3391 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3392 with more than one argument (bug#15538).
3393
3394 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3395
3396 * vc/pcvs.el: Use lexical-binding.
3397 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3398 environment of `eval'.
3399 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3400 than a list of expressions. Adjust callers.
3401 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3402
3403 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3404
3405 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3406 case of the dot in a chained method call being on the following line.
3407
3408 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3409
3410 * electric.el (electric-indent-inhibit): New var.
3411 (electric-indent-post-self-insert-function): Use it.
3412 * progmodes/python.el (python-mode): Set it.
3413
3414 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3415 open braces.
3416
3417 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3418
3419 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3420 (css-mode): Use electric-indent-chars.
3421
3422 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3423 (font-lock-beg, font-lock-end): Move before first use.
3424 (nxml-mode): Use syntax-propertize-function.
3425 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3426 (nxml-extend-after-change-region): Remove.
3427 * nxml/xmltok.el: Use lexical-binding.
3428 (xmltok-save): Use `declare'.
3429 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3430 * nxml/nxml-util.el: Use lexical-binding.
3431 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3432 Use `declare'.
3433 * nxml/nxml-ns.el: Use lexical-binding.
3434 (nxml-ns-save): Use `declare'.
3435 (nxml-ns-prefixes-for): Avoid add-to-list.
3436 * nxml/rng-match.el: Use lexical-binding.
3437 (rng--ipattern): Use cl-defstruct.
3438 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3439 (rng-cons-group-after, rng-subst-group-after)
3440 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3441 Use closures instead of `(lambda...).
3442
3443 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3444
3445 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3446 of BEG and END.
3447
3448 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3449 Use `tramp-handle-insert-file-contents'.
3450 (tramp-gvfs-handle-insert-file-contents): Remove function.
3451
3452 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3453 Use `save-restriction' in order to keep markers.
3454
3455 * net/trampver.el: Update release number.
3456
3457 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3458
3459 * progmodes/compile.el (compilation-parse-errors):
3460 Use compilation--put-prop.
3461 (compilation--ensure-parse): Check compilation-multiline.
3462
3463 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3464
3465 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3466 lexical-binding.
3467
3468 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3469
3470 * progmodes/ruby-mode.el: Fix recently added tests.
3471 (ruby-smie-grammar): Add - and +.
3472 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3473 (ruby-smie--backward-id): New functions.
3474 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3475 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3476 any more.
3477
3478 2013-10-07 Leo Liu <sdl.web@gmail.com>
3479
3480 * register.el (register-preview-delay)
3481 (register-preview-functions): New variables.
3482 (register-read-with-preview, register-preview)
3483 (register-describe-oneline): New functions.
3484 (point-to-register, window-configuration-to-register)
3485 (frame-configuration-to-register, jump-to-register)
3486 (number-to-register, view-register, insert-register)
3487 (copy-to-register, append-to-register, prepend-to-register)
3488 (copy-rectangle-to-register): Use register-read-with-preview to
3489 read register. (Bug#15525)
3490
3491 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3492
3493 * net/network-stream.el (network-stream-open-starttls): Don't add
3494 --insecure if it's already present, because that gnutls-cli
3495 rejects getting that parameter twice.
3496
3497 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3498
3499 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3500 keyword, too.
3501
3502 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3503
3504 * newcomment.el (comment-use-global-state): Change default value
3505 to t, mark obsolete (Bug#15251).
3506 (comment-beginning): In addition to `comment-to-syntax', check the
3507 value of `comment-use-global-state'.
3508
3509 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3510
3511 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3512 (ruby-comment-column): Follow the global default, by default.
3513 (ruby-smie-grammar): Add assignment syntax.
3514 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3515 open-paren, a comma, or a \.
3516 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3517 and line continuations.
3518 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3519 followed by implicit semi-colons. Add rule for string concatenation
3520 and for indentation at BOB.
3521 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3522
3523 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3524 calling next-sexp, since next-token may have skipped chars which
3525 next-sexp doesn't know should be skipped!
3526
3527 2013-10-05 Leo Liu <sdl.web@gmail.com>
3528
3529 * progmodes/octave.el (octave-send-region):
3530 Call compilation-forget-errors.
3531
3532 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3533
3534 * vc/vc-svn.el (vc-svn-find-admin-dir):
3535 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3536 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3537 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3538 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3539
3540 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3541
3542 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3543
3544 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 * subr.el (read-passwd): Hide chars even when called within a context
3547 where after-change-functions is disabled (bug#15501).
3548 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3549 until we removed ourself from overriding-terminal-local-map.
3550
3551 2013-10-04 Leo Liu <sdl.web@gmail.com>
3552
3553 * progmodes/octave.el (inferior-octave-mode):
3554 Call compilation-forget-errors.
3555
3556 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3557
3558 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3559
3560 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3561
3562 * net/secrets.el (secrets-create-collection): Add optional
3563 argument ALIAS. Use proper Label keyword. Append ALIAS as
3564 dbus-call-method argument. (Bug#15516)
3565
3566 2013-10-04 Leo Liu <sdl.web@gmail.com>
3567
3568 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3569 (inferior-octave-compilation-font-lock-keywords): New variables.
3570 (compilation-error-regexp-alist)
3571 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3572 (inferior-octave-mode): Use compilation-shell-minor-mode.
3573
3574 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3575
3576 * minibuffer.el (completion--replace): Be careful that `end' might be
3577 a marker.
3578
3579 2013-10-03 Daiki Ueno <ueno@gnu.org>
3580
3581 Add support for package signature checking.
3582 * emacs-lisp/package.el (url-http-file-exists-p)
3583 (epg-make-context, epg-context-set-home-directory)
3584 (epg-verify-string, epg-context-result-for)
3585 (epg-signature-status, epg-signature-to-string)
3586 (epg-check-configuration, epg-configuration)
3587 (epg-import-keys-from-file): Declare.
3588 (package-check-signature): New user option.
3589 (package-unsigned-archives): New user option.
3590 (package-desc): Add `signed' field.
3591 (package-load-descriptor): Set `signed' field if .signed file exists.
3592 (package--archive-file-exists-p): New function.
3593 (package--check-signature): New function.
3594 (package-install-from-archive): Check package signature.
3595 (package--download-one-archive): Check archive signature.
3596 (package-delete): Remove .signed file.
3597 (package-import-keyring): New command.
3598 (package-refresh-contents): Import default keyring.
3599 (package-desc-status): Add "unsigned" status.
3600 (describe-package-1, package-menu--print-info)
3601 (package-menu-mark-delete, package-menu--find-upgrades)
3602 (package-menu--status-predicate): Support "unsigned" status.
3603
3604 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3605
3606 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3607 the new compilation scheme using the new byte-codes.
3608
3609 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3610 (byte-pophandler): New byte codes.
3611 (byte-goto-ops): Adjust accordingly.
3612 (byte-compile--use-old-handlers): New var.
3613 (byte-compile-catch): Use new byte codes depending on
3614 byte-compile--use-old-handlers.
3615 (byte-compile-condition-case--old): Rename from
3616 byte-compile-condition-case.
3617 (byte-compile-condition-case--new): New function.
3618 (byte-compile-condition-case): New function that dispatches depending
3619 on byte-compile--use-old-handlers.
3620 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3621 when we can.
3622
3623 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3624 Optimize under `condition-case' and `catch' if
3625 byte-compile--use-old-handlers is nil.
3626 (disassemble-offset): Handle new bytecodes.
3627
3628 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3629
3630 * subr.el (error): Use `declare'.
3631 (decode-char, encode-char): Use advertised-calling-convention instead
3632 of the docstring to discourage use of the `restriction' arg.
3633
3634 2013-10-03 Daiki Ueno <ueno@gnu.org>
3635
3636 * epg.el (epg-verify-file): Add a comment saying that it does not
3637 notify verification error as a return value nor a signal.
3638 (epg-verify-string): Ditto.
3639
3640 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3641
3642 * progmodes/compile.el (compilation-start): Try globbing the arg to
3643 `cd' (bug#15417).
3644
3645 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3646
3647 Sync with Tramp 2.2.8.
3648
3649 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3650 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3651 * net/trampver.el: Update release number.
3652
3653 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3654
3655 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3656 and default-process-coding-system for darwin only.
3657
3658 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3659
3660 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3661
3662 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3663
3664 * vc/vc-git.el (vc-git-grep): Disable pager.
3665
3666 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3667
3668 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3669 Use :url instead of :homepage, as per
3670 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3671
3672 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3673 non-nil, use `syntax-ppss' (Bug#15251).
3674
3675 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3676
3677 * progmodes/octave.el (inferior-octave-startup-file):
3678 Prefer ~/.emacs.d/init_octave.m.
3679
3680 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3681
3682 * emacs-lisp/package.el (package-desc-from-define):
3683 Accept additional arguments as plist, convert them to an alist and store
3684 them in the `extras' slot.
3685 (package-generate-description-file): Convert extras alist back to
3686 plist and append to the `define-package' form arguments.
3687 (package--alist-to-plist): New function.
3688 (package--ac-desc): Add `extras' slot.
3689 (package--add-to-archive-contents): Check if the archive-contents
3690 vector is long enough, and if it is, pass its `extras' slot value
3691 to `package-desc-create'.
3692 (package-buffer-info): Call `lm-homepage', pass the returned value
3693 to `package-desc-from-define'.
3694 (describe-package-1): Render the homepage button (Bug#13291).
3695
3696 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3697 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3698
3699 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3700
3701 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3702 and default-process-coding-system to utf-8-unix (Bug#15402).
3703
3704 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3705
3706 * subr.el (looking-back): Do not recommend using looking-back.
3707
3708 2013-09-28 Alan Mackenzie <acm@muc.de>
3709
3710 Fix indentation/fontification of Java enum with "implements".
3711
3712 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3713 regexp which matches "implements", etc., in Java.
3714 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3715 specifier clauses coming after "enum".
3716 * progmodes/cc-fonts.el (c-font-lock-declarations)
3717 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3718 after "enum".
3719
3720 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3721
3722 * faces.el (region): Change ns_selection_color to
3723 ns_selection_fg_color, add ns_selection_bg_color.
3724
3725 2013-09-28 Leo Liu <sdl.web@gmail.com>
3726
3727 * progmodes/octave.el (inferior-octave-completion-table)
3728 (inferior-octave-completion-at-point): Minor tweaks.
3729
3730 * textmodes/ispell.el (ispell-lookup-words): Rename from
3731 lookup-words. (Bug#15460)
3732 (lookup-words): Obsolete.
3733 (ispell-complete-word, ispell-command-loop): All uses changed.
3734
3735 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3736
3737 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3738 (octave-mode-menu): Add octave-send-buffer.
3739 (octave-send-buffer): New function.
3740
3741 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3742
3743 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3744 octave-lookfor.
3745 (octave-mode-menu): Add octave-lookfor.
3746 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3747 octave-lookfor.
3748 (octave-lookfor): New function.
3749
3750 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * emacs-lisp/cl-macs.el:
3753 (cl--loop-destr-temps): Remove.
3754 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3755 its convention.
3756 (cl--loop-set-iterator-function): New function.
3757 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3758 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3759 Bind `it' with `let' instead of substituting it with `cl-subst'.
3760 (cl--unused-var-p): New function.
3761 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3762 Eliminate some unused variable warnings (bug#15326).
3763
3764 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3765
3766 * doc-view.el (doc-view-scale-reset): Rename from
3767 `doc-view-reset-zoom-level'.
3768 (doc-view-scale-adjust): New command.
3769 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3770 `doc-view-scale-adjust'.
3771
3772 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3773
3774 * doc-view.el (doc-view-reset-zoom-level): New command.
3775 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3776 zoom commands (bug#15466).
3777
3778 2013-09-26 Kenichi Handa <handa@gnu.org>
3779
3780 * international/quail.el (quail-help): Make it not a command.
3781
3782 2013-09-26 Leo Liu <sdl.web@gmail.com>
3783
3784 * minibuffer.el (completion-all-sorted-completions): Make args
3785 optional as they are.
3786
3787 2013-09-25 Daniel Colascione <dancol@dancol.org>
3788
3789 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3790 specs are and that they're not evaluated.
3791
3792 2013-09-24 Sam Steingold <sds@gnu.org>
3793
3794 * midnight.el (clean-buffer-list-kill-regexps)
3795 (clean-buffer-list-kill-buffer-names): Update for the new Man
3796 buffer naming which includes the object name.
3797
3798 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3799
3800 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3801 (eshell-parse-command, eshell-parse-pipeline): Use it since
3802 eshell-separate-commands requires a dynamic scoped var.
3803 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3804
3805 2013-09-23 Leo Liu <sdl.web@gmail.com>
3806
3807 * autoinsert.el (auto-insert-alist): Make the value of
3808 lexical-binding match its file setting.
3809
3810 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3811
3812 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3813
3814 * autoarg.el (autoarg-kp-digit-argument):
3815 * electric.el (Electric-command-loop):
3816 * kmacro.el (kmacro-step-edit-insert):
3817 Do not set universal-argument-num-events.
3818
3819 2013-09-22 Leo Liu <sdl.web@gmail.com>
3820
3821 * files.el (interpreter-mode-alist): Add octave.
3822
3823 2013-09-21 Alan Mackenzie <acm@muc.de>
3824
3825 C++: fontify identifier in declaration following "public:" correctly.
3826 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3827 to match "public", etc.
3828 (c-decl-prefix-re): Add ":" into the C++ value.
3829 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3830 bit. Add a check for a ":" preceded by "public", etc.
3831
3832 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3833
3834 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3835 recognized by GDB 7.5 and later.
3836
3837 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3838
3839 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3840
3841 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3842
3843 * subr.el (internal--call-interactively): New const.
3844 (called-interactively-p): Use it (bug#3984).
3845
3846 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3847
3848 * vc/pcvs.el (cvs-mode-ignore):
3849 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3850 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3851
3852 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3853
3854 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3855 (eshell-ls-orig-insert-directory): Remove.
3856 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3857 (eshell-ls-use-in-dired): Use advice-add/remove.
3858 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3859 Add `orig-fun' arg for use in :around advice.
3860 Make it check (redundantly) eshell-ls-use-in-dired.
3861
3862 2013-09-19 Glenn Morris <rgm@gnu.org>
3863
3864 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3865
3866 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3867
3868 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3869
3870 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3871
3872 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3873 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3874 (tramp-get-remote-python): New defuns.
3875 (tramp-get-remote-uid-with-perl)
3876 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3877 contributed by yary <not.com@gmail.com> (tiny change).
3878 (tramp-get-remote-uid-with-python)
3879 (tramp-get-remote-gid-with-python): New defuns. Python code
3880 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3881 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3882
3883 2013-09-19 Glenn Morris <rgm@gnu.org>
3884
3885 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3886
3887 * eshell/em-unix.el (eshell-remove-entries):
3888 Rename argument to avoid name-clash with global `top-level'.
3889
3890 * eshell/esh-proc.el (eshell-kill-process-function):
3891 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3892 (eshell-reset-after-proc): Remove unused arg `proc'.
3893
3894 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3895 (directory-files-and-attributes): Mark unused arg.
3896
3897 * eshell/em-unix.el (eshell-remove-entries):
3898 Remove unused arg `path'. Update callers.
3899
3900 * eshell/em-hist.el (eshell-hist-parse-arguments):
3901 Remove unused arg `silent'. Update callers.
3902
3903 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3904 Fix (f)boundp mix-up.
3905
3906 * eshell/em-smart.el (eshell-smart-scroll-window)
3907 (eshell-disable-after-change):
3908 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3909
3910 2013-09-18 Alan Mackenzie <acm@muc.de>
3911
3912 Fix fontification of type when followed by "const".
3913 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3914 "known" types from fontification.
3915
3916 2013-09-18 Glenn Morris <rgm@gnu.org>
3917
3918 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3919 (chart-face-list): Drop Emacsen without display-color-p.
3920
3921 * net/eww.el (libxml-parse-html-region): Declare.
3922 (eww-display-html): Explicit error if no libxml2 support.
3923
3924 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3925
3926 * image.el (image-type-from-buffer, image-multi-frame-p):
3927 Remove --without-x warning/error.
3928
3929 * mouse.el (mouse-yank-primary):
3930 * term.el (term-mouse-paste):
3931 Reorder to silence --without-x compilation.
3932
3933 * mpc.el (doc-view-mode): Silence --without-x compilation.
3934
3935 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3936 Silence --without-x compilation.
3937
3938 * progmodes/gud.el (gud-find-file, gud-mode):
3939 Silence --without-x compilation.
3940 (tooltip-mode): Declare.
3941
3942 * wdired.el (dired-backup-overwrite): Remove declaration.
3943 (wdired-mode-map): Add doc string.
3944
3945 * custom.el (x-get-resource): Declare.
3946
3947 * eshell/em-glob.el (ange-cache):
3948 * eshell/em-unix.el (ange-cache): Declare.
3949
3950 * faces.el (x-display-list, x-open-connection, x-get-resource):
3951 Declare.
3952
3953 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3954 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3955 Declare.
3956
3957 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3958
3959 * net/gnutls.el (gnutls-log-level): Declare.
3960
3961 * net/shr.el (image-size, image-animate): Declare.
3962
3963 * simple.el (font-info): Declare.
3964
3965 * subr.el (x-popup-dialog): Declare.
3966
3967 * term/common-win.el (x-select-enable-primary)
3968 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3969 Declare.
3970
3971 * term/ns-win.el (x-handle-args): Declare.
3972
3973 * term/x-win.el (x-select-enable-clipboard): Declare.
3974
3975 * term/w32-win.el (create-default-fontset): Declare.
3976
3977 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3978 Declare.
3979
3980 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3981 (fit-frame-to-buffer): Explicit error if --without-x.
3982 (mouse-autoselect-window-select): Silence compiler.
3983
3984 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3985
3986 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3987 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3988 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3989 * eshell/esh-util.el (eshell-sublist):
3990 Remove unused local variables.
3991
3992 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3993
3994 * textmodes/two-column.el: Make 2C-split work for --without-x.
3995 (scroll-bar-columns): Autoload.
3996 (top-level): Require fringe when compiling.
3997
3998 2013-09-18 Leo Liu <sdl.web@gmail.com>
3999
4000 * subr.el (add-hook): Robustify to handle closure as well.
4001
4002 2013-09-17 Glenn Morris <rgm@gnu.org>
4003
4004 * simple.el (messages-buffer-mode-map): Unbind "g".
4005
4006 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * help-mode.el (help-mode-finish): Use derived-mode-p.
4009 Remove obsolete highlighting.
4010
4011 * play/life.el (life-mode): Use define-derived-mode. Derive from
4012 special-mode.
4013 (life): Let-bind inhibit-read-only.
4014 (life-setup): Avoid `setq'. Use `life-mode'.
4015
4016 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4017 which should not be needed any more.
4018 (package-menu-refresh, package-menu-describe-package): Use user-error.
4019
4020 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4021 (eshell-post-rewrite-command-hook): Make obsolete.
4022 (eshell-parse-command): Simplify.
4023 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4024 (eshell--cmd): Declare.
4025 (eshell-parse-pipeline): Remove unused var `final-p'.
4026 Pass a dynvar to eshell-post-rewrite-command-hook.
4027 Implement the new eshell-post-rewrite-command-function.
4028 (eshell-invoke-directly): Remove unused arg `input'.
4029 * eshell/esh-io.el (eshell-io-initialize):
4030 Use eshell-post-rewrite-command-function (bug#15399).
4031 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4032 adjust to new calling convention.
4033 (eshell-create-handles): Rename args to avoid clashing with dynvar
4034 `standard-output'.
4035
4036 2013-09-17 Glenn Morris <rgm@gnu.org>
4037
4038 * simple.el (messages-buffer-mode): New major mode.
4039 (messages-buffer): New function.
4040 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4041 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4042 (ert-run-test): Use `messages-buffer' function.
4043 (ert--force-message-log-buffer-truncation): Ignore read-only.
4044 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4045 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4046
4047 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4048
4049 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4050
4051 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4052
4053 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4054
4055 * icomplete.el (icomplete-in-buffer): New var.
4056 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4057 vars and replace them with functions.
4058 (icomplete-minibuffer-setup): Adjust accordingly.
4059 (icomplete--completion-table, icomplete--completion-predicate)
4060 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4061 New functions.
4062 (icomplete-forward-completions, icomplete-backward-completions)
4063 (icomplete-simple-completing-p, icomplete-exhibit)
4064 (icomplete-completions): Use them.
4065 (icomplete--in-region-buffer): New var.
4066 (icomplete--in-region-setup): New function.
4067 (icomplete-mode): Use it.
4068
4069 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4070 (bug#15379).
4071 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4072 return args and options.
4073 (eshell-eval-using-options): Use the new return value of
4074 eshell--do-opts to set the options's vars in their scope.
4075 (eshell--set-option): Rename from eshell-set-option.
4076 Add arg `opt-vals'.
4077 (eshell--process-option): Rename from eshell-process-option.
4078 Add arg `opt-vals'.
4079 (eshell--process-args): Use an `opt-vals' alist to store the options's
4080 values during their processing and return them additionally to the
4081 remaining args.
4082
4083 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4084
4085 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4086 continuation character an operator, as far as indentation is
4087 concerned (Bug#15369).
4088
4089 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4090
4091 * window.el (window--state-put-2): Don't process buffer state
4092 when buffer doesn't exist any more (Bug#15382).
4093
4094 2013-09-15 Glenn Morris <rgm@gnu.org>
4095
4096 * eshell/em-unix.el (eshell/rm):
4097 Make -f ignore missing files. (Bug#15373)
4098
4099 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4100 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4101 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4102
4103 2013-09-14 Glenn Morris <rgm@gnu.org>
4104
4105 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4106
4107 2013-09-13 Glenn Morris <rgm@gnu.org>
4108
4109 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4110 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4111
4112 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4113
4114 * frame.el (x-focus-frame): Mark as declared in frame.c.
4115
4116 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4117
4118 * ls-lisp.el: Use advice-add.
4119 (original-insert-directory): Remove.
4120 (ls-lisp--insert-directory): Rename from insert-directory; add
4121 `orig-fun' argument.
4122 (insert-directory): Advise.
4123
4124 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4125
4126 * term.el (term-emulate-terminal): Decode the command string
4127 before passing it to term-command-hook. (Bug#15337)
4128
4129 2013-09-13 Glenn Morris <rgm@gnu.org>
4130
4131 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4132
4133 * eshell/esh-ext.el (eshell-search-path): Declare.
4134
4135 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4136 Otherwise an error occurs if eshell-dirs module not loaded.
4137
4138 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4139
4140 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4141
4142 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4143 `tramp-check-proper-host'. Check for a valid method name.
4144
4145 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4146 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4147 * net/tramp-sh.el (tramp-maybe-open-connection):
4148 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4149
4150 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4151 also for hash values.
4152
4153 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4154
4155 * term/ns-win.el (parameters): Don't declare as dynamic.
4156 (before-make-frame-hook): Don't add ineffective function.
4157
4158 * eshell/*.el: Use lexical-binding (bug#15231).
4159
4160 2013-09-12 Kenichi Handa <handa@gnu.org>
4161
4162 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4163
4164 2013-09-12 Glenn Morris <rgm@gnu.org>
4165
4166 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4167 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4168
4169 * subr.el (do-after-load-evaluation): Also give compiler warnings
4170 when obsolete files are used (except by obsolete files).
4171
4172 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4173 in the status output, assume `filename' is the first. (Bug#15322)
4174
4175 * vc/vc.el (vc-deduce-fileset): Doc fix.
4176
4177 * calc/calc-help.el (Info-goto-node):
4178 * progmodes/cperl-mode.el (Info-find-node):
4179 * vc/ediff.el (Info-goto-node): Update declarations.
4180
4181 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4182
4183 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4184 (vc-bzr-pull): Require vc-dispatcher.
4185 * vc/vc-git.el (vc-compilation-mode): Declare.
4186 (vc-git-pull): Require vc-dispatcher.
4187
4188 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4189
4190 * progmodes/octave.el (help-button-action): Declare.
4191
4192 * shell.el (shell-directory-tracker): Output error as a message
4193 rather than just returning it as a string.
4194 (shell-process-pushd): Remove useless use of message.
4195
4196 * dframe.el (dframe-timer-fn):
4197 * files.el (dir-locals-read-from-file):
4198 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4199 (mpc-format):
4200 * reveal.el (reveal-post-command):
4201 * saveplace.el (load-save-place-alist-from-file):
4202 * shell.el (shell-resync-dirs):
4203 * w32-common-fns.el (x-get-selection-value):
4204 * emacs-lisp/copyright.el (copyright-find-copyright):
4205 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4206 * emulation/tpu-edt.el (tpu-copy-keyfile):
4207 * play/bubbles.el (bubbles--mark-neighbourhood):
4208 * progmodes/executable.el
4209 (executable-make-buffer-file-executable-if-script-p):
4210 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4211
4212 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 Cleanup Eshell to rely less on dynamic scoping.
4215 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4216 last-value, and ext-command here. Bind `args' closer to `body'.
4217 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4218 (eshell--args): Declare new dynamic var.
4219 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4220 last-value, and ext-command. Pass `args' to `body'.
4221 (eshell-process-args): Bind eshell--args.
4222 (eshell-set-option): Use eshell--args.
4223 * eshell/eshell.el (eshell): Use derived-mode-p.
4224 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4225 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4226 (eshell-glob-function): Declare.
4227 * eshell/esh-util.el: Require cl-lib.
4228 (eshell-read-hosts-file): Avoid add-to-list.
4229 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4230 `err'.
4231 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4232 Declare.
4233 (eshell/diff): Remove unused var `err'.
4234 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4235 `killflag'.
4236 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4237 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4238 first use.
4239 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4240 Move declaration before first use.
4241 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4242 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4243 rely on cl-return.
4244
4245 2013-09-12 Glenn Morris <rgm@gnu.org>
4246
4247 * term/ns-win.el (global-map): Remove binding for ispell-next,
4248 deleted 1999-05-29. (Bug#15357)
4249
4250 2013-09-11 Glenn Morris <rgm@gnu.org>
4251
4252 * echistory.el (electric-command-history): Remove call to deleted func.
4253
4254 * play/landmark.el (landmark-mode): Fix typos.
4255
4256 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4257 Check cvs-sort-ignore-file is bound.
4258
4259 * savehist.el: No need for cl when compiling on Emacs.
4260
4261 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4262
4263 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4264 (bug#15338).
4265 (eshell-self-insert-command, eshell-send-invisible):
4266 Remove unused argument.
4267 (eshell-handle-control-codes): Remove unused var `orig'.
4268 Avoid delete-backward-char.
4269
4270 * files.el (set-auto-mode): Simplify a bit further.
4271
4272 2013-09-11 Glenn Morris <rgm@gnu.org>
4273
4274 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4275 (set-auto-mode): Don't regexp-quote elements.
4276 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4277 * progmodes/cc-mode.el (interpreter-mode-alist):
4278 * progmodes/ruby-mode.el (interpreter-mode-alist):
4279 Revert previous change.
4280
4281 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * play/snake.el (snake-mode):
4284 * play/mpuz.el (mpuz-mode):
4285 * play/landmark.el (lm-mode):
4286 * play/blackbox.el (blackbox-mode):
4287 * play/5x5.el (5x5-mode):
4288 * obsolete/options.el (Edit-options-mode):
4289 * net/quickurl.el (quickurl-list-mode):
4290 * net/newst-treeview.el (newsticker-treeview-mode):
4291 * mail/rmailsum.el (rmail-summary-mode):
4292 * mail/mspools.el (mspools-mode):
4293 * locate.el (locate-mode):
4294 * ibuffer.el (ibuffer-mode):
4295 * emulation/ws-mode.el (wordstar-mode):
4296 * emacs-lisp/debug.el (debugger-mode):
4297 * array.el (array-mode):
4298 * net/eudc.el (eudc-mode): Use define-derived-mode.
4299 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4300 Move initialization into declaration.
4301 (mairix-searches-mode): Use define-derived-mode.
4302 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4303 (eudc-edit-hotlist): Use dolist.
4304 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4305 (Man-mode): Use define-derived-mode.
4306 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4307 (Info-edit-mode): Use define-derived-mode.
4308 (Info-cease-edit): Use Info-mode.
4309 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4310 into declaration.
4311 (eshell-mode): Use define-derived-mode.
4312 * chistory.el (command-history-mode-map): Rename from
4313 command-history-map.
4314 (command-history-mode): Use define-derived-mode.
4315 (Command-history-setup): Remove function.
4316 * calc/calc.el (calc-trail-mode-map): New var.
4317 (calc-trail-mode): Use define-derived-mode.
4318 (calc-trail-buffer): Set calc-main-buffer manually.
4319 * bookmark.el (bookmark-insert-annotation): New function.
4320 (bookmark-edit-annotation): Use it.
4321 (bookmark-edit-annotation-mode): Make it a proper major mode.
4322 (bookmark-send-edited-annotation): Use derived-mode-p.
4323 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4324 closer to its ideal place. Use \' to match EOS.
4325
4326 * profiler.el (profiler-calltree-find): Use function-equal.
4327
4328 2013-09-10 Glenn Morris <rgm@gnu.org>
4329
4330 * files.el (interpreter-mode-alist): Convert to regexps.
4331 (set-auto-mode): Adapt for this. (Bug#15306)
4332 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4333 Comment out unused variable.
4334 * progmodes/cc-mode.el (interpreter-mode-alist):
4335 * progmodes/python.el (interpreter-mode-alist):
4336 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4337 * progmodes/sh-script.el (sh-set-shell):
4338 No longer use interpreter-mode-alist to get list of shells.
4339
4340 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4341
4342 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4343
4344 * simple.el: Use set-temporary-overlay-map for universal-argument.
4345 (universal-argument-map): Don't use default-bindings (bug#15317).
4346 Bind switch-frame explicitly. Replace universal-argument-minus with
4347 a conditional binding.
4348 (universal-argument-num-events, saved-overriding-map): Remove.
4349 (restore-overriding-map): Remove.
4350 (universal-argument--mode): Rename from save&set-overriding-map,
4351 and rewrite.
4352 (universal-argument, universal-argument-more, negative-argument)
4353 (digit-argument): Adjust accordingly.
4354 (universal-argument-minus): Remove.
4355 (universal-argument-other-key): Remove.
4356
4357 * subr.el (with-demoted-errors): Add `format' argument.
4358
4359 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4360
4361 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4362 `tramp-cleanup-connection'.
4363
4364 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4365 parameters KEEP-DEBUG and KEEP-PASSWORD.
4366
4367 * net/tramp.el (tramp-file-name-handler):
4368 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4369 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4370 (tramp-maybe-open-connection):
4371 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4372 Use `tramp-cleanup-connection'.
4373
4374 * net/tramp-sh.el (tramp-maybe-open-connection):
4375 Catch 'uname-changed inside the progress reporter.
4376
4377 2013-09-10 Glenn Morris <rgm@gnu.org>
4378
4379 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4380
4381 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4382 returns "alternate access method" in mode (eg "-rw-r--r--.").
4383
4384 2013-09-08 Glenn Morris <rgm@gnu.org>
4385
4386 * saveplace.el (load-save-place-alist-from-file):
4387 Demote errors. (Bug#15305)
4388
4389 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4390
4391 Improve compatibility with older Emacsen, and XEmacs.
4392
4393 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4394 only if it is bound. It isn't for XEmacs.
4395 (with-tramp-progress-reporter): Do not let-bind `result'.
4396 This yields to scoping errors in XEmacs.
4397 (tramp-handle-make-auto-save-file-name): New function, moved from
4398 tramp-sh.el.
4399
4400 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4401 for `make-auto-save-file-name'.
4402 (tramp-adb--gnu-switches-to-ash):
4403 Use `tramp-compat-replace-regexp-in-string'.
4404
4405 * net/tramp-cache.el (tramp-cache-print): Call
4406 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4407
4408 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4409 bound. It isn't for XEmacs.
4410
4411 * net/tramp-compat.el (tramp-compat-copy-file):
4412 Catch `wrong-number-of-arguments' error.
4413 (tramp-compat-replace-regexp-in-string): New defun.
4414
4415 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4416 for `make-auto-save-file-name'.
4417 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4418 `copy-file'.
4419 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4420 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4421 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4422
4423 * net/tramp-gw.el (tramp-gw-open-network-stream):
4424 Use `tramp-compat-replace-regexp-in-string'.
4425
4426 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4427 Call `tramp-handle-make-auto-save-file-name'.
4428 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4429 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4430 (tramp-sh-file-inotifywait-process-filter):
4431 Use `tramp-compat-replace-regexp-in-string'.
4432 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4433
4434 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4435 for `make-auto-save-file-name'.
4436 (tramp-smb-handle-copy-directory):
4437 Call `tramp-compat-replace-regexp-in-string'.
4438 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4439 (tramp-smb-handle-copy-file): Improve error message.
4440 (tramp-smb-handle-rename-file): Rename directly only in case
4441 `newname' does not exist yet. This is a restriction of smbclient.
4442 (tramp-smb-maybe-open-connection): Rerun the function only when
4443 `auth-sources' is non-nil.
4444
4445 2013-09-08 Kenichi Handa <handa@gnu.org>
4446
4447 * international/characters.el: Set category "^" (Combining) for
4448 more characters.
4449
4450 2013-09-07 Alan Mackenzie <acm@muc.de>
4451
4452 Correctly fontify Java class constructors.
4453 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4454 in Java Mode.
4455 (c-recognize-typeless-decls): Set the Java value to t.
4456 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4457 While handling a "(", add a check for, effectively, Java, and handle a
4458 "typeless" declaration there.
4459
4460 2013-09-07 Roland Winkler <winkler@gnu.org>
4461
4462 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4463 field subtitle for entry type book.
4464
4465 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4466
4467 * minibuffer.el: Make minibuffer-complete call completion-in-region
4468 rather than other way around.
4469 (completion--some, completion-pcm--find-all-completions):
4470 Don't delay signals when debugging.
4471 (minibuffer-completion-contents): Beware fields within the
4472 minibuffer contents.
4473 (completion-all-sorted-completions): Use defvar-local.
4474 (completion--do-completion, completion--cache-all-sorted-completions)
4475 (completion-all-sorted-completions, minibuffer-force-complete):
4476 Add args `beg' and `end'.
4477 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4478 (minibuffer-complete): Use completion-in-region.
4479 (completion-complete-and-exit): New fun, extracted from
4480 minibuffer-complete-and-exit.
4481 (minibuffer-complete-and-exit): Use it.
4482 (completion--complete-and-exit): Rename from
4483 minibuffer--complete-and-exit.
4484 (completion-in-region--single-word): New function, extracted from
4485 minibuffer-complete-word.
4486 (minibuffer-complete-word): Use it.
4487 (display-completion-list): Make `common-substring' argument obsolete.
4488 (completion--in-region): Call completion--in-region-1 instead of
4489 minibuffer-complete.
4490 (completion-help-at-point): Pass boundaries to
4491 minibuffer-completion-help as args rather than via an overlay.
4492 (completion-pcm--string->pattern): Use `any-delim'.
4493 (completion-pcm--optimize-pattern): New function.
4494 (completion-pcm--pattern->regex): Handle `any-delim'.
4495 * icomplete.el (icomplete-forward-completions)
4496 (icomplete-backward-completions, icomplete-completions):
4497 Adjust calls to completion-all-sorted-completions and
4498 completion--cache-all-sorted-completions.
4499 (icomplete-with-completion-tables): Default to t.
4500 * emacs-lisp/crm.el (crm--current-element): Rename from
4501 crm--select-current-element. Don't put an overlay but return the
4502 boundaries instead.
4503 (crm--completion-command): Take two new args to bind to the boundaries.
4504 (crm-completion-help): Adjust accordingly.
4505 (crm-complete): Use completion-in-region.
4506 (crm-complete-word): Use completion-in-region--single-word.
4507 (crm-complete-and-exit): Use completion-complete-and-exit.
4508
4509 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4510
4511 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4512 than dynamically.
4513
4514 2013-09-06 Juri Linkov <juri@jurta.org>
4515
4516 * info.el (Info-display-images-node): When image file doesn't exist
4517 display text version of the image if it's provided in the Info file.
4518 Otherwise, display the location of missing image from SRC attribute.
4519 Add help-echo text property from ALT attribute. (Bug#15279)
4520
4521 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4522
4523 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4524 (edit-abbrevs-mode): Use define-derived-mode.
4525
4526 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4527 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4528 that it's defined.
4529 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4530 Use define-derived-mode.
4531
4532 * epg.el (epg-start-encrypt): Minor CSE simplification.
4533
4534 2013-09-06 William Xu <william.xwl@gmail.com>
4535
4536 * arc-mode.el: Add support for 7za (bug#15264).
4537 (archive-7z-program): New var.
4538 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4539 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4540 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4541
4542 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4543
4544 Remove URL syntax.
4545
4546 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4547 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4548 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4549 (tramp-postfix-host-format, tramp-file-name-regexp)
4550 (tramp-completion-file-name-regexp)
4551 (tramp-completion-dissect-file-name)
4552 (tramp-handle-substitute-in-file-name): Remove 'url case.
4553 (tramp-file-name-regexp-url)
4554 (tramp-completion-file-name-regexp-url): Remove constants.
4555
4556 2013-09-06 Glenn Morris <rgm@gnu.org>
4557
4558 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4559
4560 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4561
4562 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4563 keywords" below "here-doc beginnings" (Bug#15270).
4564
4565 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4566
4567 * subr.el (pop): Use `car-safe'.
4568 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4569 to detect unused `pop' return value.
4570
4571 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4572 var `block-regexp'.
4573 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4574 (python-fill-string): Remove unused var `marker'.
4575 (python-skeleton-add-menu-items): Remove unused var `items'.
4576
4577 * international/mule-cmds.el: Require CL.
4578 (find-coding-systems-for-charsets): Avoid add-to-list.
4579 (sanitize-coding-system-list): New function, extracted from
4580 select-safe-coding-system-interactively.
4581 (select-safe-coding-system-interactively): Use it.
4582 (read-input-method-name): Accept symbols for `default'.
4583
4584 * emacs-lisp/advice.el (defadvice): Add indent rule.
4585
4586 2013-09-05 Daniel Hackney <dan@haxney.org>
4587
4588 * dired-x.el:
4589 * net/ange-ftp.el:
4590 * net/browse-url.el:
4591 * net/dbus.el:
4592 * net/eudc.el:
4593 * net/eudcb-ldap.el:
4594 * net/eww.el:
4595 * net/imap.el:
4596 * printing.el:
4597 * vc/ediff-diff.el:
4598 * vc/ediff-init.el:
4599 * vc/ediff-merg.el:
4600 * vc/ediff-mult.el:
4601 * vc/ediff-util.el:
4602 * vc/ediff-wind.el:
4603 * vc/ediff.el:
4604 * vc/emerge.el:
4605 * vc/pcvs.el:
4606 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4607 byte compiler. Remove some unused let-bound variables.
4608
4609 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4612 a "ref-cell", since it gets better optimized (bug#14883).
4613
4614 2013-09-05 Glenn Morris <rgm@gnu.org>
4615
4616 * progmodes/cc-awk.el (c-forward-sws): Declare.
4617
4618 2013-09-04 Glenn Morris <rgm@gnu.org>
4619
4620 * generic-x.el [rul-generic-mode]: Require cc-mode.
4621 (c++-mode-syntax-table): Declare.
4622 (rul-generic-mode-syntax-table): Init in the defvar.
4623
4624 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4627 (vc-do-command, vc-set-async-update):
4628 * vc/vc-mtn.el (vc-mtn-dir-status):
4629 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4630 (vc-hg-pull, vc-hg-merge-branch):
4631 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4632 (vc-git-merge-branch):
4633 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4634 (vc-cvs-dir-status-files):
4635 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4636 (vc-bzr-dir-status-files):
4637 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4638 * vc/vc-annotate.el: Use lexical-binding.
4639 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4640 (vc-sentinel-movepoint): Declare.
4641 (vc-annotate): Don't use `goto-line'.
4642 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4643 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4644 (vc-sentinel-movepoint): Declare.
4645 * vc/vc-svn.el: Use lexical-binding.
4646 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4647 * vc/vc-sccs.el:
4648 * vc/vc-rcs.el: Use lexical-binding.
4649
4650 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4651 `deleted'. Don't drop errors silently.
4652
4653 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4654
4655 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4656
4657 * vc/vc.el (vc-ignore): Rewrite.
4658 (vc-default-ignore): New function.
4659 (vc-default-ignore-completion-table): Use find-ignore-file.
4660
4661 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4662 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4663 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4664 Remove. Most code moved to vc.el.
4665
4666 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4669 * net/tramp-smb.el (tramp-smb-get-file-entries):
4670 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4671 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4672
4673 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4674 Update call to it.
4675 (eww-change-select): Remove unused var `properties'.
4676 (eww-make-unique-file-name): Remove unused var `base'.
4677
4678 * finder.el (finder-compile-keywords): Don't mess with windows.
4679
4680 * calculator.el (calculator-funcall): Fix typo in last change.
4681
4682 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4683
4684 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4685 <pkg>-autoloads.el file stop us.
4686
4687 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4688 warnings, and factor out common code.
4689
4690 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4691
4692 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4693 two-character operators and whether the character preceding them
4694 changes their meaning (Bug#15208).
4695
4696 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4697
4698 Format code sent to Python shell for robustness.
4699 * progmodes/python.el (python-shell-buffer-substring):
4700 New function.
4701 (python-shell-send-region, python-shell-send-buffer): Use it.
4702
4703 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4704
4705 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4706 * net/tramp.el (tramp-user-error): ... here.
4707 (tramp-find-method, tramp-check-proper-host)
4708 (tramp-dissect-file-name, tramp-debug-message)
4709 (tramp-handle-shell-command):
4710 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4711 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4712
4713 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4714
4715 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4716
4717 * avoid.el (mouse-avoidance-point-position)
4718 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4719 returns nil.
4720
4721 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4722
4723 * progmodes/python.el (python-shell-completion-get-completions):
4724 Drop use of deleted `comint-last-prompt-overlay'.
4725 (python-nav-if-name-main): New command.
4726
4727 2013-09-01 Glenn Morris <rgm@gnu.org>
4728
4729 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4730 Avoid leading space in $wins. Otherwise the sed command used by
4731 eg compile-main ends up containing "/*.el". (Bug#15170)
4732
4733 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4734
4735 2013-08-30 Glenn Morris <rgm@gnu.org>
4736
4737 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4738 Fix is-this-a-directory logic. (Bug#15220)
4739
4740 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4741
4742 * textmodes/css-mode.el: Use SMIE.
4743 (css-smie-grammar): New var.
4744 (css-smie--forward-token, css-smie--backward-token)
4745 (css-smie-rules): New functions.
4746 (css-mode): Use them.
4747 (css-navigation-syntax-table): Remove var.
4748 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4749 (css-indent-calculate, css-indent-line): Remove functions.
4750
4751 Misc changes to reduce use of `(lambda...); and other cleanups.
4752 * cus-edit.el: Use lexical-binding.
4753 (customize-push-and-save, customize-apropos)
4754 (custom-buffer-create-internal): Use closures.
4755 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4756 * progmodes/ada-xref.el: Use setq.
4757 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4758 * dframe.el: Use lexical-binding.
4759 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4760 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4761 * descr-text.el: Use lexical-binding.
4762 (describe-text-widget, describe-text-sexp, describe-property-list):
4763 Use closures.
4764 * comint.el (comint-history-isearch-push-state): Use a closure.
4765 * calculator.el: Use lexical-binding.
4766 (calculator-number-to-string): Make it work with lexical-binding.
4767 (calculator-funcall): Same and use cl-letf.
4768
4769 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4770 (lisp--company-doc-string, lisp--company-location): New functions.
4771 (lisp-completion-at-point): Use them to improve Company support.
4772
4773 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4774 params of lambda expressions.
4775 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4776 (ruby-smie--opening-pipe-p): New function.
4777 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4778 symbols and matched |...| for formal params.
4779 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4780 from being treated as hanging. Handle "rescue".
4781
4782 2013-08-29 Glenn Morris <rgm@gnu.org>
4783
4784 * progmodes/cc-engine.el (c-pull-open-brace):
4785 Move definition before use.
4786
4787 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4788
4789 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4790 are immutable. Don't use `unsafe' any more.
4791 (cl--defsubst-expand): Don't substitute at the same time as keeping
4792 a residual unused let-binding. Don't use `unsafe' any more.
4793
4794 2013-08-29 Glenn Morris <rgm@gnu.org>
4795
4796 * calendar/cal-china.el (calendar-chinese-year-cache):
4797 Recenter on 2015.
4798
4799 * nxml/nxml-util.el (nxml-debug-clear-inside):
4800 Use cl-loop rather than loop.
4801
4802 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4803
4804 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4805
4806 2013-08-28 Glenn Morris <rgm@gnu.org>
4807
4808 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4809
4810 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4811
4812 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4813
4814 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4815
4816 * simple.el (repeat-complex-command--called-interactively-skip):
4817 New function.
4818 (repeat-complex-command): Use it (bug#14136).
4819
4820 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4821 (c-define-abbrev-table): Add `doc' argument.
4822 (c-mode-abbrev-table, c++-mode-abbrev-table)
4823 (objc-mode-abbrev-table, java-mode-abbrev-table)
4824 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4825 (awk-mode-abbrev-table): Use it.
4826 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4827 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4828 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4829 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4830 Move initialization into the declaration; and remove any
4831 autoload cookie.
4832
4833 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4834 and dynamic let binding.
4835
4836 * vc/smerge-mode.el: Remove redundant :group args.
4837
4838 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4839 to load-path.
4840
4841 2013-08-28 Juri Linkov <juri@jurta.org>
4842
4843 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4844 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4845 (isearch-other-meta-char): Handle an undefined shifted printing
4846 character by downshifting it. (Bug#15200)
4847
4848 2013-08-28 Juri Linkov <juri@jurta.org>
4849
4850 * isearch.el (isearch-search): Change regexp error message for
4851 non-regexp searches. (Bug#15166)
4852
4853 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4854
4855 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4856 for portability to hosts where /bin/sh has problems.
4857
4858 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4859
4860 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4861
4862 2013-08-27 Juri Linkov <juri@jurta.org>
4863
4864 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4865 in the keyboard macro. (Bug#15126)
4866
4867 2013-08-27 Juri Linkov <juri@jurta.org>
4868
4869 * isearch.el (isearch-quote-char): Comment out converting unibyte
4870 to multibyte, thus syncing with its `quoted-insert' counterpart.
4871 (Bug#15166)
4872
4873 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4874
4875 * window.el (display-buffer-use-some-window): Add missing
4876 argument in call of get-largest-window (Bug#15185).
4877 Reported by Stephen Leake.
4878
4879 2013-08-27 Glenn Morris <rgm@gnu.org>
4880
4881 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4882
4883 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4884
4885 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4886 from a matcher-function unless there's no more matches (bug#15161).
4887
4888 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4889
4890 * minibuffer.el: Revert change from 2013-08-20.
4891
4892 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4893 with text property `tramp-default', if appropriate.
4894 (tramp-check-proper-host): New defun.
4895 (tramp-dissect-file-name): Do not check hostname. Revert change
4896 of 2013-03-18.
4897 (tramp-backtrace): Make VEC-OR-PROC optional.
4898
4899 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4900 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4901 * net/tramp-sh.el (tramp-maybe-open-connection):
4902 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4903 Apply `tramp-check-proper-host'.
4904
4905 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4906
4907 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4908 lambda expression in order to have `describe-variable' display it.
4909
4910 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4911
4912 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4913 BUF can be optional. (Bug#15186)
4914
4915 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4916
4917 * progmodes/flymake.el (flymake-get-real-file-name-function):
4918 Fix broken customization. (Bug#15184)
4919
4920 2013-08-25 Alan Mackenzie <acm@muc.de>
4921
4922 Improve indentation of bracelists defined by macros (without "=").
4923
4924 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4925 expansion begins with "{", regard it as bracelist when it doesn't
4926 contain a ";".
4927
4928 Parse C++ inher-intro when there's a template split over 2 lines.
4929
4930 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4931 rigorously the search for "class" etc. followed by ":".
4932
4933 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4934 random languages a regexp which never matches rather than nil.
4935
4936 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4937
4938 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4939 (c-awk-regexp-one-line-possibly-open-char-list-re)
4940 (c-awk-one-line-possibly-open-regexp-re)
4941 (c-awk-one-line-non-syn-ws*-re): Remove.
4942 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4943 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4944 (c-awk-space*-unclosed-regexp-/-re): New constants.
4945 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4946 aren't regexp delimiters.
4947
4948 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4949 handling for a rare situation in AWK Mode involving unterminated
4950 strings/regexps.
4951
4952 2013-08-23 Glenn Morris <rgm@gnu.org>
4953
4954 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4955
4956 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4957
4958 * files.el (create-file-buffer): If the result would begin with
4959 spaces, prepend a "|" instead of removing them. (Bug#15162)
4960
4961 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4962
4963 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4964 text-properties (bug#15155).
4965
4966 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4967 exist any more.
4968 (calc-keypad-redraw): Remove unused var `pad'.
4969 (calc-keypad-press): Remove unused var `menu'.
4970
4971 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4972
4973 * window.el (display-buffer-pop-up-frame):
4974 Call pop-up-frame-function with BUFFER current so `make-frame' will
4975 use it as the new frame's buffer (Bug#15133).
4976
4977 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4978
4979 * calendar/timeclock.el: Minor cleanups.
4980 (timeclock-ask-before-exiting, timeclock-use-display-time):
4981 Use `symbol'.
4982 (timeclock-modeline-display): Define as alias before the
4983 actual definition.
4984 (timeclock-mode-line-display): Use define-minor-mode.
4985 (timeclock-day-list-template): Make it a function, add an argument.
4986 (timeclock-day-list-required, timeclock-day-list-length)
4987 (timeclock-day-list-debt, timeclock-day-list-span)
4988 (timeclock-day-list-break): Adjust calls accordingly.
4989
4990 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4991
4992 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4993 Use read--expression so that completion works again.
4994
4995 2013-08-21 Sam Steingold <sds@gnu.org>
4996
4997 Add rudimentary inferior shell interaction
4998 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4999 (sh-set-shell): Reset it.
5000 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5001 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5002
5003 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * align.el: Use lexical-binding.
5006 (align-region): Simplify accordingly.
5007
5008 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5009
5010 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5011
5012 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5013 `non-essential' up.
5014
5015 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5016
5017 * net/tramp.el:
5018 * net/tramp-adb.el:
5019 * net/tramp-cmds.el:
5020 * net/tramp-ftp.el:
5021 * net/tramp-gvfs.el:
5022 * net/tramp-gw.el:
5023 * net/tramp-sh.el: Don't wrap external variable declarations by
5024 `eval-when-compile'.
5025
5026 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5027
5028 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5029 now that Emacs supports ImageMagick animations.
5030
5031 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5032
5033 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5034 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5035
5036 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5037
5038 * window.el (mouse-autoselect-window-select): Do autoselect when
5039 mouse pointer is on margin.
5040
5041 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5042
5043 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5044
5045 2013-08-16 Glenn Morris <rgm@gnu.org>
5046
5047 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5048 Handle "Remote Directory" response of some clients. (Bug#15058)
5049
5050 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5051 Tweak warning. (Bug#14926)
5052
5053 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5054 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5055
5056 * image-mode.el (image-mode-map): Add menu items to reverse,
5057 increase, decrease, reset animation speed.
5058 (image--set-speed, image-increase-speed, image-decrease-speed)
5059 (image-reverse-speed, image-reset-speed): New functions.
5060 (image-mode-map): Add bindings for speed commands.
5061
5062 * image.el (image-animate-get-speed, image-animate-set-speed):
5063 New functions.
5064 (image-animate-timeout): Respect image :speed property.
5065
5066 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5067
5068 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5069 previous line (bug#15101).
5070 (debugger-eval-expression, debugger-record-expression):
5071 Use read--expression (bug#15102).
5072
5073 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5074
5075 Remove byte compiler warnings, visible when compiling with
5076 `byte-compile-force-lexical-warnings' set to t.
5077
5078 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5079 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5080 (tramp-handle-unhandled-file-name-directory)
5081 (tramp-handle-file-notify-add-watch, tramp-action-login)
5082 (tramp-action-succeed, tramp-action-permission-denied)
5083 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5084 arguments with "_".
5085
5086 * net/tramp-adb.el (tramp-adb-parse-device-names)
5087 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5088 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5089 (tramp-adb-handle-file-truename): Remove unused arguments.
5090
5091 * net/tramp-cache.el (tramp-flush-directory-property)
5092 (tramp-flush-connection-property, tramp-list-connections)
5093 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5094
5095 * net/tramp-compat.el (tramp-compat-make-temp-file):
5096 Rename FILENAME to F.
5097
5098 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5099 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5100 (tramp-zeroconf-parse-workstation-device-names)
5101 (tramp-zeroconf-parse-webdav-device-names)
5102 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5103
5104 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5105 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5106
5107 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5108 arguments.
5109 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5110 (tramp-sh-handle-insert-file-contents-literally)
5111 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5112 with "_".
5113 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5114 Remove unused variables.
5115
5116 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5117 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5118 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5119
5120 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5121 Make them a defconst.
5122 (tramp-uuencode-region): Remove unused variable.
5123
5124 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5125
5126 * frameset.el (frameset--prop-setter): New function.
5127 (frameset-prop): Add gv-setter declaration.
5128 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5129 parameter was already set in FILTERED. Doc fix.
5130 (frameset--record-minibuffer-relationships): Allow saving a
5131 minibufferless frame without its corresponding minibuffer frame.
5132 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5133 frame, if the frame id matches.
5134 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5135 frames before orphaned ones.
5136 (frameset-restore): Warn about orphaned windows, instead of error out.
5137
5138 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5139
5140 * window.el (window-make-atom): Don't overwrite parameter
5141 already present.
5142 (display-buffer-in-atom-window): Handle special case where we
5143 split an already atomic window.
5144 (window--major-non-side-window, display-buffer-in-side-window)
5145 (window--side-check): Ignore minibuffer window when walking
5146 window tree.
5147 (window-deletable-p): Return 'frame only if no other frame uses
5148 our minibuffer window.
5149 (record-window-buffer): Run buffer-list-update-hook.
5150 (split-window): Make sure window--check-frame won't destroy an
5151 existing atomic window in case the new window gets nested
5152 inside.
5153 (display-buffer-at-bottom): Ignore minibuffer window when
5154 walking window tree. Don't split a side window.
5155 (pop-to-buffer): Don't set-buffer here, the select-window call
5156 should do that.
5157 (mouse-autoselect-window-select): Autoselect only if we are in the
5158 text portion of the window.
5159
5160 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5161
5162 * net/shr.el (shr-parse-image-data): New function to grab both the
5163 data itself and the Content-Type.
5164 (shr-put-image): Use it.
5165
5166 * net/eww.el (eww-display-image): Ditto.
5167
5168 * image.el (image-content-type-suffixes): New variable.
5169
5170 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5171
5172 * progmodes/python.el (python-imenu--build-tree)
5173 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5174
5175 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5176
5177 * simple.el (backward-word): Mention the optional argument.
5178
5179 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5180
5181 * frameset.el (frameset--make): Rename constructor from make-frameset.
5182 (frameset-p, frameset-valid-p): Don't autoload.
5183 (frameset-valid-p): Use normal accessors.
5184
5185 2013-08-13 Glenn Morris <rgm@gnu.org>
5186
5187 * progmodes/compile.el (compile-command): Tweak example in doc.
5188 * obsolete/scribe.el (scribe-mode):
5189 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5190
5191 * mail/feedmail.el (feedmail-confirm-outgoing)
5192 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5193
5194 * cus-start.el (truncate-partial-width-windows): Fix type.
5195
5196 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5197
5198 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5199
5200 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5201
5202 * emacs-lisp/timer.el (timer--time-setter): New function.
5203 (timer--time): Use it as gv-setter.
5204
5205 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5206 setter is not a symbol.
5207
5208 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5209
5210 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5211 if sending fails. This makes debugging easier.
5212
5213 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5214
5215 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5216 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5217 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5218
5219 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5220
5221 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5222
5223 2013-08-12 Glenn Morris <rgm@gnu.org>
5224
5225 * format.el (format-annotate-function):
5226 Handle read-only text properties in the source. (Bug#14887)
5227
5228 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5229
5230 * net/eww.el (eww-display-html): Ignore coding system errors.
5231 One web site uses "utf-8lias" as the coding system.
5232
5233 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5234
5235 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5236
5237 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5238
5239 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5240 (tutorial--detailed-help): Remove unused local variables.
5241 (tutorial--save-tutorial-to): Use ignore-errors.
5242 (help-with-tutorial): Use looking-at-p.
5243
5244 * view.el (view-buffer-other-window, view-buffer-other-frame):
5245 Mark unused arguments.
5246
5247 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5248 (woman-select-symbol-fonts, woman, woman-find-file)
5249 (woman-insert-file-contents, woman-non-underline-faces):
5250 Use string-match-p.
5251 (woman1-unquote): Move declaration.
5252
5253 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5254 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5255 argument. Remove unused local variable.
5256 (xml-parse-elem-type): Use string-match-p.
5257 (xml-substitute-numeric-entities): Use ignore-errors.
5258
5259 * calculator.el (calculator): Mark unused argument.
5260 (calculator-paste, calculator-quit, calculator-integer-p):
5261 Use ignore-errors.
5262 (calculator-string-to-number, calculator-decimal, calculator-exp)
5263 (calculator-op-or-exp): Use string-match-p.
5264
5265 * dired.el (dired-buffer-more-recently-used-p): Declare.
5266 (dired-insert-set-properties, dired-insert-old-subdirs):
5267 Use ignore-errors.
5268
5269 * dired-aux.el (dired-compress): Use ignore-errors.
5270 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5271 (dired-do-async-shell-command, dired-do-shell-command)
5272 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5273 (dired-insert-subdir-validate): Use string-match-p.
5274 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5275 (dired-add-entry): Use string-match-p, looking-at-p.
5276 (dired-insert-subdir-newpos): Remove unused local variable.
5277
5278 * filenotify.el (file-notify-callback): Remove unused local variable.
5279
5280 * filesets.el (filesets-error): Mark unused argument.
5281 (filesets-which-command-p, filesets-filter-dir-names)
5282 (filesets-directory-files, filesets-get-external-viewer)
5283 (filesets-ingroup-get-data): Use string-match-p.
5284
5285 * find-file.el (ff-other-file-name, ff-other-file-name)
5286 (ff-find-the-other-file, ff-cc-hh-converter):
5287 Remove unused local variables.
5288 (ff-get-file-name): Use string-match-p.
5289 (ff-all-dirs-under): Use ignore-errors.
5290
5291 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5292 (follow-select-if-visible): Remove unused local variable.
5293
5294 * forms.el (read-file-filter): Move declaration.
5295 (forms--make-format, forms--make-parser, forms-insert-record):
5296 Quote function with #'.
5297 (forms--update): Use string-match-p. Quote function with #'.
5298
5299 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5300 (help-make-xrefs): Use looking-at-p.
5301 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5302
5303 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5304 (ibuffer-confirm-operation-on): Use string-match-p.
5305
5306 * msb.el (msb-item-handler, msb-dired-item-handler):
5307 Mark unused arguments.
5308
5309 * ses.el (ses-decode-cell-symbol)
5310 (ses-kill-override): Remove unused local variable.
5311 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5312 (ses-load): Use ignore-errors, looking-at-p.
5313 (ses-jump-safe): Use ignore-errors.
5314 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5315
5316 * tabify.el (untabify, tabify): Mark unused arguments.
5317
5318 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5319 Mark unused argument.
5320 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5321 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5322
5323 * emacs-lisp/timer.el (timer--time): Define setter with
5324 gv-define-setter to avoid deprecation warning.
5325
5326 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5327 (*record-cmpl-statistics-p*): Remove (was commented out).
5328 (cmpl-statistics-block): Remove (body was commented out).
5329 All callers changed.
5330 (add-completions-from-buffer, load-completions-from-file):
5331 Remove unused variables.
5332
5333 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5334
5335 * filecache.el (file-cache-delete-file-list):
5336 Print message only when told so.
5337 (file-cache-files-matching): Use #' in mapconcat argument.
5338
5339 * ffap.el (ffap-url-at-point): Fix reference to variable
5340 thing-at-point-default-mail-uri-scheme.
5341
5342 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * subr.el (define-error): New function.
5345 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5346 error-file-not-found and define with define-error.
5347 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5348 and define with define-error.
5349 * userlock.el (file-locked, file-supersession):
5350 * simple.el (mark-inactive):
5351 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5352 * progmodes/ada-mode.el (ada-mode-errors):
5353 * play/life.el (life-extinct):
5354 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5355 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5356 * nxml/rng-util.el (rng-error):
5357 * nxml/rng-uri.el (rng-uri-error):
5358 * nxml/rng-match.el (rng-compile-error):
5359 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5360 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5361 * nxml/nxml-rap.el (nxml-scan-error):
5362 * nxml/nxml-outln.el (nxml-outline-error):
5363 * net/soap-client.el (soap-error):
5364 * net/gnutls.el (gnutls-error):
5365 * net/ange-ftp.el (ftp-error):
5366 * mpc.el (mpc-proc-error):
5367 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5368 (json-number-format, json-string-escape, json-string-format)
5369 (json-key-format, json-object-format):
5370 * jka-compr.el (compression-error):
5371 * international/quail.el (quail-error):
5372 * international/kkc.el (kkc-error):
5373 * emacs-lisp/ert.el (ert-test-failed):
5374 * calc/calc.el (calc-error, inexact-result, math-overflow)
5375 (math-underflow):
5376 * bookmark.el (bookmark-error-no-filename):
5377 * epg.el (epg-error): Define with define-error.
5378
5379 * time.el (display-time-event-handler)
5380 (display-time-next-load-average): Don't call sit-for since it seems
5381 unnecessary (bug#15045).
5382
5383 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5384 Use #' instead of ' to quote functions.
5385 (checkdoc-output-mode): Use setq-local.
5386 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5387 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5388 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5389 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5390 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5391 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5392 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5393 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5394
5395 * ido.el (ido-completion-help): Fix up compiler warning.
5396
5397 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5398
5399 * frameset.el (frameset-p): Add autoload cookie.
5400 (frameset--jump-to-register): New function, based on code moved from
5401 register.el.
5402 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5403
5404 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5405 (frameset-restore, frameset-save, frameset-session-filter-alist):
5406 Remove declarations.
5407 (register-alist): Doc fix.
5408 (frameset-to-register): Move to frameset.el.
5409 (jump-to-register, describe-register-1): Remove frameset-specific code.
5410
5411 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5412
5413 * allout-widgets.el (allout-widgets-pre-command-business)
5414 (allout-widgets-post-command-business)
5415 (allout-widgets-after-change-handler)
5416 (allout-decorate-item-and-context, allout-set-boundary-marker)
5417 (allout-body-modification-handler)
5418 (allout-graphics-modification-handler): Mark ignored arguments.
5419 (allout-widgets-post-command-business)
5420 (allout-widgets-exposure-change-processor)
5421 (allout-widgets-exposure-undo-processor)
5422 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5423 (allout-parse-item-at-point, allout-decorate-item-guides)
5424 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5425 * allout.el (epa-passphrase-callback-function): Declare.
5426 (allout-overlay-insert-in-front-handler)
5427 (allout-overlay-interior-modification-handler)
5428 (allout-isearch-end-handler, allout-chart-siblings)
5429 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5430 (allout-yank-processing, allout-process-exposed)
5431 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5432 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5433 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5434 (lisp-indent-defform): Mark ignored arguments.
5435 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5436 (calculate-lisp-indent): Remove unused variables.
5437 * international/characters.el (indian-2-column, arabic-2-column)
5438 (tibetan): Mark ignored arguments.
5439 (use-cjk-char-width-table): Mark ignored arguments.
5440 Remove unused variables.
5441 * international/fontset.el (build-default-fontset-data)
5442 (x-compose-font-name, create-fontset-from-fontset-spec):
5443 Mark ignored arguments.
5444 (fontset-plain-name): Remove unused variables.
5445 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5446 (keyboard-coding-system): Mark ignored arguments.
5447 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5448 * help.el (resize-temp-buffer-window):
5449 * window.el (display-buffer-in-major-side-window)
5450 (display-buffer-in-side-window, display-buffer-in-previous-window):
5451 Remove unused variables.
5452 * isearch.el (isearch-forward-symbol):
5453 * version.el (emacs-bzr-version-bzr):
5454 * international/mule-cmds.el (current-language-environment):
5455 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5456 (x-handle-display):
5457 * term/pc-win.el (x-list-fonts, x-display-planes)
5458 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5459 (x-server-version, x-display-screens, x-display-mm-height)
5460 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5461 (x-selection-owner-p, x-own-selection-internal)
5462 (x-disown-selection-internal, x-get-selection-internal)
5463 (msdos-initialize-window-system):
5464 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5465 * term/x-win.el (x-handle-no-bitmap-icon):
5466 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5467 (vc-default-find-file-hook, vc-default-extra-menu):
5468 Mark ignored arguments.
5469
5470 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5471
5472 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5473 break-condition in the context of the debugged code (bug#12685).
5474
5475 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5476
5477 * comint.el:
5478 Do not use an overlay to highlight the last prompt. (Bug#14744)
5479 (comint-mode): Make comint-last-prompt buffer local.
5480 (comint-last-prompt): New variable.
5481 (comint-last-prompt-overlay): Remove. Superseded by
5482 comint-last-prompt.
5483 (comint-snapshot-last-prompt, comint-output-filter):
5484 Use comint-last-prompt.
5485
5486 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5487
5488 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5489 (frameset-save): Check validity of the resulting frameset.
5490
5491 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5492
5493 * ido.el (ido-record-command): Add doc string.
5494
5495 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5496
5497 * frameset.el (frameset): Do not disable creation of the default
5498 frameset-p predicate. Doc fix.
5499 (frameset-valid-p): New function, copied from the old predicate-p.
5500 Add additional checks.
5501 (frameset-restore): Check with frameset-valid-p.
5502 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5503 (frameset-name, frameset-description, frameset-properties)
5504 (frameset-states): Add docstring.
5505 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5506 (frameset-filter-alist): Doc fixes.
5507
5508 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5509
5510 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5511
5512 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5513
5514 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5515 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5516 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5517 (byte-compile-normal-call): Remove obsolescence check.
5518
5519 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5520
5521 * frameset.el (frameset-restore): Doc fix.
5522
5523 * register.el (frameset-frame-id, frameset-frame-with-id)
5524 (frameset-p, frameset-restore, frameset-save): Declare.
5525 (register-alist): Document framesets.
5526 (frameset-session-filter-alist): Declare.
5527 (frameset-to-register): New function.
5528 (jump-to-register): Implement jumping to framesets. Doc fix.
5529 (describe-register-1): Describe framesets.
5530
5531 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5532
5533 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5534
5535 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5536 Use lexical-binding.
5537
5538 * frameset.el (frameset): Use type vector, not list (incompatible
5539 change). Do not declare a new constructor, use the default one.
5540 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5541 `name' and `description', respectively, and add read-only slot
5542 `timestamp'. Doc fixes.
5543 (frameset-copy, frameset-persistent-filter-alist)
5544 (frameset-filter-alist, frameset-switch-to-gui-p)
5545 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5546 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5547 (frameset-filter-iconified, frameset-keep-original-display-p):
5548 Doc fixes.
5549 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5550 Rename from frameset-filter-(save|restore)-param. All callers changed.
5551 Doc fix.
5552 (frameset-p): Adapt to change to vector and be more thorough.
5553 Change arg name to OBJECT. Doc fix.
5554 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5555 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5556 All callers changed.
5557 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5558 All callers changed.
5559 (frameset--record-minibuffer-relationships): Rename from
5560 frameset--process-minibuffer-frames. All callers changed.
5561 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5562 Use new default constructor (again). Doc fix.
5563 (frameset--find-frame-if): Rename from `frameset--find-frame.
5564 All callers changed.
5565 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5566 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5567 Doc fix.
5568 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5569 PARAMETERS and WINDOW-STATE, respectively.
5570 (frameset-restore): Add new keyword argument PREDICATE.
5571 Reset frameset--target-display to nil. Doc fix.
5572
5573 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5574
5575 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5576 (bat-mode): Use it.
5577 (bat-mode-syntax-table): Mark \n as end-of-comment.
5578 (bat-font-lock-keywords): Remove comment rule.
5579
5580 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5581 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5582
5583 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5584 (byte-compile-callargs-warn): Use `push'.
5585 (byte-compile-arglist-warn): Ignore higher-order "calls".
5586 (byte-compile-file-form-autoload): Use `pcase'.
5587 (byte-compile-function-form): If quoting a symbol, check that it exists.
5588
5589 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5590
5591 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5592 and add a few popular commands found in batch files.
5593 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5594 (dos-mode): Doc fixes.
5595
5596 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5599 (dos-mode): Use setq-local. Add space after "rem".
5600 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5601 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5602
5603 2013-08-07 Arni Magnusson <arnima@hafro.is>
5604
5605 * progmodes/dos.el: New file.
5606 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5607 dos-mode.
5608
5609 2013-08-06 Glenn Morris <rgm@gnu.org>
5610
5611 * calendar/calendar.el: Add new faces, and day-header-array.
5612 (calendar-weekday-header, calendar-weekend-header)
5613 (calendar-month-header): New faces.
5614 (calendar-day-header-construct): New function.
5615 (calendar-day-header-width): Also :set calendar-day-header-array.
5616 (calendar-american-month-header, calendar-european-month-header)
5617 (calendar-iso-month-header): Use calendar- faces.
5618 (calendar-generate-month):
5619 Use calendar-day-header-array for day headers; apply faces to them.
5620 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5621 (calendar-abbrev-construct): Add optional maxlen argument.
5622 (calendar-day-name-array): Doc fix.
5623 (calendar-day-name-array, calendar-abbrev-length)
5624 (calendar-day-abbrev-array):
5625 Also :set calendar-day-header-array, and maybe redraw.
5626 (calendar-day-header-array): New option. (Bug#15007)
5627 (calendar-font-lock-keywords): Set to nil and make obsolete.
5628 (calendar-day-name): Add option to use header array.
5629
5630 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5631
5632 * net/shr.el (shr-render-td): Remove debugging.
5633 (shr-render-td): Make width computation consistent by defaulting
5634 all zero-width columns to 10 characters. This may not be optimal,
5635 but it's at least consistent.
5636 (shr-make-table-1): Redo last change to fix the real problem in
5637 colspan handling.
5638
5639 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5640
5641 * files.el (cache-long-line-scans):
5642 Make obsolete alias to `cache-long-scans'.
5643
5644 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5645
5646 * frameset.el (frameset, frameset-filter-alist)
5647 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5648 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5649 (frameset-compute-pos): Rename from frameset--compute-pos,
5650 and add docstring.
5651 (frameset-move-onscreen): Use frameset-compute-pos.
5652 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5653
5654 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5655 Fix typos in docstrings.
5656
5657 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5658
5659 * frame.el (get-other-frame): Tiny cleanup.
5660
5661 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5662
5663 * vc/vc.el (vc-default-ignore-completion-table):
5664 Silence byte-compiler warning.
5665
5666 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5667 slot , which can indeed be nil.
5668 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5669 Move entry for `left' from persistent to live filter alist.
5670 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5671 Doc fixes.
5672 (frameset-filter-params): When restoring a frame, copy items added to
5673 `filtered', to avoid unwittingly modifying the original parameters.
5674 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5675 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5676
5677 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5678 to use looking-at-p instead of looking-at. (Bug#15028)
5679
5680 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5681
5682 Revert introduction of isearch-filter-predicates (bug#14714).
5683 Rely on add-function instead.
5684 * isearch.el (isearch-filter-predicates): Rename it back to
5685 isearch-filter-predicate.
5686 (isearch-message-prefix): Use advice-function-mapc and advice
5687 properties to get the isearch-message-prefix.
5688 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5689 instead of run-hook-with-args-until-failure.
5690 (isearch-filter-visible): Not obsolete any more.
5691 * loadup.el: Preload nadvice.
5692 * replace.el (perform-replace): Revert to funcall
5693 instead of run-hook-with-args-until-failure.
5694 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5695 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5696 dired-isearch-filenames-toggle; make it into a proper minor mode.
5697 Use add/remove-function.
5698 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5699 Call the minor-mode rather than add/remove-hook.
5700 (dired-isearch-filter-filenames):
5701 Remove isearch-message-prefix property.
5702 * info.el (Info--search-loop): New function, extracted from Info-search.
5703 Funcall isearch-filter-predicate instead of
5704 run-hook-with-args-until-failure isearch-filter-predicates.
5705 (Info-search): Use it.
5706 (Info-mode): Use isearch-filter-predicate instead of
5707 isearch-filter-predicates.
5708
5709 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5710
5711 Do not call to `selected-window' where it is assumed by default.
5712 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5713 `window-hscroll', `window-width', `window-height', `window-buffer',
5714 `window-frame', `window-start', `window-point', `next-window'
5715 and `window-display-table'.
5716 * abbrev.el (abbrev--default-expand):
5717 * bs.el (bs--show-with-configuration):
5718 * buff-menu.el (Buffer-menu-mouse-select):
5719 * calc/calc.el (calc):
5720 * calendar/calendar.el (calendar-generate-window):
5721 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5722 (diary-make-entry):
5723 * comint.el (send-invisible, comint-dynamic-complete-filename)
5724 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5725 * completion.el (complete):
5726 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5727 * disp-table.el (describe-current-display-table):
5728 * doc-view.el (doc-view-insert-image):
5729 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5730 * ehelp.el (with-electric-help):
5731 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5732 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5733 * emacs-lisp/helper.el (Helper-help-scroller):
5734 * emulation/cua-base.el (cua--post-command-handler-1):
5735 * eshell/esh-mode.el (eshell-output-filter):
5736 * ffap.el (ffap-gnus-wrapper):
5737 * help-macro.el (make-help-screen):
5738 * hilit-chg.el (highlight-compare-buffers):
5739 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5740 * hl-line.el (global-hl-line-highlight):
5741 * icomplete.el (icomplete-simple-completing-p):
5742 * isearch.el (isearch-done):
5743 * jit-lock.el (jit-lock-stealth-fontify):
5744 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5745 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5746 * mpc.el (mpc-tagbrowser, mpc):
5747 * net/rcirc.el (rcirc-any-buffer):
5748 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5749 * play/landmark.el (landmark-max-width, landmark-max-height):
5750 * play/zone.el (zone):
5751 * progmodes/compile.el (compilation-goto-locus):
5752 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5753 * progmodes/etags.el (find-tag-other-window):
5754 * progmodes/fortran.el (fortran-column-ruler):
5755 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5756 * progmodes/verilog-mode.el (verilog-point-text):
5757 * reposition.el (reposition-window):
5758 * rot13.el (toggle-rot13-mode):
5759 * server.el (server-switch-buffer):
5760 * shell.el (shell-dynamic-complete-command)
5761 (shell-dynamic-complete-environment-variable):
5762 * simple.el (insert-buffer, set-selective-display)
5763 (delete-completion-window):
5764 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5765 (speedbar-recenter):
5766 * startup.el (fancy-splash-head):
5767 * textmodes/ispell.el (ispell-command-loop):
5768 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5769 * tutorial.el (help-with-tutorial):
5770 * vc/add-log.el (add-change-log-entry):
5771 * vc/compare-w.el (compare-windows):
5772 * vc/ediff-help.el (ediff-indent-help-message):
5773 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5774 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5775 (ediff-setup-control-frame):
5776 * vc/emerge.el (emerge-position-region):
5777 * vc/pcvs-util.el (cvs-bury-buffer):
5778 * window.el (walk-windows, mouse-autoselect-window-select):
5779 * winner.el (winner-set-conf, winner-undo): Related users changed.
5780
5781 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5782
5783 * frameset.el (frameset--set-id): Doc fix.
5784 (frameset-frame-id, frameset-frame-id-equal-p)
5785 (frameset-locate-frame-id): New functions.
5786 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5787 (frameset-restore): Use them.
5788
5789 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5790
5791 Do not call to `selected-frame' where it is assumed by default.
5792 Affected functions are `raise-frame', `redraw-frame',
5793 `frame-first-window', `frame-terminal' and `delete-frame'.
5794 * calendar/appt.el (appt-disp-window):
5795 * epg.el (epg-wait-for-completion):
5796 * follow.el (follow-delete-other-windows-and-split)
5797 (follow-avoid-tail-recenter):
5798 * international/mule.el (set-terminal-coding-system):
5799 * mail/rmail.el (rmail-mail-return):
5800 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5801 * progmodes/f90.el (f90-add-imenu-menu):
5802 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5803 * server.el (server-switch-buffer):
5804 * simple.el (delete-completion-window):
5805 * talk.el (talk):
5806 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5807 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5808 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5809 * vc/ediff.el (ediff-documentation): Related users changed.
5810 * frame.el (selected-terminal): Remove the leftover.
5811
5812 2013-08-05 Glenn Morris <rgm@gnu.org>
5813
5814 * calendar/calendar.el (calendar-generate-month):
5815 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5816 (calendar-generate-month, calendar-font-lock-keywords):
5817 Fix for calendar-day-header-width > length of any day name.
5818
5819 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5820
5821 * desktop.el (desktop-clear): Use new name of sort predicate.
5822
5823 * frameset.el (frameset): Add docstring. Move :version property to its
5824 own `version' slot.
5825 (frameset-copy): Rename from copy-frameset.
5826 (frameset-p): Check more thoroughly.
5827 (frameset-prop): Do not check for :version, which is no longer a prop.
5828 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5829 Use new :never value instead of t.
5830 (frameset-filter-alist): Expand and clarify docstring.
5831 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5832 (frameset-filter-minibuffer, frameset-filter-save-param)
5833 (frameset-filter-restore-param, frameset-filter-iconified):
5834 Add pointer to docstring of frameset-filter-alist.
5835 (frameset-filter-params): Rename filter values to be more meaningful:
5836 :never instead of t, and reverse the meanings of :save and :restore.
5837 (frameset--process-minibuffer-frames): Clarify error message.
5838 (frameset-save): Avoid unnecessary and confusing call to framep.
5839 Use new BOA constructor for framesets.
5840 (frameset--reuse-list): Doc fix.
5841 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5842 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5843 (frameset-minibufferless-first-p): Doc fix.
5844 Rename from frameset-sort-frames-for-deletion.
5845 (frameset-restore): Doc fixes. Use new function names.
5846 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5847
5848 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5849
5850 * desktop.el (desktop-restore-forces-onscreen)
5851 (desktop-restore-reuses-frames): Document :keyword constant values.
5852 (desktop-filter-parameters-alist): Remove, now identical to
5853 frameset-filter-alist.
5854 (desktop--filter-tty*): Remove, moved to frameset.el.
5855 (desktop-save-frameset, desktop-restore-frameset):
5856 Do not pass :filters argument.
5857
5858 * frameset.el (frameset-live-filter-alist)
5859 (frameset-persistent-filter-alist): New variables.
5860 (frameset-filter-alist): Use them. Add autoload cookie.
5861 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5862 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5863 `frameset--id' (it's supposed to be internal to frameset.el).
5864 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5865 (frameset--initial-params): New function.
5866 (frameset--get-frame): Use it. Doc fix.
5867 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5868 Accept :all, not 'all.
5869 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5870 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5871 with fbound symbols. Fix frame id matching, and remove matching ids if
5872 the frame being restored is deleted. Obey :delete.
5873
5874 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5875
5876 * subr.el (macrop): New function.
5877 (text-clone--maintaining): New var.
5878 (text-clone--maintain): Rename from text-clone-maintain. Use it
5879 instead of inhibit-modification-hooks.
5880
5881 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5882 a proxy, so as handle autoloads and redefinitions of the target.
5883 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5884
5885 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5886 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5887 (pcase--mutually-exclusive-p): New function.
5888 (pcase--split-consp): Use it.
5889 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5890 mutually exclusive with the current predicate.
5891
5892 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5893 (edebug-macrop): Remove. Use `macrop' instead.
5894 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5895 (ad-macro-p):
5896 * eshell/esh-cmd.el (eshell-macrop):
5897 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5898
5899 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5900
5901 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5902 (advice-mapc): New function, using it.
5903 (advice-function-member-p): New function.
5904 (advice--normalize): Store the cdr in advice--saved-rewrite since
5905 that's the part that will be changed.
5906 (advice--symbol-function): New function.
5907 (advice-remove): Handle removal before the function is defined.
5908 Adjust to new advice--saved-rewrite.
5909 (advice-member-p): Use advice-function-member-p and
5910 advice--symbol-function.
5911
5912 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5913
5914 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5915 (frameset-filter-minibuffer): Doc fix.
5916 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5917 (frameset--set-id, frameset--process-minibuffer-frames)
5918 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5919 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5920
5921 * desktop.el (desktop-clear): Only delete frames when called
5922 interactively and desktop-restore-frames is non-nil. Doc fix.
5923 (desktop-read): Set desktop-saved-frameset to nil.
5924
5925 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5926
5927 * vc/vc.el (vc-ignore): Rewrite.
5928 (vc-default-ignore-completion-table):
5929 (vc--read-lines):
5930 (vc--add-line, vc--remove-regexp): New functions.
5931
5932 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5933 (vc-svn-ignore-completion-table): New function.
5934
5935 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5936 (vc-hg-ignore-completion-table):
5937 (vc-hg-find-ignore-file): New functions.
5938
5939 * vc/vc-git.el (vc-git-ignore): Rewrite.
5940 (vc-git-ignore-completion-table):
5941 (vc-git-find-ignore-file): New functions.
5942
5943 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5944
5945 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5946 (vc-bzr-ignore-completion-table):
5947 (vc-bzr-find-ignore-file): New functions.
5948
5949 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5950
5951 * frameset.el (frameset-prop): New function and setter.
5952 (frameset-save): Do not modify frame list passed by the caller.
5953
5954 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5955
5956 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5957
5958 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5959
5960 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5961 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5962
5963 * custom.el (custom-initialize-default, custom-initialize-set)
5964 (custom-initialize-reset, custom-initialize-changed): Affect the
5965 toplevel-default-value (bug#6275, bug#14586).
5966 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5967 for bug#6275.
5968
5969 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5970
5971 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5972 Add cl-def* expressions.
5973
5974 * frameset.el (frameset-filter-params): Fix order of arguments.
5975
5976 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5977
5978 Move code related to saving frames to frameset.el.
5979 * desktop.el: Require frameset.
5980 (desktop-restore-frames): Doc fix.
5981 (desktop-restore-reuses-frames): Rename from
5982 desktop-restoring-reuses-frames.
5983 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5984 (desktop-clear): Clear frames too.
5985 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5986 (desktop--filter-tty*, desktop-save, desktop-read):
5987 Use frameset functions.
5988 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5989 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5990 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5991 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5992 (desktop--process-minibuffer-frames, desktop-save-frames)
5993 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5994 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5995 (desktop--sort-states, desktop-restoring-frames-p)
5996 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5997 (desktop-restoring-frameset-p, desktop-restore-frameset)
5998 (desktop--check-dont-save, desktop-save-frameset): New functions.
5999 (desktop--app-id): New constant.
6000 (desktop-first-buffer, desktop-buffer-ok-count)
6001 (desktop-buffer-fail-count): Move before first use.
6002 * frameset.el: New file.
6003
6004 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6005
6006 * files.el: Use lexical-binding.
6007 (dir-locals-read-from-file): Remove unused `err' variable.
6008 (hack-dir-local-variables--warned-coding): New var.
6009 (hack-dir-local-variables): Use it to avoid repeated warnings.
6010 (make-backup-file-name--default-function): New function.
6011 (make-backup-file-name-function): Use it as default.
6012 (buffer-stale--default-function): New function.
6013 (buffer-stale-function): Use it as default.
6014 (revert-buffer-insert-file-contents--default-function): New function.
6015 (revert-buffer-insert-file-contents-function): Use it as default.
6016 (insert-directory): Avoid add-to-list.
6017
6018 * autorevert.el (auto-revert-handler): Simplify.
6019 Use buffer-stale--default-function.
6020
6021 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6022
6023 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6024
6025 * whitespace.el (whitespace-ensure-local-variables): New function.
6026 (whitespace-cleanup-region): Call it.
6027 (whitespace-turn-on): Call it.
6028
6029 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6030
6031 Complete file name handlers.
6032
6033 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6034 (tramp-handle-verify-visited-file-modtime)
6035 (tramp-handle-file-notify-rm-watch): New functions.
6036 (tramp-call-process): Do not bind `default-directory'.
6037
6038 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6039 Order alphabetically.
6040 [access-file, add-name-to-file, dired-call-process]:
6041 [dired-compress-file, file-acl, file-notify-rm-watch]:
6042 [file-ownership-preserved-p, file-selinux-context]:
6043 [make-directory-internal, make-symbolic-link, set-file-acl]:
6044 [set-file-selinux-context, set-visited-file-modtime]:
6045 [verify-visited-file-modtime]: Add handler.
6046 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6047
6048 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6049 [file-notify-add-watch, file-notify-rm-watch]:
6050 [set-file-times, set-visited-file-modtime]:
6051 [verify-visited-file-modtime]: Add handler.
6052 (with-tramp-gvfs-error-message)
6053 (tramp-gvfs-handle-set-visited-file-modtime)
6054 (tramp-gvfs-fuse-file-name): Remove.
6055 (tramp-gvfs-handle-file-notify-add-watch)
6056 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6057 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6058
6059 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6060 Order alphabetically.
6061 [file-notify-rm-watch ]: Use default Tramp handler.
6062 [executable-find]: Remove private handler.
6063 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6064 `default-directory'.
6065 (tramp-sh-handle-executable-find)
6066 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6067 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6068 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6069 Do not use `format' in `tramp-message'.
6070
6071 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6072 [file-notify-rm-watch, set-visited-file-modtime]:
6073 [verify-visited-file-modtime]: Add handler.
6074 (tramp-smb-call-winexe): Do not bind `default-directory'.
6075
6076 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6077
6078 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6079
6080 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6081
6082 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6083 use it.
6084 (log-view-diff-changeset): Same.
6085 (log-view-diff-common): Call backend command `previous-revision'
6086 to find out the previous revision, in both cases. Swap the
6087 variables `to' and `fr', so that `fr' usually refers to the
6088 earlier revision (Bug#14989).
6089
6090 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6091
6092 * ibuf-ext.el (ibuffer-filter-by-filename):
6093 Make it work with dired buffers too.
6094
6095 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6096
6097 * emacs-lisp/re-builder.el (reb-color-display-p):
6098 * files.el (save-buffers-kill-terminal):
6099 * net/browse-url.el (browse-url):
6100 * server.el (server-save-buffers-kill-terminal):
6101 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6102 Prefer nil to selected-frame for the first arg of frame-parameter.
6103
6104 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6105
6106 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6107
6108 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6109
6110 * minibuffer.el (completion--twq-all): Try and preserve each
6111 completion's case choice (bug#14907).
6112
6113 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6114
6115 * net/network-stream.el (open-network-stream): Mention the new
6116 :nogreeting parameter.
6117 (network-stream-open-starttls): Use the :nogreeting parameter
6118 (bug#14938).
6119
6120 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6121
6122 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6123 more natural than popping.
6124
6125 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6126 (shr-urlify): Highlight under mouse.
6127
6128 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6129
6130 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6131
6132 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6133
6134 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6135 buffer for output.
6136
6137 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6138 point-min==1. Fix search string. Fix parentheses missing.
6139
6140 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6141 assume point-min==1. Fix search string. Fix parentheses missing.
6142
6143 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6144
6145 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6146 buffer for output.
6147
6148 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6149
6150 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6151 initial frame is minibuffer-less. (Bug#14841)
6152
6153 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6154
6155 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6156 option.
6157
6158 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6159 (tramp-maybe-open-connection): Use it.
6160
6161 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6162
6163 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6164 minimal set of parameters passed when creating a frame, because
6165 the minibuffer status of a frame cannot be changed later.
6166
6167 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6168
6169 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6170 replace-regexp-in-string and inadvertent omissions in previous change.
6171 (todo-filter-items): Ensure only file names are comma-separated in
6172 name of filtered items buffer.
6173
6174 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6175
6176 * desktop.el: Optionally force offscreen frames back onscreen.
6177 (desktop-restoring-reuses-frames): New option.
6178 (desktop--compute-pos, desktop--move-onscreen): New functions.
6179 (desktop--make-frame): Use desktop--move-onscreen.
6180
6181 2013-07-27 Alan Mackenzie <acm@muc.de>
6182
6183 Fontify a Java generic method as a function.
6184 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6185 value to t.
6186
6187 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6188
6189 * calendar/todo-mode.el: Add command to rename todo files.
6190 (todo-rename-file): New command.
6191 (todo-key-bindings-t): Add key binding for it. Change the
6192 bindings of todo-filter-regexp-items(-multifile) to use `x'
6193 instead of `r', since the latter is better suited to the new
6194 renaming command.
6195
6196 2013-07-27 Alan Mackenzie <acm@muc.de>
6197
6198 Make Java try-with-resources statement parse properly.
6199 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6200 (c-block-stmt-1-2-key): New language constants/variables.
6201 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6202 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6203 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6204 with c-block-stmt-1-2-key.
6205
6206 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6207
6208 * desktop.el (desktop--make-frame): Apply most frame parameters after
6209 creating the frame to force (partially or totally) offscreen frames to
6210 be restored as such.
6211
6212 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6213
6214 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6215 (Bug#14948)
6216
6217 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6218
6219 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6220 `base' arg of backtrace-frame.
6221
6222 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6223
6224 * simple.el (list-processes): Doc fix.
6225
6226 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6227
6228 * desktop.el (desktop--select-frame):
6229 Try harder to reuse existing frames.
6230
6231 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6232
6233 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6234 (edebug-eval): Use backtrace-eval.
6235 (edebug--display, edebug--recursive-edit): Don't let-bind the
6236 edebug-outer-* vars that keep track of variables we locally let-bind.
6237 (edebug-outside-excursion): Don't restore outside values of locally
6238 let-bound vars.
6239 (edebug--display): Use user-error.
6240 (cl-lexical-debug, cl-debug-env): Remove.
6241
6242 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6243
6244 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6245 are restored to be sure that they are visible before deleting any
6246 remaining ones.
6247
6248 2013-07-26 Matthias Meulien <orontee@gmail.com>
6249
6250 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6251 vc-print-root-log. (Bug#14948)
6252
6253 2013-07-26 Richard Stallman <rms@gnu.org>
6254
6255 Add aliases for encrypting mail.
6256 * epa.el (epa-mail-aliases): New option.
6257 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6258 Bind inhibit-read-only so read-only text doesn't ruin everything.
6259 (epa-mail-default-recipients): New subroutine broken out.
6260 Handle epa-mail-aliases.
6261
6262 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6263
6264 Add support for lexical variables to the debugger's `e' command.
6265 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6266 vars, except for debugger-outer-match-data.
6267 (debugger-frame-number): Move check for "on a function call" from
6268 callers into it. Add `skip-base' argument.
6269 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6270 (debugger-env-macro): Only reset the state stored in non-variables,
6271 i.e. current-buffer and match-data.
6272 (debugger-eval-expression): Rewrite using backtrace-eval.
6273 * subr.el (internal--called-interactively-p--get-frame): Remove.
6274 (called-interactively-p):
6275 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6276 `base' arg of backtrace-frame instead.
6277
6278 2013-07-26 Glenn Morris <rgm@gnu.org>
6279
6280 * align.el (align-regexp): Doc fix. (Bug#14857)
6281 (align-region): Explicit error if subexpression missing/does not match.
6282
6283 * simple.el (global-visual-line-mode):
6284 Do not duplicate the mode lighter. (Bug#14858)
6285
6286 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6287
6288 * window.el (display-buffer): In display-buffer bind
6289 split-window-keep-point to t, bug#14829.
6290
6291 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6292
6293 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6294 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6295 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6296 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6297 Change accordingly.
6298 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6299 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6300
6301 2013-07-25 Glenn Morris <rgm@gnu.org>
6302
6303 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6304
6305 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6306
6307 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6308 parameter to modify-frame-parameters if the value has not changed;
6309 this is a workaround for bug#14949.
6310 (desktop--make-frame): On cl-delete-if call, check parameter name,
6311 not full parameter.
6312
6313 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6314
6315 * vc/vc.el (vc-ignore): New function.
6316
6317 * vc/vc-svn.el (vc-svn-ignore): New function.
6318
6319 * vc/vc-hg.el (vc-hg-ignore): New function.
6320
6321 * vc/vc-git.el (vc-git-ignore): New function.
6322
6323 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6324 (vc-dir-ignore): New function.
6325
6326 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6327 (cvs-append-to-ignore): Move here from pcvs.el.
6328
6329 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6330
6331 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6332
6333 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6334
6335 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6336 (desktop-restore-frames): Warn when deleting an existing frame failed.
6337
6338 2013-07-24 Glenn Morris <rgm@gnu.org>
6339
6340 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6341
6342 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6343
6344 * filenotify.el (file-notify-supported-p):
6345 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6346 Remove functions.
6347
6348 * autorevert.el (auto-revert-use-notify):
6349 (auto-revert-notify-add-watch):
6350 * net/tramp.el (tramp-file-name-for-operation):
6351 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6352 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6353 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6354 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6355 Remove `file-notify-supported-p' entry.
6356
6357 2013-07-24 Glenn Morris <rgm@gnu.org>
6358
6359 * printing.el: Replace all uses of deleted ps-windows-system,
6360 ps-lp-system, ps-flatten-list with lpr- versions.
6361
6362 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6363
6364 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6365 checked with memq (bug#14935).
6366
6367 * files.el (revert-buffer-function): Use a non-nil default.
6368 (revert-buffer-preserve-modes): Declare var to
6369 provide access to the `preserve-modes' argument.
6370 (revert-buffer): Let-bind it.
6371 (revert-buffer--default): New function, extracted from revert-buffer.
6372
6373 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6374
6375 * lpr.el: Signal print errors more prominently.
6376 (print-region-function): Don't default to nil.
6377 (lpr-print-region): New function, extracted from print-region-1.
6378 Check lpr's return value and signal an error in case of problem.
6379 (print-region-1): Use it.
6380 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6381 versions instead.
6382 (ps-printer-name): Default to nil.
6383 (ps-printer-name-option): Default to lpr-printer-switch.
6384 (ps-print-region-function): Don't default to nil.
6385 (ps-postscript-code-directory): Simplify default.
6386 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6387 (ps-string-list, ps-eval-switch, ps-flatten-list)
6388 (ps-flatten-list-1): Remove.
6389 (ps-multibyte-buffer): Avoid setq.
6390 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6391 (print-region-function, ps-print-region-function): Don't set them here.
6392
6393 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6394
6395 * ido.el (ido-fractionp):
6396 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6397 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6398 (ido-max-directory-size, ido-max-dir-file-cache)
6399 (ido-decorations): Doc fix.
6400
6401 * ansi-color.el: Fix old URL.
6402
6403 2013-07-23 Michael R. Mauger <michael@mauger.com>
6404
6405 * progmodes/sql.el: Version 3.3
6406 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6407 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6408 (sql-interactive-remove-continuation-prompt): Rewrite, use
6409 functions above. Fix continuation prompt and complete output line
6410 handling.
6411 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6412 redirected output buffer.
6413 (sql-mode): Restore deleted code (Bug#13591).
6414
6415 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6416
6417 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6418
6419 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6420
6421 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6422
6423 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6424 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6425 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6426
6427 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6428
6429 * desktop.el (desktop-clear): Simplify; remove useless checks
6430 against invalid buffer names.
6431 (desktop-list*): Use cl-list*.
6432 (desktop-buffer-info, desktop-create-buffer): Simplify.
6433
6434 2013-07-23 Leo Liu <sdl.web@gmail.com>
6435
6436 * bookmark.el (bookmark-make-record): Restore NAME as a default
6437 value. (Bug#14933)
6438
6439 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6440
6441 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6442 extracted from autoload--insert-text.
6443 (autoload--insert-text): Remove.
6444 (autoload--print-cookie-text): New function, extracted from
6445 autoload--insert-cookie-text.
6446 (autoload--insert-cookie-text): Remove.
6447 (autoload-generate-file-autoloads): Adjust calls accordingly.
6448
6449 * winner.el (winner-hook-installed-p): Remove.
6450 (winner-mode): Simplify accordingly.
6451
6452 * subr.el (add-to-list): Fix compiler-macro when `append' is
6453 not constant. Don't use `cl-member' for the base case.
6454
6455 * progmodes/subword.el: Fix boundary case (bug#13758).
6456 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6457 own group.
6458 (subword-backward-regexp): Make it a constant.
6459 (subword-forward-internal): Don't treat a trailing capital as the
6460 beginning of a word.
6461
6462 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6463
6464 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6465 global value of tabulated-list-revert-hook (bug#14930).
6466
6467 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6468
6469 * desktop.el: Require 'cl-lib.
6470 (desktop-before-saving-frames-functions): New hook.
6471 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6472 for frames being saved. Rename from desktop--save-minibuffer-frames.
6473 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6474 Do not save frames with non-nil `desktop-dont-save' parameter.
6475 Filter out deleted frames.
6476 (desktop--find-frame): Use cl-find-if.
6477 (desktop--select-frame): Use cl-(first|second|third) to access values
6478 of desktop-mini.
6479 (desktop--make-frame): Use cl-delete-if.
6480 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6481 (desktop-restore-frames): Use cl-(first|second|third) to access values
6482 of desktop-mini. Look for visible frame at the end, not while
6483 restoring frames.
6484
6485 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6486 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6487 Use string-match-p, looking-at-p (bug#14927).
6488
6489 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6490
6491 * desktop.el (desktop-saved-frame-states):
6492 Rename from desktop--saved-states; all users changed.
6493 (desktop-save-frames): Rename from desktop--save-frames.
6494 Do not save state to desktop file.
6495 (desktop-save): Save desktop-saved-frame-states to desktop file
6496 and reset to nil.
6497 (desktop-restoring-frames-p): New function.
6498 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6499 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6500 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6501
6502 * desktop.el: Correctly restore iconified frames.
6503 (desktop--filter-iconified-position): New function.
6504 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6505
6506 2013-07-20 Glenn Morris <rgm@gnu.org>
6507
6508 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6509 Let `message' do the formatting.
6510 (def-gdb-preempt-display-buffer): Add explicit format.
6511
6512 * image-dired.el (image-dired-track-original-file):
6513 Use with-current-buffer.
6514 (image-dired-track-thumbnail): Use with-current-buffer.
6515 Avoid changing point of wrong window.
6516
6517 * image-dired.el (image-dired-track-original-file):
6518 Avoid changing point of wrong window. (Bug#14909)
6519
6520 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6521
6522 * progmodes/gdb-mi.el (gdb-done-or-error):
6523 Guard against "%" in gdb output. (Bug#14127)
6524
6525 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6526
6527 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6528 (Bug#14826)
6529
6530 * international/mule.el (coding-system-iso-2022-flags): Fix last
6531 change.
6532
6533 2013-07-20 Kenichi Handa <handa@gnu.org>
6534
6535 * international/mule.el (coding-system-iso-2022-flags):
6536 Add `8-bit-level-4'. (Bug#8522)
6537
6538 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6539
6540 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6541 (bug#14815).
6542
6543 * net/eww.el (eww-process-text-input): Allow inputting when the
6544 point is at the start of the line, as the properties aren't
6545 front-sticky.
6546
6547 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6548 degenerate widths.
6549
6550 2013-07-19 Richard Stallman <rms@gnu.org>
6551
6552 * epa.el (epa-popup-info-window): Doc fix.
6553
6554 * subr.el (split-string): New arg TRIM.
6555
6556 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6557
6558 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6559 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6560
6561 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6562
6563 * filenotify.el (file-notify--library): Rename from
6564 `file-notify-support'. Do not autoload. Adapt all uses.
6565 (file-notify-supported-p): New defun.
6566
6567 * autorevert.el (auto-revert-use-notify):
6568 Use `file-notify-supported-p' instead of `file-notify-support'.
6569 Adapt docstring.
6570 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6571
6572 * net/tramp.el (tramp-file-name-for-operation):
6573 Add `file-notify-supported-p'.
6574
6575 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6576 New defun.
6577 (tramp-sh-file-name-handler-alist): Add it as handler for
6578 `file-notify-supported-p '.
6579
6580 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6581 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6582 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6583 Add `ignore' as handler for `file-notify-*' functions.
6584
6585 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6586
6587 * simple.el (line-move-partial, line-move): Don't start vscroll or
6588 scroll-up if the current line is not taller than the window.
6589 (Bug#14881)
6590
6591 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6592
6593 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6594 highlight question marks in the method names as strings.
6595 (ruby-block-beg-keywords): Inline.
6596 (ruby-font-lock-keyword-beg-re): Extract from
6597 `ruby-font-lock-keywords'.
6598
6599 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6600
6601 * frame.el (blink-cursor-blinks): New defcustom.
6602 (blink-cursor-blinks-done): New defvar.
6603 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6604 (blink-cursor-timer-function): Check if number of blinks has been
6605 done on X and NS.
6606 (blink-cursor-suspend, blink-cursor-check): New defuns.
6607
6608 2013-07-15 Glenn Morris <rgm@gnu.org>
6609
6610 * edmacro.el (edmacro-format-keys): Fix previous change.
6611
6612 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6613
6614 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6615 The hack didn't work outside English locales anyway.
6616
6617 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6618
6619 * simple.el (define-alternatives): Rename from alternatives-define,
6620 per RMS' suggestion.
6621
6622 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6623
6624 * desktop.el (desktop-restore-frames): Change default to t.
6625 (desktop-restore-in-current-display): Now offer more options.
6626 (desktop-restoring-reuses-frames): New customization option.
6627 (desktop--saved-states): Doc fix.
6628 (desktop-filter-parameters-alist): New variable, renamed and expanded
6629 from desktop--excluded-frame-parameters.
6630 (desktop--target-display): New variable.
6631 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6632 (desktop--filter-tty*, desktop--filter-*-color)
6633 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6634 (desktop--filter-save-desktop-parm)
6635 (desktop-restore-in-original-display-p): New functions.
6636 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6637 (desktop--save-minibuffer-frames): New function, inspired by a similar
6638 function from Martin Rudalics.
6639 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6640 (desktop--restore-in-this-display-p): Remove.
6641 (desktop--find-frame): Rename from desktop--find-frame-in-display
6642 and add predicate argument.
6643 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6644 (desktop--reuse-list): New variable.
6645 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6646 New functions.
6647 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6648
6649 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6650
6651 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6652
6653 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6654
6655 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6656 Highlight conversion methods on Kernel.
6657
6658 2013-07-13 Alan Mackenzie <acm@muc.de>
6659
6660 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6661 and comment it out. This out-commenting enables certain C++
6662 declarations to be parsed correctly.
6663
6664 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6665
6666 * international/mule.el (define-coding-system): Doc fix.
6667
6668 * simple.el (default-font-height): Don't call font-info if the
6669 frame's default font didn't change since the frame was created.
6670 (Bug#14838)
6671
6672 2013-07-13 Leo Liu <sdl.web@gmail.com>
6673
6674 * ido.el (ido-read-file-name): Guard against non-symbol value.
6675
6676 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6677
6678 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6679 in nested defuns.
6680
6681 2013-07-13 Leo Liu <sdl.web@gmail.com>
6682
6683 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6684 ido-set-matches call. (Bug#6852)
6685
6686 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6687
6688 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6689 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6690 Ruby 2.0.
6691 (ruby-font-lock-keywords): Distinguish calls to functions with
6692 module-like names from module references. Highlight character
6693 literals.
6694
6695 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6696
6697 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6698 (gdb-send): Handle continued commands. (Bug#14847)
6699
6700 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6701
6702 * desktop.el (desktop--v2s): Remove unused local variable.
6703 (desktop-save-buffer): Make defvar-local; adjust docstring.
6704 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6705 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6706
6707 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6708
6709 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6710
6711 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6712
6713 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6714 (Bug#14842)
6715
6716 2013-07-12 Glenn Morris <rgm@gnu.org>
6717
6718 * doc-view.el: Require cl-lib at runtime too.
6719 (doc-view-remove-if): Remove.
6720 (doc-view-search-next-match, doc-view-search-previous-match):
6721 Use cl-remove-if.
6722
6723 * edmacro.el: Require cl-lib at runtime too.
6724 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6725 (edmacro-mismatch, edmacro-subseq): Remove.
6726
6727 * shadowfile.el: Require cl-lib.
6728 (shadow-remove-if): Remove.
6729 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6730 Use cl-remove-if.
6731
6732 * wid-edit.el: Require cl-lib.
6733 (widget-choose): Use cl-remove-if.
6734 (widget-remove-if): Remove.
6735
6736 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6737 (ebrowse-delete-if-not): Remove.
6738 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6739 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6740 Use cl-delete-if-not.
6741
6742 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6743
6744 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6745 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6746
6747 2013-07-12 Leo Liu <sdl.web@gmail.com>
6748
6749 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6750
6751 2013-07-11 Glenn Morris <rgm@gnu.org>
6752
6753 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6754 (edebug-gensym-index, edebug-gensym):
6755 Remove reimplementation of cl-gensym.
6756 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6757
6758 * thumbs.el: Require cl-lib at run-time too.
6759 (thumbs-gensym-counter, thumbs-gensym):
6760 Remove reimplementation of cl-gensym.
6761 (thumbs-temp-file): Use cl-gensym.
6762
6763 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6764 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6765 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6766 (ert--union, ert--gensym-counter, ert--gensym-counter)
6767 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6768 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6769 (ert-make-test-unbound, ert--expand-should-1)
6770 (ert--expand-should, ert--should-error-handle-error)
6771 (should-error, ert--explain-equal-rec)
6772 (ert--plist-difference-explanation, ert-select-tests)
6773 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6774 Use cl-lib functions rather than reimplementations.
6775
6776 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6777
6778 * net/tramp.el (tramp-methods): Extend docstring.
6779 (tramp-connection-timeout): New defcustom.
6780 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6781 (with-tramp-progress-reporter): Simplify.
6782 (tramp-process-actions): Improve messages.
6783
6784 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6785 * net/tramp-sh.el (tramp-maybe-open-connection):
6786 Use `tramp-connection-timeout'.
6787 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6788 (Bug#14808)
6789
6790 2013-07-11 Leo Liu <sdl.web@gmail.com>
6791
6792 * ido.el (ido-read-file-name): Conform to the requirements of
6793 read-file-name. (Bug#11861)
6794 (ido-read-directory-name): Conform to the requirements of
6795 read-directory-name.
6796
6797 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6798
6799 * subr.el (delay-warning): New function.
6800
6801 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6802
6803 * simple.el (default-line-height): New function.
6804 (line-move-partial, line-move): Use it instead of computing the
6805 line height inline.
6806 (line-move-partial): Always compute ROWH. If the last line is
6807 partially-visible, but its text is completely visible, allow
6808 cursor to enter such a partially-visible line.
6809
6810 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6811
6812 Improve error messages. (Bug#14808)
6813
6814 * net/tramp.el (tramp-current-connection): New defvar, moved from
6815 tramp-sh.el.
6816 (tramp-message-show-progress-reporter-message): Remove, not
6817 needed anymore.
6818 (tramp-error-with-buffer): Show message in minibuffer.
6819 Discard input before waiting. Reset connection timestamp.
6820 (with-tramp-progress-reporter): Improve messages.
6821 (tramp-process-actions): Use progress reporter. Delete process in
6822 case of error. Improve messages.
6823
6824 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6825 Call `tramp-error-with-buffer' with vector and buffer.
6826 (tramp-current-connection): Remove.
6827 (tramp-maybe-open-connection): The car of
6828 `tramp-current-connection' are the first 3 slots of the vector.
6829
6830 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6831
6832 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6833 inside continued strings.
6834
6835 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6836
6837 Timestamp fixes for undo (Bug#14824).
6838 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6839
6840 2013-07-10 Leo Liu <sdl.web@gmail.com>
6841
6842 * files.el (require-final-newline): Allow safe local value.
6843 (Bug#14834)
6844
6845 2013-07-09 Leo Liu <sdl.web@gmail.com>
6846
6847 * ido.el (ido-read-directory-name): Handle fallback.
6848 (ido-read-file-name): Update DIR to ido-current-directory.
6849 (Bug#1516)
6850 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6851
6852 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6853
6854 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6855 "autoload". Remove "warn lower camel case" section, previously
6856 commented out. Highlight negation char. Do not highlight the
6857 target in singleton method definitions.
6858
6859 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * faces.el (tty-setup-hook): Declare the hook.
6862
6863 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6864 and detect when a guard/pred depends on local vars (bug#14773).
6865 (pcase--u1): Adjust caller.
6866
6867 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6868
6869 * simple.el (line-move-partial, line-move): Account for
6870 line-spacing.
6871 (line-move-partial): Avoid setting vscroll when the last
6872 partially-visible line in window is of default height.
6873
6874 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6875
6876 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6877 been used a while.
6878
6879 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6880
6881 * subr.el (read-quoted-char): Remove unused local variable `char'.
6882
6883 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6884
6885 * ediff.el (ediff-version): Version update.
6886 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6887 (ediff-merge-with-ancestor-command, ediff-directories-command)
6888 (ediff-directories3-command, ediff-merge-directories-command)
6889 (ediff-merge-directories-with-ancestor-command): New functions.
6890 All are command-line interfaces to ediff: to facilitate calling
6891 Emacs with the appropriate ediff functions invoked.
6892
6893 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6894 (viper-save-kill-buffer): Check if buffer is modified.
6895
6896 * viper.el (viper-version): Version update.
6897 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6898
6899 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6901 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6902 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6903 (viper-intercept-ESC-key): Simplify.
6904 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6905 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6906 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6907 (viper-setup-ESC-to-escape): New functions.
6908 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6909 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6910
6911 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6912
6913 * simple.el (default-font-height, window-screen-lines):
6914 New functions.
6915 (line-move, line-move-partial): Use them instead of
6916 frame-char-height and window-text-height. This makes scrolling
6917 text smoother when the buffer's default face uses a font that is
6918 different from the frame's default font.
6919
6920 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6921
6922 * files.el (write-file): Do not display confirm dialog for NS,
6923 it does its own dialog, which can't be cancelled (Bug#14578).
6924
6925 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6926
6927 * simple.el (line-move-partial): Adjust the row returned by
6928 posn-at-point for the current window-vscroll. (Bug#14567)
6929
6930 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6931
6932 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6933 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6934 spaces.
6935
6936 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6937
6938 * window.el (window-state-put-stale-windows): New variable.
6939 (window--state-put-2): Save list of windows without matching buffer.
6940 (window-state-put): Remove "bufferless" windows if possible.
6941
6942 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6943
6944 * simple.el (alternatives-define): Remove leftover :group keyword.
6945 Tweak docstring.
6946
6947 2013-07-06 Leo Liu <sdl.web@gmail.com>
6948
6949 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6950 (ido-enable-virtual-buffers): New variable.
6951 (ido-buffer-internal, ido-toggle-virtual-buffers)
6952 (ido-make-buffer-list): Use it.
6953 (ido-exhibit): Support turning on and off virtual buffers
6954 automatically.
6955
6956 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6957
6958 * simple.el (alternatives-define): New macro.
6959
6960 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6961
6962 * subr.el (read-quoted-char): Use read-key.
6963 (sit-for): Let read-event decode tty input (bug#14782).
6964
6965 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6966
6967 * calendar/todo-mode.el: Add handling of file deletion, both by
6968 mode command and externally. Fix various related bugs.
6969 Clarify Commentary and improve some documentation strings and code.
6970 (todo-delete-file): New command.
6971 (todo-check-file): New function.
6972 (todo-show): Handle external deletion of the file we're trying to
6973 show (bug#14688). Replace called-interactively-p by an optional
6974 prefix argument to avoid problematic interaction with catch form
6975 when byte compiled (bug#14702).
6976 (todo-quit): Handle external deletion of the archive's todo file.
6977 Make sure the buffer that was visiting the archive file is still
6978 live before trying to bury it.
6979 (todo-category-completions): Handle external deletion of any
6980 category completion files.
6981 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6982 of todo files, in case of external deletion.
6983 (todo-add-file): Replace unnecessary setq by let-binding.
6984 (todo-find-archive): Check whether there are any archives.
6985 Replace unnecessary setq by let-binding.
6986 (todo-archive-done-item): Use find-file-noselect to get the
6987 archive buffer whether or not the archive already exists.
6988 Remove superfluous code. Use file size instead of buffer-file-name to
6989 check if the archive is new; if it is, update list of archives.
6990 (todo-default-todo-file): Allow nil to be a valid value for when
6991 there are no todo files.
6992 (todo-reevaluate-default-file-defcustom): Use corrected definition
6993 of todo-default-todo-file.
6994 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6995 (todo-delete-category, todo-show-categories-table)
6996 (todo-category-number): Clarify comment.
6997 (todo-filter-items): Clarify documentation string.
6998 (todo-show-current-file, todo-display-as-todo-file)
6999 (todo-reset-and-enable-done-separator): Tweak documentation string.
7000 (todo-done-separator): Make separator length window-width, since
7001 bug#2749 is now fixed.
7002
7003 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7004
7005 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7006 Support both "gvfs-monitor-dir" and "inotifywait".
7007 (tramp-sh-file-inotifywait-process-filter): Rename from
7008 `tramp-sh-file-notify-process-filter'.
7009 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7010 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7011
7012 2013-07-05 Leo Liu <sdl.web@gmail.com>
7013
7014 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7015
7016 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7017
7018 * frame.el (display-pixel-height, display-pixel-width)
7019 (display-mm-height, display-mm-width): Mention behavior on
7020 multi-monitor setups in docstrings.
7021 (w32-display-monitor-attributes-list): Declare function.
7022 (display-monitor-attributes-list): Use it.
7023
7024 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7025
7026 * filenotify.el: New package.
7027
7028 * autorevert.el (top): Require filenotify.el.
7029 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7030 instead.
7031 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7032 (auto-revert-notify-handler): Use `file-notify-*' functions.
7033
7034 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7035
7036 * net/tramp.el (tramp-file-name-for-operation):
7037 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7038
7039 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7040 for `file-notify-add-watch' and `file-notify-rm-watch'.
7041 (tramp-process-sentinel): Improve trace.
7042 (tramp-sh-handle-file-notify-add-watch)
7043 (tramp-sh-file-notify-process-filter)
7044 (tramp-sh-handle-file-notify-rm-watch)
7045 (tramp-get-remote-inotifywait): New defuns.
7046
7047 2013-07-03 Juri Linkov <juri@jurta.org>
7048
7049 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7050 call of `occur-read-primary-args' to interactive spec.
7051
7052 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7053 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7054
7055 2013-07-03 Matthias Meulien <orontee@gmail.com>
7056
7057 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7058 `Buffer-menu-multi-occur'. Add it to the menu.
7059 (Buffer-menu-mode): Document it in docstring.
7060 (Buffer-menu-multi-occur): New command. (Bug#14673)
7061
7062 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7063
7064 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7065 keywords and built-ins.
7066
7067 2013-07-03 Glenn Morris <rgm@gnu.org>
7068
7069 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7070
7071 Make info-xref checks case-sensitive by default
7072 * info.el (Info-find-node, Info-find-in-tag-table)
7073 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7074 Add option for exact case matching of nodes.
7075 * info-xref.el (info-xref): New custom group.
7076 (info-xref-case-fold): New option.
7077 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7078
7079 2013-07-03 Leo Liu <sdl.web@gmail.com>
7080
7081 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7082
7083 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7084
7085 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7086 middle of block statement initially, lower the depth. Remove
7087 FIXME comment, not longer valid. Remove middle of block statement
7088 detection, no need to do that anymore since we've been using
7089 `ruby-parse-region' here.
7090
7091 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7092
7093 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7094
7095 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7096
7097 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7098
7099 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7100
7101 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7102 (desktop-restore-in-current-display): New customization option.
7103 (desktop--excluded-frame-parameters): Add `font'.
7104 (desktop--save-frames): Rename from desktop--save-windows.
7105 (desktop--restore-in-this-display-p): New function.
7106 (desktop--make-full-frame): Remove unwanted width/height from
7107 full(width|height) frames.
7108 (desktop--restore-frames): Rename from desktop--restore-windows.
7109 Obey desktop-restore-current-display. Do not delete old frames or
7110 select a new frame unless we were able to restore at least one frame.
7111
7112 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7113
7114 * files.el (find-file-noselect): Simplify conditional expression.
7115
7116 * remember.el (remember-append-to-file):
7117 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7118
7119 Add `remember-notes' function to store random notes across Emacs
7120 restarts.
7121 * remember.el (remember-data-file): Add :set callback to affect
7122 notes buffer (if any).
7123 (remember-notes): New command.
7124 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7125 New defcustoms for the `remember-notes' function.
7126 (remember-notes-save-and-bury-buffer): New command.
7127 (remember-notes-mode-map): New variable.
7128 (remember-mode): New minor mode.
7129 (remember-notes--kill-buffer-query): New function.
7130 * startup.el (initial-buffer-choice): Add notes to custom type.
7131
7132 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7133
7134 * bindings.el (right-char, left-char): Don't call sit-for, this is
7135 no longer needed. Use arithmetic comparison only for numerical
7136 arguments.
7137
7138 * international/mule-cmds.el (select-safe-coding-system):
7139 Handle the case of FROM being a string correctly. (Bug#14755)
7140
7141 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7142
7143 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7144 progression on degenerate tables.
7145 (shr-rescale-image): ImageMagick animated images currently don't work.
7146
7147 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7148
7149 Some fixes and improvements for desktop frame restoration.
7150 It is still experimental and disabled by default.
7151 * desktop.el (desktop--save-windows): Put the selected frame at
7152 the head of the list.
7153 (desktop--make-full-frame): New function.
7154 (desktop--restore-windows): Try to re-select the frame that was
7155 selected upon saving. Do not abort if some frames fail to restore,
7156 just show an error message and continue. Set up maximized frames
7157 so they have default non-maximized dimensions.
7158
7159 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7160
7161 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7162 Don't start heredoc inside a string or comment.
7163
7164 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7165
7166 * bindings.el (visual-order-cursor-movement): New defcustom.
7167 (right-char, left-char): Provide visual-order cursor motion by
7168 calling move-point-visually. Update the doc strings.
7169
7170 2013-06-28 Kenichi Handa <handa@gnu.org>
7171
7172 * international/mule.el (define-coding-system): New coding system
7173 properties :inhibit-null-byte-detection,
7174 :inhibit-iso-escape-detection, and :prefer-utf-8.
7175 (set-buffer-file-coding-system): If :charset-list property of
7176 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7177 appropriate for setting.
7178
7179 * international/mule-cmds.el (select-safe-coding-system):
7180 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7181 multibyte characters, return utf-8 (or one of its siblings).
7182
7183 * international/mule-conf.el (prefer-utf-8): New coding system.
7184 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7185 files.
7186
7187 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7188
7189 * net/shr.el (shr-render-region): New function.
7190
7191 * net/eww.el: Autoload `eww-browse-url'.
7192
7193 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7194
7195 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7196 Adapt to `package-desc-version' being a list.
7197 Use `package--ac-desc-version' to retrieve version from a package
7198 archive element.
7199
7200 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7201
7202 New experimental feature to save&restore window and frame setup.
7203 * desktop.el (desktop-save-windows): New defcustom.
7204 (desktop--saved-states): New var.
7205 (desktop--excluded-frame-parameters): New defconst.
7206 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7207 (desktop--restore-windows, desktop--save-windows): New functions.
7208 (desktop-save): Call `desktop--save-windows'.
7209 (desktop-read): Call `desktop--restore-windows'.
7210
7211 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7212
7213 * net/shr.el (add-face-text-property): Remove compat definition.
7214
7215 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7216
7217 * info.el (Info-try-follow-nearest-node): Move search for footnote
7218 above search for node name to prevent missing a footnote (bug#14717).
7219
7220 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7221
7222 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7223
7224 2013-06-27 Leo Liu <sdl.web@gmail.com>
7225
7226 * net/eww.el (eww-read-bookmarks): Check file size.
7227
7228 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7229
7230 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7231 advice--pending if newdef is nil or an autoload (bug#13820).
7232 (advice-mapc): New function.
7233
7234 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7235
7236 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7237 probably.
7238 (eww-mode-map): Add a menu bar.
7239 (eww-add-bookmark): New command.
7240 (eww-bookmark-mode): New mode and commands.
7241 (eww-add-bookmark): Remove newlines from the title.
7242 (eww-bookmark-browse): Don't bug out if it's the only window.
7243
7244 2013-06-26 Glenn Morris <rgm@gnu.org>
7245
7246 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7247 (hfy-size): Handle ttys. (Bug#14668)
7248
7249 * info-xref.el: Update for Texinfo 5 change in *note format.
7250 (info-xref-node-re, info-xref-note-re): New constants.
7251 (info-xref-check-buffer): Use info-xref-note-re.
7252
7253 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7254
7255 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7256
7257 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7258 nil terminate the loop (bug#14718).
7259
7260 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7261
7262 * net/eww.el: Rework history traversal. When going forward/back,
7263 put these actions into the history, too, so that they can be
7264 replayed.
7265 (eww-render): Move the history reset to the correct buffer.
7266
7267 2013-06-25 Juri Linkov <juri@jurta.org>
7268
7269 * files-x.el (modify-dir-local-variable): Change the header comment
7270 in the file with directory local variables. (Bug#14692)
7271
7272 * files-x.el (read-file-local-variable-value): Add `default'.
7273 (Bug#14710)
7274
7275 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7276
7277 * net/eww.el (eww-make-unique-file-name): Create a unique file
7278 name before saving to entering `y' accidentally asynchronously.
7279
7280 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7281
7282 * net/eww.el (eww-download): New command and keystroke.
7283
7284 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7285
7286 * net/eww.el (eww-copy-page-url): Change name of command.
7287
7288 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7289 be more consistent with Info and dired.
7290
7291 * net/eww.el (eww-mode-map): Ditto.
7292
7293 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7294
7295 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7296 packages from archives.
7297 (package-archive-contents): Change format; include obsolete packages.
7298 (package-desc): Use `dir' to mark builtin packages.
7299 (package--from-builtin): Set the `dir' field to `builtin'.
7300 (generated-autoload-file, version-control): Declare.
7301 (package-compute-transaction): Change first arg and return value to be
7302 lists of package-descs. Adjust to new package-archive-contents format.
7303 (package--add-to-archive-contents): Adjust to new
7304 package-archive-contents format.
7305 (package-download-transaction): Arg is now a list of package-descs.
7306 (package-install): If `pkg' is a package name, pass it as
7307 a requirement, so it is subject to the usual (e.g. disabled) checks.
7308 (describe-package): Accept package-desc as well.
7309 (describe-package-1): Describe a specific package-desc. Add links to
7310 other package-descs for the same package name.
7311 (package-menu-describe-package): Pass the actual package-desc.
7312 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7313 works correctly.
7314 (package-desc-status): New function.
7315 (package-menu--refresh): New function, extracted
7316 from package-menu--generate.
7317 (package-menu--generate): Use it.
7318 (package-delete): Update package-alist.
7319 (package-menu-execute): Don't call package-initialize.
7320
7321 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7322 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7323 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7324 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7325 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7326 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7327
7328 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7329
7330 * window.el (window--state-get-1): Workaround for bug#14527.
7331 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7332
7333 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7334
7335 * net/eww.el (eww-back-url): Implement the history by stashing all
7336 the data into a list.
7337 (eww-forward-url): Allow going forward in the history, too.
7338
7339 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7340
7341 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7342 for values and use read--expression for expressions (bug#14710).
7343 (read-file-local-variable): Avoid setq.
7344 (read-file-local-variable-mode): Use minor-mode-list.
7345
7346 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7347
7348 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7349 for DOI URLs.
7350
7351 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7352
7353 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7354 Update imenu-support when dialect changes.
7355
7356 2013-06-25 Leo Liu <sdl.web@gmail.com>
7357
7358 * ido.el (ido-read-internal): Allow forward slash on windows.
7359
7360 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7361
7362 * net/eww.el (eww): Start of strings is \\`, not ^.
7363
7364 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7365
7366 * net/shr.el (shr-browse-url): Fix interactive spec.
7367
7368 * net/eww.el (eww): Add a trailing slash to domain names.
7369
7370 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7371
7372 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7373
7374 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7375
7376 * net/shr.el (shr-browse-url): Use an external browser if given a
7377 prefix.
7378
7379 * net/eww.el (eww-external-browser): Move to shr.
7380
7381 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7382
7383 * net/eww.el (eww): Work more correctly for file: URLs.
7384 (eww-detect-charset): Allow quoted charsets.
7385 (eww-yank-page-url): New command and keystroke.
7386
7387 2013-06-24 Daiki Ueno <ueno@gnu.org>
7388
7389 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7390 file name of gpg executable.
7391 (epg-context-program): New function.
7392 (epg-context-home-directory): New function.
7393 (epg-context-set-program): New function.
7394 (epg-context-set-home-directory): New function.
7395 (epg--start): Use `epg-context-program' instead of
7396 'epg-gpg-program'.
7397 (epg--list-keys-1): Likewise.
7398
7399 2013-06-24 Leo Liu <sdl.web@gmail.com>
7400
7401 * ido.el (ido-read-internal): Fix bug#14620.
7402
7403 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7404
7405 * faces.el (face-documentation): Simplify.
7406 (read-face-attribute, tty-find-type, x-resolve-font-name):
7407 Use `string-match-p'.
7408 (list-faces-display): Use `string-match-p'. Simplify.
7409 (face-spec-recalc): Check face to avoid face alias loops.
7410 (read-color): Use `string-match-p' and non-capturing parenthesis.
7411
7412 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7413
7414 * net/shr.el (shr-rescale-image): Use the new
7415 :max-width/:max-height functionality.
7416
7417 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7418
7419 * net/eww.el (eww-search-prefix): New variable.
7420 (eww): Use it.
7421 (eww-external-browser): New variable.
7422 (eww-mode-map): New keystroke.
7423 (eww-browse-with-external-browser): New command.
7424
7425 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7426
7427 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7428
7429 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7430 Don't skip aligning the next header field when padding is 0;
7431 otherwise, field width is not respected unless the title is as
7432 wide as the field.
7433
7434 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7435
7436 * emacs-lisp/package.el (package-el-version): Remove.
7437 (package-process-define-package): Fix inf-loop.
7438 (package-install): Allow symbols as arguments again.
7439
7440 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7441
7442 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7443 add some more keyword-like methods.
7444 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7445
7446 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7447
7448 * bs.el (bs-buffer-show-mark): Make defvar-local.
7449 (bs-mode): Use setq-local.
7450
7451 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7452 (emacs-lock--try-unlocking): Make defvar-local.
7453
7454 2013-06-22 Glenn Morris <rgm@gnu.org>
7455
7456 * play/cookie1.el (cookie-apropos): Minor simplification.
7457
7458 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7459
7460 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7461
7462 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7463 `regexp-opt', it breaks the build during dumping.
7464
7465 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7466
7467 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7468 Highlight keyword-like methods on Kernel and Module with
7469 font-lock-builtin-face.
7470 (auto-mode-alist): Consolidate different entries into one regexp
7471 and add more *file-s.
7472
7473 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7474
7475 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7476
7477 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7478 (diary-entry): Use it in the action of this button type instead of
7479 diary-goto-entry.
7480
7481 * calendar/todo-mode.el: New version.
7482 (todo-add-category): Append new category to end of file and give
7483 it the highest number, instead of putting it at the beginning and
7484 giving it 0. Incorporate noninteractive functionality.
7485 (todo-forward-category): Adapt to 1-based category numbering.
7486 Allow skipping over archived categories.
7487 (todo-backward-category): Derive from todo-forward-category.
7488 (todo-backward-item, todo-forward-item): Make noninteractive and
7489 delegate interactive part to new commands. Make sensitive to done items.
7490 (todo-categories): Make value an alist of category names and
7491 vectors of item counts.
7492 (todo-category-beg): Make a defconst.
7493 (todo-category-number): Use 1 instead of 0 as initial value.
7494 (todo-category-select): Make sensitive to overlays, optional item
7495 highlighting and done items.
7496 (todo-delete-item): Make sensitive to overlays and marked and done items.
7497 (todo-edit-item): Make sensitive to overlays and editing of
7498 date/time header optional. Add format checks.
7499 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7500 no-op if point is not on an item. Advertise using todo-edit-quit.
7501 (todo-edit-mode): Make sensitive to new format, font-locking, and
7502 multiple todo files.
7503 (todo-insert-item, todo-insert-item-here): Derive from
7504 todo-basic-insert-item and extend functionality.
7505 (todo-item-end, todo-item-start): Make sensitive to done items.
7506 (todo-item-string): Don't return text properties. Restore point.
7507 (todo-jump-to-category): Make sensitive to multiple todo files and
7508 todo archives. Use extended category completion.
7509 (todo-lower-item, todo-raise-item): Rename to *-priority and
7510 derive from todo-set-item-priority.
7511 (todo-mode): Derive from special-mode. Make sensitive to new
7512 format, font-locking and multiple todo files. Make read-only.
7513 (todo-mode-map): Don't suppress digit keys, so they can supply
7514 prefix arguments. Add many new key bindings.
7515 (todo-prefix): Insert as an overlay instead of file text.
7516 Change semantics from diary date expression to purely visual mark.
7517 (todo-print): Rename to todo-print-buffer. Make buffer display
7518 features printable. Remove option to restrict number of items
7519 printed. Add option to print to file.
7520 (todo-print-function): Rename to todo-print-buffer-function.
7521 (todo-quit): Extend to handle exiting new todo modes.
7522 (todo-remove-item): Make sensitive to overlays.
7523 (todo-save): Extend to buffers of filtered items.
7524 (todo-show): Make sensitive to done items, multiple todo files and
7525 new todo modes. Offer to convert legacy todo file before creating
7526 first new todo file.
7527 (todo-show-priorities): Rename to todo-top-priorities.
7528 Change semantics of value 0.
7529 (todo-top-priorities): Rename to todo-filter-top-priorities,
7530 derive from todo-filter-items and extend functionality.
7531 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7532 and extend functionality to other types of filtered items.
7533 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7534 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7535 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7536 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7537 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7538 (todo-edit-mode-hook, todo-entry-prefix-function)
7539 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7540 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7541 (todo-initials, todo-insert-threshold, todo-item-string-start)
7542 (todo-line-string, todo-menu, todo-mode-hook)
7543 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7544 (todo-print-priorities, todo-remove-separator)
7545 (todo-save-top-priorities-too, todo-string-count-lines)
7546 (todo-string-multiline-p, todo-time-string-format)
7547 (todo-tmp-buffer-name): Remove.
7548 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7549 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7550 (todo-edit-category-diary-inclusion)
7551 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7552 (todo-edit-file, todo-edit-item-date-day)
7553 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7554 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7555 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7556 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7557 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7558 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7559 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7560 (todo-filter-top-priorities-multifile, todo-find-archive)
7561 (todo-find-filtered-items-file, todo-go-to-source-item)
7562 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7563 (todo-jump-to-archive-category, todo-lower-category)
7564 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7565 (todo-move-category, todo-move-item, todo-next-button)
7566 (todo-next-item, todo-padded-string, todo-powerset)
7567 (todo-previous-button, todo-previous-item)
7568 (todo-print-buffer-to-file, todo-raise-category)
7569 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7570 (todo-set-category-number, todo-set-item-priority)
7571 (todo-set-top-priorities-in-category)
7572 (todo-set-top-priorities-in-file, todo-show-categories-table)
7573 (todo-sort-categories-alphabetically-or-numerically)
7574 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7575 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7576 (todo-toggle-item-header, todo-toggle-item-highlighting)
7577 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7578 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7579 (todo-unarchive-items, todo-unmark-category): New commands.
7580 (todo-absolute-file-name, todo-add-to-buffer-list)
7581 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7582 (todo-basic-insert-item, todo-category-completions)
7583 (todo-category-number, todo-category-string-matcher-1)
7584 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7585 (todo-check-format, todo-clear-matches)
7586 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7587 (todo-current-category, todo-date-string-matcher)
7588 (todo-define-insertion-command, todo-diary-expired-matcher)
7589 (todo-diary-goto-entry, todo-diary-item-p)
7590 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7591 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7592 (todo-done-item-section-p, todo-done-separator)
7593 (todo-done-string-matcher, todo-files, todo-filter-items)
7594 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7595 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7596 (todo-insert-category-line, todo-insert-item-from-calendar)
7597 (todo-insert-sort-button, todo-insert-with-overlays)
7598 (todo-insertion-command-name, todo-insertion-key-bindings)
7599 (todo-label-to-key, todo-longest-category-name-length)
7600 (todo-make-categories-list, todo-mode-external-set)
7601 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7602 (todo-modes-set-3, todo-multiple-filter-files)
7603 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7604 (todo-read-category, todo-read-date, todo-read-dayname)
7605 (todo-read-file-name, todo-read-time)
7606 (todo-reevaluate-category-completions-files-defcustom)
7607 (todo-reevaluate-default-file-defcustom)
7608 (todo-reevaluate-filelist-defcustoms)
7609 (todo-reevaluate-filter-files-defcustom)
7610 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7611 (todo-reset-done-separator, todo-reset-done-separator-string)
7612 (todo-reset-done-string, todo-reset-global-current-todo-file)
7613 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7614 (todo-reset-prefix, todo-set-categories)
7615 (todo-set-date-from-calendar, todo-set-show-current-file)
7616 (todo-set-top-priorities, todo-short-file-name)
7617 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7618 (todo-total-item-counts, todo-update-buffer-list)
7619 (todo-update-categories-display, todo-update-categories-sexp)
7620 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7621 New functions.
7622 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7623 New major modes.
7624 (todo-categories, todo-display, todo-edit, todo-faces)
7625 (todo-filtered): New defgroups.
7626 (todo-archived-only, todo-button, todo-category-string, todo-date)
7627 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7628 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7629 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7630 (todo-add-item-if-new-category, todo-always-add-time-string)
7631 (todo-categories-align, todo-categories-archived-label)
7632 (todo-categories-category-label, todo-categories-diary-label)
7633 (todo-categories-done-label, todo-categories-number-separator)
7634 (todo-categories-todo-label, todo-categories-totals-label)
7635 (todo-category-completions-files, todo-completion-ignore-case)
7636 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7637 (todo-done-separator-string, todo-done-string)
7638 (todo-files-function, todo-filter-done-items, todo-filter-files)
7639 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7640 (todo-initial-category, todo-initial-file, todo-item-mark)
7641 (todo-legacy-date-time-regexp, todo-mode-line-function)
7642 (todo-nondiary-marker, todo-number-prefix)
7643 (todo-print-buffer-function, todo-show-current-file)
7644 (todo-show-done-only, todo-show-first, todo-show-with-done)
7645 (todo-skip-archived-categories, todo-top-priorities-overrides)
7646 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7647 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7648 New defcustoms.
7649 (todo-category-done, todo-date-pattern, todo-date-string-start)
7650 (todo-diary-items-buffer, todo-done-string-start)
7651 (todo-filtered-items-buffer, todo-item-start)
7652 (todo-month-abbrev-array, todo-month-name-array)
7653 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7654 (todo-top-priorities-buffer): New defconsts.
7655 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7656 (todo-categories-with-marks, todo-category-string-face)
7657 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7658 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7659 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7660 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7661 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7662 (todo-font-lock-keywords, todo-global-current-todo-file)
7663 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7664 (todo-insertion-commands-args)
7665 (todo-insertion-commands-args-genlist)
7666 (todo-insertion-commands-names, todo-insertion-map)
7667 (todo-key-bindings-t, todo-key-bindings-t+a)
7668 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7669 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7670 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7671 (todo-visited): New variables.
7672
7673 2013-06-21 Glenn Morris <rgm@gnu.org>
7674
7675 * play/cookie1.el (cookie-apropos): Add optional display argument.
7676 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7677 (psychoanalyze-pinhead): Use cookie-doctor.
7678
7679 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7680
7681 * emacs-lisp/package.el (tar-get-file-descriptor)
7682 (tar--extract): Declare.
7683
7684 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7685
7686 Extend flymake's warning predicate to be a function (bug#14217).
7687 * progmodes/flymake.el (flymake-warning-predicate): New.
7688 (flymake-parse-line): Use it.
7689 (flymake-warning-re): Make obsolete alias to
7690 `flymake-warning-predicate'.
7691
7692 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7693
7694 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7695 (package-obsolete-list): Remove.
7696 (package-activate): Remove min-version argument. Add `force' argument.
7697 Adjust to new package-alist format.
7698 (package-mark-obsolete): Remove.
7699 (package-unpack): Force reload of the package's autoloads.
7700 (package-installed-p): Check builtins if the installed package is not
7701 recent enough.
7702 (package-initialize): Don't reset package-obsolete-list.
7703 Don't specify which package version to activate.
7704 (package-process-define-package, describe-package-1)
7705 (package-menu--generate): Adjust to new package-alist format.
7706
7707 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7708
7709 * allout-widgets.el (allout-widgets-mode-off)
7710 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7711 (allout-widgets-post-command-business)
7712 (allout-widgets-after-copy-or-kill-function)
7713 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7714 (allout-decorate-item-and-context)
7715 (allout-graphics-modification-handler): Fix typos in docstrings.
7716 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7717
7718 * cmuscheme.el (scheme-start-file): Doc fix.
7719 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7720 (scheme-input-filter): Use `string-match-p'.
7721
7722 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7723
7724 * dired-x.el: Use Dired consistently in docstrings.
7725
7726 * dired.el: Use Dired consistently in docstrings.
7727 (dired-readin, dired-mode): Use `setq-local'.
7728 (dired-switches-alist): Make defvar-local.
7729 (dired-buffers-for-dir): Use `zerop'.
7730 (dired-safe-switches-p, dired-switches-escape-p)
7731 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7732 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7733 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7734 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7735 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7736 (dired-toggle-marks, dired-mark-files-containing-regexp)
7737 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7738 (dired-flag-auto-save-files, dired-flag-backup-files):
7739 Use `looking-at-p'.
7740 (dired-mark-files-regexp, dired-build-subdir-alist):
7741 Use `string-match-p', `looking-at-p'.
7742
7743 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7744 (direct-print-region-helper): Use `string-match-p'.
7745
7746 2013-06-21 Leo Liu <sdl.web@gmail.com>
7747
7748 * comint.el (comint-redirect-results-list-from-process):
7749 Fix infinite loop.
7750
7751 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7752
7753 * net/eww.el (eww-update-header-line-format): Quote % characters.
7754
7755 2013-06-21 Glenn Morris <rgm@gnu.org>
7756
7757 * play/cookie1.el (cookie): New custom group.
7758 (cookie-file): New option.
7759 (cookie-check-file): New function.
7760 (cookie): Make it interactive. Make start and end messages optional.
7761 Interactively, display the result. Default to cookie-file.
7762 (cookie-insert): Default to cookie-file.
7763 (cookie-snarf): Make start and end messages optional.
7764 Default to cookie-file. Use with-temp-buffer.
7765 (cookie-read): Rename from read-cookie.
7766 Make start and end messages optional. Default to cookie-file.
7767 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7768 Do not autoload it.
7769 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7770 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7771
7772 2013-06-21 Leo Liu <sdl.web@gmail.com>
7773
7774 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7775
7776 2013-06-21 Glenn Morris <rgm@gnu.org>
7777
7778 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7779
7780 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7781 Daniel Hackney <dan@haxney.org>
7782
7783 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7784 Consolidate the single-file vs tarball code.
7785 (package-desc-suffix): New function.
7786 (package-desc-full-name): Don't bother inlining it.
7787 (package-load-descriptor): Return the new package-desc.
7788 (package-mark-obsolete): Remove unused arg `package'.
7789 (package-unpack): Make it work for single files as well.
7790 Make it update package-alist.
7791 (package--make-autoloads-and-stuff): Rename from
7792 package--make-autoloads-and-compile. Don't compile any more.
7793 (package--compile): New function.
7794 (package-generate-description-file): New function, extracted from
7795 package-unpack-single.
7796 (package-unpack-single): Remove.
7797 (package--with-work-buffer): Add indentation and debugging info.
7798 (package-download-single): Remove.
7799 (package-install-from-archive): Rename from package-download-tar, make
7800 it take a pkg-desc, and make it work for single files as well.
7801 (package-download-transaction): Simplify.
7802 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7803 external tar program.
7804 (package-install-from-buffer): Remove `pkg-desc' argument.
7805 Use package-tar-file-info for tar-mode buffers.
7806 (package-install-file): Simplify accordingly.
7807 (package-archive-base): Change to take a pkg-desc.
7808 * tar-mode.el (tar--check-descriptor): New function, extracted from
7809 tar-get-descriptor.
7810 (tar-get-descriptor): Use it.
7811 (tar-get-file-descriptor): New function.
7812 (tar--extract): New function, extracted from tar-extract.
7813 (tar--extract): Use it.
7814 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7815 case the summary uses non-ascii. Adjust to new calling convention of
7816 package-tar-file-info.
7817
7818 2013-06-21 Leo Liu <sdl.web@gmail.com>
7819
7820 * comint.el (comint-redirect-results-list-from-process):
7821 Fix random delay. (Bug#14681)
7822
7823 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7824
7825 * profiler.el (profiler-format-number): Use log, not log10.
7826
7827 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7828
7829 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7830
7831 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7832
7833 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7834 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7835 yet available.
7836 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7837 (AUTOGENEL): ... here.
7838 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7839 (cl--defsubst-expand): Use it.
7840
7841 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7842
7843 * subr.el (log10): Move here from C code, and declare as obsolete.
7844 All uses of (log10 X) replaced with (log X 10).
7845
7846 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7847
7848 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7849 Declare with `defvar-local'.
7850 (tabulated-list-use-header-line, tabulated-list-entries)
7851 (tabulated-list-padding, tabulated-list-printer)
7852 (tabulated-list-sort-key): Declare with `defvar-local'.
7853 (tabulated-list-init-header, tabulated-list-print-fake-header):
7854 Use `setq-local'.
7855
7856 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7857
7858 * arc-mode.el (archive-mode): Add `archive-write-file' to
7859 `write-contents-functions' also for remote files. (Bug#14652)
7860
7861 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7862
7863 * cus-edit.el (custom-commands): Fix typos.
7864 (custom-display): Fix tooltip text.
7865 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7866 Fix typos in docstrings.
7867 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7868 (custom-unlispify-menu-entry, custom-magic-value-create)
7869 (custom-add-see-also, custom-group-value-create): Use ?\s.
7870 (custom-guess-type, customize-apropos, editable-field)
7871 (custom-face-value-create): Use `string-match-p'.
7872 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7873
7874 * custom.el (custom-load-symbol): Use `string-match-p'.
7875
7876 * ansi-color.el: Convert to lexical binding.
7877 (ansi-colors): Fix URL.
7878 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7879 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7880 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7881
7882 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7883
7884 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7885
7886 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7887
7888 2013-06-19 Tom Tromey <tromey@redhat.com>
7889
7890 * net/eww.el (eww-top-url): Remove.
7891 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7892 (eww-render): Set new variables. Don't set eww-top-url.
7893 (eww-handle-link): Handle "prev", "home", and "contents".
7894 Downcase the rel text.
7895 (eww-top-url): Choose best top URL.
7896
7897 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7898
7899 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7900 relying in widget.el. Using widget.el leads to too many
7901 user interface inconsistencies.
7902 (eww-self-insert): Implement entering commands in text fields.
7903 (eww-process-text-input): New function to make text input field editing
7904 work.
7905 (eww-submit): Rewrite to use the new-style form methods.
7906 (eww-select-display): Display the correct selected item.
7907 (eww-change-select): Implement changing the select value.
7908 (eww-toggle-checkbox): Implement radio/checkboxes.
7909 (eww-update-field): Fix compilation error.
7910 (eww-tag-textarea): Implement <textarea>.
7911
7912 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7913 we don't shadow mode-specific bindings.
7914
7915 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7916 nothing to push.
7917
7918 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7919
7920 2013-06-19 Glenn Morris <rgm@gnu.org>
7921
7922 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7923
7924 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7925
7926 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7927 not needed.
7928
7929 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7930
7931 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7932
7933 * net/browse-url.el (browse-url-browser-function):
7934 `eww-browse-url' has the right calling signature, `eww' does not.
7935
7936 2013-06-19 Glenn Morris <rgm@gnu.org>
7937
7938 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7939 Only eval autoloaded macros.
7940 (byte-compile-autoload): Only give the macro warning for macros.
7941
7942 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7943 (ps-underlined-faces): Declare.
7944
7945 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7946 (speedbar-add-supported-extension): Declare.
7947
7948 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7949 Don't include a date stamp in the header of the generated file;
7950 it leads to needless differences between output files.
7951
7952 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7953
7954 * net/secrets.el (secrets-struct-secret-content-type):
7955 Replace check of introspection data by a test call of "CreateItem".
7956 Some servers do not offer introspection.
7957
7958 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7959
7960 * electric.el (electric-pair-mode): Improve interaction with
7961 electric-layout-mode.
7962 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7963 (electric-pair-syntax): Use text-mode-syntax-table in comments
7964 and strings.
7965 (electric-pair--insert): New function.
7966 (electric-pair-post-self-insert-function): Use it and
7967 electric--after-char-pos.
7968
7969 2013-06-19 Leo Liu <sdl.web@gmail.com>
7970
7971 * progmodes/octave.el (octave-help): Fix regexp.
7972
7973 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7974
7975 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7976 (shr-table-horizontal-line): Allow nil as a value, and change the
7977 default.
7978 (shr-insert-table-ruler): Respect the nil value.
7979
7980 2013-06-18 Tom Tromey <tromey@barimba>
7981
7982 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7983 New defvars.
7984 (eww-open-file): New defun.
7985 (eww-render): Initialize new variables.
7986 (eww-display-html): Handle "link" and "a".
7987 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7988 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7989 (eww-back-url): Rename from eww-previous-url.
7990 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7991 New defuns.
7992
7993 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7994
7995 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7996 Distinguish ternary operator tokens from slash symbol and slash
7997 char literal.
7998
7999 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8000
8001 Convert symbol prettification into minor mode and global minor mode.
8002
8003 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8004 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8005 (prettify-symbols--keywords): Rename from
8006 `prog-prettify-symbols-alist' and make a local defvar.
8007 (prettify-symbols--compose-symbol): Rename from
8008 `prog--prettify-font-lock-compose-symbol'.
8009 (prettify-symbols--make-keywords): Rename from
8010 `prog-prettify-font-lock-symbols-keywords' and simplify.
8011 (prog-prettify-install): Remove.
8012 (prettify-symbols-mode): New minor mode, based on
8013 `prog-prettify-install'.
8014 (turn-on-prettify-symbols-mode): New function.
8015 (global-prettify-symbols-mode): New globalized minor mode.
8016
8017 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8018 * progmodes/cfengine.el (cfengine3-mode):
8019 * progmodes/perl-mode.el (perl-mode): Don't call
8020 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8021
8022 2013-06-18 Juri Linkov <juri@jurta.org>
8023
8024 * files-x.el (modify-file-local-variable-message): New function.
8025 (modify-file-local-variable)
8026 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8027 and call `modify-file-local-variable-message' when it's non-nil.
8028 (add-file-local-variable, delete-file-local-variable)
8029 (add-file-local-variable-prop-line)
8030 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8031 and use it. (Bug#9820)
8032
8033 2013-06-18 Juri Linkov <juri@jurta.org>
8034
8035 * emulation/vi.el (vi-shell-op):
8036 * emulation/vip.el (vip-execute-com, ex-command):
8037 * emulation/viper-cmd.el (viper-exec-bang):
8038 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8039 the call of `shell-command-on-region'. (Bug#14637)
8040
8041 * simple.el (shell-command-on-region): Doc fix.
8042
8043 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8044
8045 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8046 (bug#14633).
8047
8048 2013-06-18 Glenn Morris <rgm@gnu.org>
8049
8050 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8051
8052 * newcomment.el (comment-search-forward, comment-search-backward):
8053 Doc fix. (Bug#14376)
8054
8055 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8056
8057 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8058 (buffer-face-mode-invoke): Doc fix.
8059
8060 2013-06-18 Matthias Meulien <orontee@gmail.com>
8061
8062 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8063 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8064
8065 2013-06-18 Glenn Morris <rgm@gnu.org>
8066
8067 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8068 Replace obsolete function generic-make-keywords with its expansion.
8069
8070 * progmodes/python.el (ffap-alist): Declare.
8071
8072 * textmodes/reftex.el (bibtex-mode-map): Declare.
8073
8074 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8075
8076 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8077 (package-unpack, package-unpack-single): Return the pkg-dir.
8078 (package-download-transaction): Use it to update package-alist.
8079
8080 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8081
8082 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8083 possible choice.
8084
8085 2013-06-17 Juri Linkov <juri@jurta.org>
8086
8087 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8088
8089 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8090
8091 * emacs-lisp/package.el (package-load-descriptor):
8092 Remove `with-syntax-table' call, `read' doesn't need it.
8093 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8094
8095 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8096
8097 * startup.el (command-line): Expand package name returned by
8098 `package--description-file' (bug#14639).
8099
8100 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8101
8102 * emacs-lisp/package.el (package-load-descriptor): Do not call
8103 `emacs-lisp-mode', just use its syntax table.
8104
8105 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8106
8107 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8108 `font-lock-extra-managed-props' if any prettifying keyword is added.
8109 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8110 (prog-mode): Use `setq-local'.
8111
8112 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8113
8114 * international/characters.el (standard-case-table): Set syntax of ?»
8115 and ?« to punctuation.
8116
8117 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8118
8119 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8120 Save relevant match data before calling `syntax-ppss' (bug#14595).
8121
8122 2013-06-15 Juri Linkov <juri@jurta.org>
8123
8124 * files-x.el (modify-file-local-variable-prop-line): Add local
8125 variables to the end of the existing comment on the first line.
8126 Use `file-auto-mode-skip' to skip interpreter magic line,
8127 and also skip XML declaration.
8128
8129 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8130
8131 * startup.el (package--builtin-versions): New var.
8132 (package-subdirectory-regexp): Remove.
8133 (package--description-file): Hard code its value instead.
8134
8135 * emacs-lisp/package.el: Don't activate packages older than builtin.
8136 (package-obsolete-list): Rename from package-obsolete-alist, and make
8137 it into a simple list of package-desc.
8138 (package-strip-version): Remove.
8139 (package-built-in-p): Use package--builtin-versions.
8140 (package-mark-obsolete): Simplify.
8141 (package-process-define-package): Mark it obsolete if older than the
8142 builtin version.
8143 (package-handle-response): Use line-end-position.
8144 (package-read-archive-contents, package--download-one-archive):
8145 Simplify.
8146 (package--add-to-archive-contents): Skip if older than the builtin or
8147 installed version.
8148 (package-menu-describe-package): Fix last change.
8149 (package-list-unversioned): New var.
8150 (package-menu--generate): Use it.
8151
8152 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8153 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8154 (autoload-builtin-package-versions): New variable.
8155 (autoload-generate-file-autoloads): Use them.
8156 Remove the list of autoloaded functions/macros from the
8157 (autoload...) comments.
8158
8159 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8160
8161 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8162
8163 * simple.el (line-move-partial): Don't jump to the next screen
8164 line as soon as it becomes visible. Instead, continue enlarging
8165 the vscroll until the portion of a tall screen line that's left on
8166 display is about the height of the frame's default font.
8167 (Bug#14567)
8168
8169 2013-06-15 Glenn Morris <rgm@gnu.org>
8170
8171 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8172 compilation-error-regexp-alist void, or local while let-bound.
8173
8174 * progmodes/make-mode.el (makefile-mode-syntax-table):
8175 Treat "=" as punctuation. (Bug#14614)
8176
8177 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8178
8179 * help-fns.el (describe-variable):
8180 Add extra line for permanent-local variables.
8181
8182 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8183
8184 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8185 Add export, import, library. (Bug#9164)
8186 (library): Set indent function.
8187
8188 2013-06-14 Glenn Morris <rgm@gnu.org>
8189
8190 * term/xterm.el (xterm--query):
8191 Stop after first matching handler. (Bug#14615)
8192
8193 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8194
8195 Add support for dired in saveplace.
8196 * dired.el (dired-initial-position-hook): New variable.
8197 (dired-initial-position): Call hook to place cursor position.
8198 * saveplace.el (save-place-to-alist): Add dired position.
8199 (save-place-dired-hook): New function.
8200
8201 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8202
8203 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8204 through a symbol rather than letrec.
8205
8206 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8207 (package-desc): Add `dir' field.
8208 (package-desc-full-name): New function.
8209 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8210 (package-maybe-load-descriptor): Remove.
8211 (package-load-all-descriptors): Just call package-load-descriptor.
8212 (package--disabled-p): New function.
8213 (package-desc-vers, package-desc-doc): Remove aliases.
8214 (package--dir): Remove function.
8215 (package-activate): Check if a package is disabled.
8216 (package-process-define-package): New function, extracted from
8217 define-package.
8218 (define-package): Turn into a place holder.
8219 (package-unpack-single, package-tar-file-info):
8220 Use package--description-file.
8221 (package-compute-transaction): Use package--disabled-p.
8222 (package-download-transaction): Don't call
8223 package-maybe-load-descriptor since they're all loaded anyway.
8224 (package-install): Change argument to be a pkg-desc.
8225 (package-delete): Use a single pkg-desc argument.
8226 (describe-package-1): Use package-desc-dir instead of package--dir.
8227 Use package-desc property instead of package-symbol.
8228 (package-install-button-action): Adjust accordingly.
8229 (package--push): Rewrite.
8230 (package-menu--print-info): Adjust accordingly. Change the ID format
8231 to be a pkg-desc.
8232 (package-menu-describe-package, package-menu-get-status)
8233 (package-menu--find-upgrades, package-menu-mark-upgrades)
8234 (package-menu-execute, package-menu--name-predicate):
8235 Adjust accordingly.
8236 * startup.el (package--description-file): New function.
8237 (command-line): Use it.
8238 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8239 Use package-desc-version.
8240
8241 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8242 (byte-compile-preprocess): Use it.
8243 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8244 can't quite recognize.
8245 (byte-compile-add-to-list): Remove.
8246 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8247 (cconv-closure-convert): Add assertion.
8248
8249 * emacs-lisp/map-ynp.el: Use lexical-binding.
8250 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8251 Factor out some repeated code.
8252
8253 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * subr.el (with-eval-after-load): New macro.
8256 (eval-after-load): Allow form to be a function.
8257 take advantage of lexical-binding.
8258 (do-after-load-evaluation): Use dolist and adjust to new format.
8259 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8260
8261 2013-06-13 Juri Linkov <juri@jurta.org>
8262
8263 * replace.el (perform-replace): Display "symbol " and other search
8264 modes from `isearch-message-prefix' in the *Help* buffer.
8265
8266 * isearch.el (isearch-query-replace): Add " symbol" and other
8267 possible search modes from `isearch-message-prefix' to the prompt.
8268 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8269 when reading a regexp to collect.
8270
8271 2013-06-13 Juri Linkov <juri@jurta.org>
8272
8273 * isearch.el (word-search-regexp): Match whitespace if the search
8274 string begins or ends in whitespace. The LAX arg is applied to
8275 both ends of the search string. Use `regexp-quote' and explicit
8276 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8277 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8278 boundaries are replaced with symbol boundaries, and characters
8279 between symbols match non-word non-symbol syntax. (Bug#14602)
8280
8281 2013-06-13 Juri Linkov <juri@jurta.org>
8282
8283 * isearch.el (isearch-del-char): Don't exceed the length of
8284 `isearch-string' by the prefix arg. (Bug#14563)
8285
8286 2013-06-13 Juri Linkov <juri@jurta.org>
8287
8288 * isearch.el (isearch-yank-word, isearch-yank-line)
8289 (isearch-char-by-name, isearch-quote-char)
8290 (isearch-printing-char, isearch-process-search-char):
8291 Add optional count prefix arg. (Bug#14563)
8292
8293 * international/isearch-x.el
8294 (isearch-process-search-multibyte-characters):
8295 Add optional count prefix arg.
8296
8297 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8298
8299 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8300 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8301 lexical-binding.
8302
8303 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8304
8305 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8306
8307 2013-06-13 Glenn Morris <rgm@gnu.org>
8308
8309 * startup.el (tty-handle-args):
8310 Don't just discard "--" and anything after. (Bug#14608)
8311
8312 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8313
8314 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8315
8316 Implement changes in Secret Service API. Make it backward compatible.
8317 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8318 (secrets-create-item): Use it. Prefix properties with interface.
8319
8320 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8321
8322 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8323 (term-emulate-terminal): Respect term-suppress-hard-newline.
8324
8325 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8326
8327 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8328 Only remove a `thumb-file' overlay. (Bug#14548)
8329
8330 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8331
8332 * mail/reporter.el (reporter-submit-bug-report):
8333 Handle missing package-name. (Bug#14600)
8334
8335 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8336
8337 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8338 (reftex-citation-prompt, reftex-default-bibliography)
8339 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8340 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8341 (reftex-bib-sort-author, reftex-bib-sort-year)
8342 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8343 (reftex-extract-bib-entries-from-thebibliography)
8344 (reftex-get-bibkey-default, reftex-get-bib-names)
8345 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8346 (reftex-format-bib-entry, reftex-parse-bibitem)
8347 (reftex-format-bibitem, reftex-do-citation)
8348 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8349 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8350 (reftex-insert-bib-matches, reftex-format-citation)
8351 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8352 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8353 existing comments into docstrings.
8354
8355 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8356
8357 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8358
8359 2013-06-12 Andreas Schwab <schwab@suse.de>
8360
8361 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8362 for auto-save files.
8363
8364 2013-06-12 Glenn Morris <rgm@gnu.org>
8365
8366 * ido.el (ido-delete-ignored-files): Remove.
8367 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8368 Go back to calling ido-ignore-item-p directly.
8369
8370 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8371
8372 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8373
8374 * ido.el (ido-delete-ignored-files): New function,
8375 split from ido-make-file-list-1.
8376 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8377 (ido-make-file-list-1): Use ido-delete-ignored-files.
8378
8379 2013-06-12 Leo Liu <sdl.web@gmail.com>
8380
8381 * progmodes/octave.el (inferior-octave-startup)
8382 (inferior-octave-completion-table)
8383 (inferior-octave-track-window-width-change)
8384 (octave-eldoc-function-signatures, octave-help)
8385 (octave-find-definition): Use single quoted strings.
8386 (inferior-octave-startup-args): Change default value.
8387 (inferior-octave-startup): Do not hard code "-i" and
8388 "--no-line-editing".
8389 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8390 (inferior-octave-directory-tracker): Use it.
8391 (octave-goto-function-definition): Robustify.
8392 (octave-help): Support highlighting operators in 'See also'.
8393 (octave-find-definition): Find subfunctions only in Octave mode.
8394
8395 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8396
8397 * help-fns.el (help-fns--compiler-macro): If the handler function is
8398 named, then put a link to it.
8399 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8400 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8401 (cl-typep): Use it.
8402 (cl-eval-when): Simplify debug spec.
8403 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8404 compiler-macro function instead of setting `compiler-macro-file'.
8405
8406 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8407
8408 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8409 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8410
8411 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8412 Daniel Hackney <dan@haxney.org>
8413
8414 First part of Daniel Hackney's patch to package.el.
8415 * emacs-lisp/package.el: Use defstruct.
8416 (package-desc): New, main struct.
8417 (package--bi-desc, package--ac-desc): New structs, used to describe the
8418 format in external files.
8419 (package-desc-vers): Replace with package-desc-version accessor.
8420 (package-desc-doc): Replace with package-desc-summary accessor.
8421 (package-activate-1): Remove `package' arg since the pkg-vec now
8422 includes the name.
8423 (define-package): Use package-desc-from-define.
8424 (package-unpack-single): Change file-name arg to be a symbol.
8425 (package--add-to-archive-contents): Use package-desc-create and new
8426 accessor functions to package--ac-desc.
8427 (package-buffer-info, package-tar-file-info): Return a package-desc.
8428 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8429 arg to be a package-desc.
8430 (package-install-file): Adjust accordingly. Use \' to match EOS.
8431 (package--from-builtin): New function.
8432 (describe-package-1, package-menu--generate): Use it.
8433 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8434 (package-generate-autoloads): Idem and return the name of the file.
8435 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8436 Change pkg-info arg to be a package-desc.
8437 Use package-make-ac-desc.
8438 (package-upload-file): Use \' to match EOS.
8439 * finder.el (finder-compile-keywords): Use package-make-builtin.
8440
8441 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8442
8443 * vc/vc.el (vc-deduce-fileset): Change error message.
8444 (vc-read-backend): New function.
8445 (vc-next-action): Use it.
8446
8447 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8448
8449 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8450 (prolog-font-lock-keywords): Use regexp-opt instead.
8451 Don't manually highlight strings.
8452 (prolog-mode-variables): Simplify comment-start-skip.
8453 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8454
8455 * emacs-lisp/generic.el (generic--normalise-comments)
8456 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8457 (generic-mode-set-comments): Use them.
8458 (generic-bracket-support): Use setq-local.
8459 (generic-make-keywords-list): Declare obsolete.
8460
8461 2013-06-11 Glenn Morris <rgm@gnu.org>
8462
8463 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8464 Prettify after setting font-lock-defaults. (Bug#14574)
8465
8466 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8467
8468 * replace.el (query-replace, occur-read-regexp-defaults-function)
8469 (replace-search):
8470 * subr.el (declare-function, number-sequence, local-set-key)
8471 (substitute-key-definition, locate-user-emacs-file)
8472 (with-silent-modifications, split-string, eval-after-load):
8473 Fix typos, remove unneeded backslashes and reflow some docstrings.
8474
8475 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8476
8477 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8478 default for Elisp files.
8479
8480 2013-06-11 Glenn Morris <rgm@gnu.org>
8481
8482 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8483 although define-derived-mode was doing this anyway. (Bug#14583)
8484
8485 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8486
8487 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8488 Fix make-variable-buffer-local call to refer to the correct variable.
8489
8490 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8491
8492 * eshell/em-term.el (eshell-visual-commands)
8493 (eshell-visual-subcommands, eshell-visual-options):
8494 Add summary line to docstrings. Add cross-references.
8495
8496 2013-06-10 Glenn Morris <rgm@gnu.org>
8497
8498 * epa.el (epa-read-file-name): New function. (Bug#14510)
8499 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8500
8501 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8502
8503 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8504 output redirection to be ignored with visual commands.
8505
8506 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8507
8508 * eshell/em-term.el (eshell-visual-command-p): New function.
8509 (eshell-term-initialize): Move long lambda to separate function
8510 eshell-visual-command-p.
8511 * eshell/em-dirs.el (eshell-dirs-initialise):
8512 * eshell/em-script.el (eshell-script-initialize):
8513 Add missing #' to lambda.
8514
8515 2013-06-08 Leo Liu <sdl.web@gmail.com>
8516
8517 * progmodes/octave.el (octave-add-log-current-defun): New function.
8518 (octave-mode): Set add-log-current-defun-function.
8519 (octave-goto-function-definition): Do not move point if not found.
8520 (octave-find-definition): Enhance to try subfunctions first.
8521
8522 2013-06-08 Glenn Morris <rgm@gnu.org>
8523
8524 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8525 (byte-compile-backward-char, byte-compile-backward-word):
8526 Improve previous change, to handle non-explicit nil.
8527
8528 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8529
8530 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8531 (smie--opener/closer-at-point): New function.
8532 (smie--matching-block-data): Use it. Don't match from right after an
8533 opener or right before a closer. Obey smie-blink-matching-inners.
8534 Don't signal a mismatch for repeated inners like "switch..case..case".
8535
8536 2013-06-07 Leo Liu <sdl.web@gmail.com>
8537
8538 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8539 to t. (Bug#14303)
8540 (octave-function-header-regexp): Fix. (Bug#14570)
8541 (octave-help-mode-finish-hook, octave-help-mode-finish):
8542 Remove. Just use temp-buffer-show-hook.
8543
8544 * newcomment.el (comment-search-backward): Revert last change.
8545 (Bug#14434)
8546
8547 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8548
8549 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8550
8551 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8552 through xargs, to avoid failure due to MS-Windows limitations on
8553 command-line length.
8554
8555 2013-06-06 Glenn Morris <rgm@gnu.org>
8556
8557 * font-lock.el (lisp-font-lock-keywords-2):
8558 Treat user-error like error.
8559
8560 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8561 (byte-compile-backward-char, byte-compile-backward-word):
8562 Handle explicit nil arguments. (Bug#14565)
8563
8564 2013-06-05 Alan Mackenzie <acm@muc.de>
8565
8566 * isearch.el (isearch-allow-prefix): New user option.
8567 (isearch-other-meta-char): Don't exit isearch when a prefix
8568 argument is typed whilst `isearch-allow-prefix' is non-nil.
8569 (Bug#9706)
8570
8571 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8572
8573 * autorevert.el (auto-revert-notify-handler): Use memq.
8574 Hide assertion failure.
8575
8576 * skeleton.el: Use cl-lib.
8577 (skeleton-further-elements): Use defvar-local.
8578 (skeleton-insert): Use cl-progv.
8579
8580 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8581
8582 * progmodes/prog-mode.el (prog-prettify-symbols)
8583 (prog-prettify-install): Update docstrings.
8584
8585 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8586
8587 * simple.el: Move all the prog-mode code to prog-mode.el.
8588 * progmodes/prog-mode.el: New file.
8589 * loadup.el: Add prog-mode.el.
8590
8591 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8592
8593 * simple.el (prog-prettify-symbols): Add version.
8594 (prog-prettify-install): Add convenience function to prettify symbols.
8595
8596 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8597 (perl--augmented-font-lock-keywords-1)
8598 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8599 variables and use it.
8600
8601 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8602 (cfengine3-mode): Remove unneeded variable and use it.
8603
8604 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8605 (lisp--augmented-font-lock-keywords-1)
8606 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8607 Remove unneeded variables and use it.
8608
8609 2013-06-05 João Távora <joaotavora@gmail.com>
8610
8611 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8612 to point when opening the connection. (Bug#14380)
8613
8614 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8615
8616 * subr.el (load-history-regexp, load-history-filename-element)
8617 (eval-after-load, after-load-functions, do-after-load-evaluation)
8618 (eval-next-after-load, display-delayed-warnings)
8619 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8620 definition of save-match-data.
8621 (overriding-local-map): Remove accidental obsolescence declaration.
8622
8623 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8624
8625 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8626
8627 Generalize symbol prettify support to prog-mode and implement it
8628 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8629 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8630 (prog--prettify-font-lock-compose-symbol)
8631 (prog-prettify-font-lock-symbols-keywords): New variables and
8632 functions to support symbol prettification.
8633 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8634 (lisp--augmented-font-lock-keywords-1)
8635 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8636 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8637 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8638 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8639 Implement prettify of -> => :: strings.
8640 * progmodes/perl-mode.el (perl-prettify-symbols)
8641 (perl--font-lock-compose-symbol)
8642 (perl--font-lock-symbols-keywords): Move to prog-mode.
8643 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8644 (perl-font-lock-keywords-1)
8645 (perl-font-lock-keywords-2): Remove explicit prettify support.
8646 (perl--augmented-font-lock-keywords)
8647 (perl--augmented-font-lock-keywords-1)
8648 (perl--augmented-font-lock-keywords-2, perl-mode):
8649 Implement prettify support.
8650
8651 2013-06-05 Leo Liu <sdl.web@gmail.com>
8652
8653 Re-implement smie matching block highlight using
8654 show-paren-data-function. (Bug#14395)
8655 * emacs-lisp/smie.el (smie-matching-block-highlight)
8656 (smie--highlight-matching-block-overlay)
8657 (smie--highlight-matching-block-lastpos)
8658 (smie-highlight-matching-block)
8659 (smie-highlight-matching-block-mode): Remove.
8660 (smie--matching-block-data-cache): New variable.
8661 (smie--matching-block-data): New function.
8662 (smie-setup): Use smie--matching-block-data for
8663 show-paren-data-function.
8664
8665 * progmodes/octave.el (octave-mode-menu): Fix.
8666 (octave-find-definition): Skip garbage lines.
8667
8668 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8669
8670 Fix compilation error with simultaneous dynamic+lexical scoping.
8671 Add warning when a defvar appears after the first let-binding.
8672 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8673 (byte-compile-close-variables): Initialize it.
8674 (byte-compile--declare-var): New function.
8675 (byte-compile-file-form-defvar)
8676 (byte-compile-file-form-define-abbrev-table)
8677 (byte-compile-file-form-custom-declare-variable): Use it.
8678 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8679 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8680 (byte-compile-bind): Handle dynamic bindings that shadow
8681 lexical bindings.
8682 (byte-compile-unbind): Make arg non-optional.
8683 (byte-compile-let): Simplify.
8684 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8685 (cconv--analyse-function, cconv-analyse-form): Populate it.
8686 Protect byte-compile-bound-variables to limit the scope of defvars.
8687 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8688 Remove unneeded rule for `declare'.
8689
8690 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8691 so as to avoid depending on cl-adjoin at run-time.
8692 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8693
8694 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8695 (macroexp--warn-and-return): Use it.
8696
8697 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8698
8699 * lisp/subr.el: Convert to lexical binding.
8700 (overriding-local-map): Make obsolete.
8701 (add-to-list): Doc fix. Add compiler macro.
8702 (read-key): Swap values of local maps.
8703
8704 2013-06-05 Leo Liu <sdl.web@gmail.com>
8705
8706 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8707
8708 2013-06-04 Leo Liu <sdl.web@gmail.com>
8709
8710 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8711 (compilation-auto-jump): Suppress the "Mark set" message to give
8712 way to exit message.
8713
8714 2013-06-04 Alan Mackenzie <acm@muc.de>
8715
8716 Remove faulty optimisation from indentation calculation.
8717 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8718 search limit based on 2000 characters back from indent-point.
8719
8720 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8721
8722 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8723
8724 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8725
8726 * emacs-lisp/lisp.el: Use lexical-binding.
8727 (lisp--local-variables-1, lisp--local-variables): New functions.
8728 (lisp--local-variables-completion-table): New var.
8729 (lisp-completion-at-point): Use it complete let-bound vars.
8730
8731 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8732 eagerly (bug#14422).
8733
8734 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8735
8736 * autorevert.el (auto-revert-notify-enabled)
8737 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8738 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8739 (auto-revert-notify-handler): Handle also gfilenotify.
8740
8741 * subr.el (file-notify-handle-event): New defun. Replacing ...
8742 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8743 Remove.
8744
8745 2013-06-03 Juri Linkov <juri@jurta.org>
8746
8747 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8748 `M-s h .'. (Bug#14427)
8749
8750 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8751 command `hi-lock-face-symbol-at-point'.
8752 (hi-lock-face-symbol-at-point): New command.
8753 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8754 (hi-lock-menu): Add `highlight-symbol-at-point'.
8755 (hi-lock-mode): Doc fix.
8756
8757 * isearch.el (isearch-forward-symbol-at-point): New command.
8758 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8759 (isearch-highlight-regexp): Add a regexp which matches
8760 words/symbols for word/symbol mode.
8761
8762 * subr.el (find-tag-default-bounds): New function with the body
8763 mostly moved from `find-tag-default'.
8764 (find-tag-default): Move most code to `find-tag-default-bounds',
8765 call it and apply `buffer-substring-no-properties' afterwards.
8766
8767 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8768
8769 * eshell/em-term.el (eshell-term-initialize):
8770 Use `cl-intersection' rather than `intersection'.
8771
8772 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8773
8774 * vc/log-view.el: Doc fix.
8775 (log-view-mode-map): Copy keymap from `special-mode-map'.
8776
8777 2013-06-02 Eric Ludlam <zappo@gnu.org>
8778
8779 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8780 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8781 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8782 (eieio-unbound, eieio-default-superclass)
8783 (eieio--define-field-accessors, method-static, method-before)
8784 (method-primary, method-after, method-num-lists)
8785 (method-generic-before, method-generic-primary)
8786 (method-generic-after, method-num-slots)
8787 (eieio-specialized-key-to-generic-key)
8788 (eieio--check-type, class-v, class-p)
8789 (eieio-class-name, define-obsolete-function-alias)
8790 (eieio-class-parents-fast, eieio-class-children-fast)
8791 (same-class-fast-p, class-constructor, generic-p)
8792 (generic-primary-only-p, generic-primary-only-one-p)
8793 (class-option-assoc, class-option, eieio-object-p)
8794 (class-abstract-p, class-method-invocation-order)
8795 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8796 (eieio-class-un-autoload, eieio-defclass)
8797 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8798 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8799 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8800 (eieio-defgeneric-reset-generic-form)
8801 (eieio-defgeneric-form-primary-only)
8802 (eieio-defgeneric-reset-generic-form-primary-only)
8803 (eieio-defgeneric-form-primary-only-one)
8804 (eieio-defgeneric-reset-generic-form-primary-only-one)
8805 (eieio-unbind-method-implementations)
8806 (eieio--defmethod, eieio--typep)
8807 (eieio-perform-slot-validation, eieio-validate-slot-value)
8808 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8809 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8810 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8811 (eieio-slot-name-index, eieio-class-slot-name-index)
8812 (eieio-set-defaults, eieio-initarg-to-attribute)
8813 (eieio-attribute-to-initarg, eieio-c3-candidate)
8814 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8815 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8816 (eieio-class-precedence-list, eieio-generic-call-methodname)
8817 (eieio-generic-call-arglst, eieio-generic-call-key)
8818 (eieio-generic-call-next-method-list)
8819 (eieio-pre-method-execution-functions, eieio-generic-call)
8820 (eieio-generic-call-primary-only, eieiomt-method-list)
8821 (eieiomt-optimizing-obarray, eieiomt-install)
8822 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8823 (eieio-generic-form, eieio-defmethod, make-obsolete)
8824 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8825 (defclass): Remove `eval-and-compile' from macro.
8826 (call-next-method, shared-initialize): Instead of using
8827 `scoped-class' variable, use new eieio--scoped-class, and
8828 eieio--with-scoped-class.
8829 (initialize-instance): Rename local variable 'scoped-class' to
8830 'this-class' to remove ambiguitity from old global.
8831
8832 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8833 eieio.el.
8834 (eieio--scoped-class-stack): New variable.
8835 (eieio--scoped-class): New fcn.
8836 (eieio--with-scoped-class): New scoping macro.
8837 (eieio-defclass): Use pushnew instead of add-to-list.
8838 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8839 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8840 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8841 `scoped-class' variable, use new eieio--scoped-class, and
8842 eieio--with-scoped-class.
8843
8844 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8845
8846 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8847
8848 * eshell/esh-ext.el (eshell-external-command): Pass args to
8849 `eshell-find-interpreter'.
8850 (eshell-find-interpreter): Add new second parameter ARGS.
8851
8852 * eshell/em-script.el (eshell-script-initialize): Add second arg
8853 to the function added as MATCH to `eshell-interpreter-alist'.
8854
8855 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8856 the function added as MATCH to `eshell-interpreter-alist'.
8857
8858 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8859 (eshell-visual-options): New defcustom.
8860 (eshell-escape-control-x): Adapt docstring.
8861 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8862 `eshell-visual-options' in addition to `eshell-visual-commands'.
8863 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8864
8865 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8866
8867 * progmodes/python.el (python-indent-block-enders): Add break,
8868 continue and raise keywords.
8869
8870 2013-06-01 Glenn Morris <rgm@gnu.org>
8871
8872 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8873
8874 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8875 * progmodes/cc-cmds.el (delete-forward-p):
8876 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8877 * progmodes/cc-engine.el (buffer-syntactic-context):
8878 * progmodes/cc-fonts.el (face-property-instance):
8879 * progmodes/cc-mode.el (set-keymap-parents):
8880 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8881 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8882 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8883 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8884 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8885
8886 * progmodes/cc-vars.el (other): Emacs has this widget since
8887 at least 21.1, so don't (re)define it.
8888
8889 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8890 Replace the obsolete alias pcomplete-arg-quote-list.
8891
8892 2013-06-01 Leo Liu <sdl.web@gmail.com>
8893
8894 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8895 punctuation syntax.
8896 (inferior-octave-minimal-columns)
8897 (inferior-octave-last-column-width): New variables.
8898 (inferior-octave-track-window-width-change): New function.
8899 (inferior-octave-mode): Adjust column width so that Octave output,
8900 for example from 'ls', can fit into the window nicely.
8901
8902 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8903
8904 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8905 Highlight expansions inside regexp literals.
8906
8907 2013-05-31 Glenn Morris <rgm@gnu.org>
8908
8909 * obsolete/sym-comp.el (symbol-complete):
8910 Replace obsolete completion-annotate-function.
8911
8912 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8913
8914 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8915
8916 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8917 New function, checks if point is inside a literal that allows
8918 expression expansion.
8919 (ruby-syntax-propertize-expansion): Use it.
8920 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8921 around the body.
8922
8923 2013-05-30 Juri Linkov <juri@jurta.org>
8924
8925 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8926 to "\M-si".
8927 (isearch-invisible): New variable.
8928 (isearch-forward): Doc fix.
8929 (isearch-mode): Set `isearch-invisible'
8930 to the value of `search-invisible'.
8931 (isearch-toggle-case-fold): Doc fix.
8932 (isearch-toggle-invisible): New command.
8933 (isearch-query-replace): Let-bind `search-invisible'
8934 to the value of `isearch-invisible'.
8935 (isearch-search): Use `isearch-invisible' instead of
8936 `search-invisible'. Let-bind `search-invisible'
8937 to the value of `isearch-invisible'. (Bug#11378)
8938
8939 2013-05-30 Juri Linkov <juri@jurta.org>
8940
8941 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8942 call when `query-flag' is nil and `search-invisible' is non-nil.
8943 (Bug#11746)
8944
8945 2013-05-30 Glenn Morris <rgm@gnu.org>
8946
8947 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8948
8949 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8950 (cc-require): Suppress spurious "noruntime" warnings.
8951 (cc-require-when-compile): Use fboundp, for sake of compiler.
8952
8953 * progmodes/cc-mode.el: Move load of cc-vars before that of
8954 cc-langs (which in turn loads cc-vars), to quieten compiler.
8955
8956 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8957
8958 * paren.el: Simplify the code.
8959 (show-paren-mode): Always start the timer.
8960 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8961 (show-paren--overlay, show-paren--overlay-1): Rename from
8962 show-paren-overlay and show-paren-overlay-1, and initialize to an
8963 overlay rather than to nil.
8964 (show-paren-function): Misc cleanup and simplifications.
8965
8966 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * paren.el (show-paren-data-function): New hook.
8969 (show-paren--default): New function, extracted from show-paren-function.
8970 (show-paren-function): Use show-paren-data-function.
8971
8972 2013-05-30 Glenn Morris <rgm@gnu.org>
8973
8974 * ielm.el (ielm-map, ielm-complete-symbol):
8975 Use completion-at-point rather than obsolete functions.
8976 (inferior-emacs-lisp-mode): Doc fix.
8977 Set completion-at-point-functions, rather than
8978 comint-dynamic-complete-functions.
8979
8980 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8981 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8982 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8983
8984 * image.el (image-animated-p): Tweak definition.
8985
8986 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8987 (rlogin-process-connection-type): Tweak default. Add set-after.
8988 (rlogin-host): Doc fix.
8989 (rlogin): Tweak prompt.
8990 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8991
8992 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8993 * progmodes/tcl.el (inferior-tcl-mode-map):
8994 Use completion-at-point rather than obsolete alias.
8995
8996 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8997
8998 * minibuffer.el (read-file-name-completion-ignore-case):
8999 Move before completion--in-region, for eager macro expansion.
9000
9001 2013-05-29 Juri Linkov <juri@jurta.org>
9002
9003 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9004 for total count of matching lines. Add `global-matches' for total
9005 count of matches. Rename `matches' to `lines' for count of
9006 matching lines. Add `matches' for count of matches.
9007 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9008 to `prev-line' for line number of prev match endpt.
9009 Increment `matches' for every match. Print the number of
9010 matching lines in the header.
9011 (occur-context-lines): Rename `lines' to `curr-line'.
9012 Rename `prev-lines' to `prev-line'. (Bug#14017)
9013
9014 2013-05-29 Juri Linkov <juri@jurta.org>
9015
9016 * replace.el (perform-replace): Add `skip-read-only-count',
9017 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9018 Increment them for corresponding conditions and report the number
9019 of skipped occurrences in the final message. (Bug#11746)
9020 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9021 (replace-string, replace-regexp): Doc fix.
9022
9023 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9024
9025 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9026
9027 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9028 prog-mode-map (bug#14504).
9029
9030 2013-05-29 Leo Liu <sdl.web@gmail.com>
9031
9032 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9033 (octave-help): Small simplification.
9034
9035 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9036 off the highlight first.
9037
9038 2013-05-29 Glenn Morris <rgm@gnu.org>
9039
9040 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9041 Handle idlwave-last-system-routine-info-cons-cell being nil.
9042
9043 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9044 (idlwave-write-paths): Simplify via with-temp-buffer.
9045
9046 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9047 * emulation/cua-rect.el: Also load cua-base at run time.
9048
9049 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9050 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9051 (cperl-imenu-on-info): Require imenu.
9052
9053 2013-05-28 Alan Mackenzie <acm@muc.de>
9054
9055 Handle "capitalised keywords" correctly.
9056 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9057
9058 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9059
9060 * eshell/em-unix.el: Add -r option to cp.
9061
9062 2013-05-28 Glenn Morris <rgm@gnu.org>
9063
9064 * vc/vc-arch.el (vc-exec-after): Declare.
9065 (vc-switches): Autoload.
9066 * vc/vc-bzr.el: No need to require vc when compiling.
9067 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9068 (vc-resynch-buffer, vc-dir-refresh): Declare.
9069 (vc-setup-buffer, vc-switches): Autoload.
9070 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9071 (vc-resynch-buffer): Declare.
9072 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9073 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9074 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9075 (grep-read-regexp, grep-read-files, grep-expand-template)
9076 (vc-dir-refresh): Declare.
9077 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9078 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9079 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9080 * vc/vc-mtn.el (vc-exec-after): Declare.
9081 (vc-switches): Autoload.
9082 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9083 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9084 (vc-file-tree-walk): Declare.
9085 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9086 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9087 (vc-tag-precondition, vc-rename-master): Autoload.
9088 * vc/vc-svn.el (vc-exec-after): Declare.
9089 (vc-switches, vc-setup-buffer): Autoload.
9090 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9091 Autoload.
9092 (vc-resynch-buffer): Declare.
9093
9094 * obsolete/fast-lock.el (byte-compile-warnings):
9095 Don't warn about obsolete features in this obsolete file.
9096
9097 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9098 Move definition before use.
9099
9100 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9101 (dun-unix-verbs): Remove dun-zippy.
9102 (dun-zippy): Remove function.
9103
9104 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9105
9106 2013-05-27 Juri Linkov <juri@jurta.org>
9107
9108 * replace.el (replace-search): New function with code moved out
9109 from `perform-replace'.
9110 (replace-highlight, replace-dehighlight): Move function definitions
9111 up closer to `replace-search'. (Bug#11746)
9112
9113 2013-05-27 Juri Linkov <juri@jurta.org>
9114
9115 * replace.el (perform-replace): Ignore invisible matches.
9116 In addition to checking `query-replace-skip-read-only', also
9117 filter out matches by calling `run-hook-with-args-until-failure'
9118 on `isearch-filter-predicates', and also check `search-invisible'
9119 for t or call `isearch-range-invisible'.
9120 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9121
9122 2013-05-27 Juri Linkov <juri@jurta.org>
9123
9124 * isearch.el (isearch-filter-predicates): Rename from
9125 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9126 (isearch-message-prefix): Display text from the property
9127 `isearch-message-prefix' of the currently active filters.
9128 (isearch-search): Don't compare `isearch-filter-predicate' with
9129 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9130 on `isearch-filter-predicates'. Also check `search-invisible' for t
9131 or call `isearch-range-invisible'.
9132 (isearch-filter-visible): Make obsolete.
9133 (isearch-lazy-highlight-search):
9134 Call `run-hook-with-args-until-failure' on
9135 `isearch-filter-predicates' and use `isearch-range-invisible'.
9136
9137 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9138 `isearch-filter-predicates' instead of `funcall'ing
9139 `isearch-filter-predicate'.
9140 (Info-mode): Set `Info-isearch-filter' to
9141 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9142
9143 * dired-aux.el (dired-isearch-filter-predicate-orig):
9144 Remove variable.
9145 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9146 (dired-isearch-filenames-end): Add and remove
9147 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9148 instead of changing the value of `isearch-filter-predicate'.
9149 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9150 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9151 Put property `isearch-message-prefix' to "filename " on
9152 `dired-isearch-filter-filenames'.
9153
9154 * wdired.el (wdired-change-to-wdired-mode):
9155 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9156 locally instead of changing `isearch-filter-predicate'.
9157 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9158
9159 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9160
9161 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9162 return the commit hash (Bug#14459). Also set the
9163 `vc-git-detached' property.
9164 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9165 (vc-git-mode-line-string): Use the same help-echo format whether
9166 in detached mode or not, because we know the actual revision now.
9167 When in detached mode, shorten the revision to 7 chars.
9168
9169 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9170
9171 * emacs-lisp/easy-mmode.el (define-minor-mode):
9172 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9173 mode hook and provide a docstring.
9174
9175 2013-05-27 Alan Mackenzie <acm@muc.de>
9176
9177 Remove spurious syntax-table text properties inserted by C-y.
9178 * progmodes/cc-mode.el (c-after-change): Also clear hard
9179 syntax-table property with value nil.
9180
9181 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9182
9183 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9184 when reading the events; the buffer layout shall not be changed.
9185
9186 2013-05-27 Leo Liu <sdl.web@gmail.com>
9187
9188 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9189 New variable.
9190 (inferior-octave-directory-tracker): Automatically re-sync
9191 default-directory.
9192 (octave-help): Improve handling of 'See also'.
9193
9194 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9195
9196 * doc-view.el: Minor naming convention tweaks.
9197 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9198
9199 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9200 even if there's no `display' property yet (bug#14435).
9201
9202 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9203
9204 * subr.el (unmsys--file-name): Rename from reveal-filename.
9205
9206 * Makefile.in (custom-deps, finder-data, autoloads)
9207 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9208 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9209 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9210
9211 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9212
9213 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9214 error-completion on the first 2 args of condition-case (bug#14446).
9215 Don't burp at EOB.
9216
9217 2013-05-25 Leo Liu <sdl.web@gmail.com>
9218
9219 * comint.el (comint-previous-matching-input): Do not flood the
9220 *Messages* buffer with trivial messages.
9221
9222 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9223
9224 * progmodes/flymake.el (flymake-nop): Don't return a string.
9225 (flymake-set-at): Fix typo.
9226
9227 * simple.el (read--expression): New function, extracted from
9228 eval-expression. Set completion-at-point-functions (bug#14465).
9229 (eval-expression, eval-minibuffer): Use it.
9230
9231 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9232
9233 * progmodes/flymake.el (flymake-save-buffer-in-file)
9234 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9235 (flymake-selected-frame, flymake-log, flymake-ins-after)
9236 (flymake-set-at, flymake-get-buildfile-from-cache)
9237 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9238 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9239 Refine the doc string.
9240 (flymake-get-file-name-mode-and-masks): Reformat.
9241 (flymake-get-real-file-name-function): Fix a minor bug.
9242
9243 2013-05-24 Juri Linkov <juri@jurta.org>
9244
9245 * progmodes/grep.el (grep-mode-font-lock-keywords):
9246 Support =linenumber= format used by git-grep for lines with
9247 function names. (Bug#13549)
9248
9249 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9250
9251 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9252 0 after a semi-colon; it works better for smie-auto-fill.
9253 (octave--indent-new-comment-line): New function.
9254 (octave-indent-new-comment-line): Use it (indirectly).
9255 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9256 modify comment-line-break-function.
9257
9258 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9259 (smie-setup): Use add-function to set it.
9260
9261 2013-05-24 Sam Steingold <sds@gnu.org>
9262
9263 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9264 argument (before the `interactive' argument).
9265
9266 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9267
9268 * image-mode.el (image-mode-winprops): Add winprops to
9269 image-mode-winprops-alist before running
9270 image-mode-new-window-functions.
9271 * doc-view.el (doc-view-new-window-function): Don't delay
9272 doc-view-goto-page via timers (bug#14435).
9273
9274 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9275
9276 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9277 (doc-view-desktop-save-buffer): New function.
9278 (doc-view-restore-desktop-buffer): New function.
9279 (desktop-buffer-mode-handlers):
9280 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9281 handler.
9282 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9283 `desktop-save-buffer' function.
9284
9285 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9286
9287 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9288 (tramp-gvfs-file-name-handler): Raise a user error when
9289 `tramp-gvfs-enabled' is nil.
9290 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9291 Do not raise a user error when loading package. (Bug#14447)
9292
9293 * net/xesam.el: Move to obsolete/.
9294
9295 2013-05-24 Glenn Morris <rgm@gnu.org>
9296
9297 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9298
9299 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9300
9301 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9302 (Info-find-node, Man-getpage-in-background): Declare.
9303
9304 * mail/unrmail.el (unrmail):
9305 Replace obsolete detect-coding-with-priority.
9306
9307 * net/socks.el (socks-split-string): Use this rather than split-string.
9308 (socks-nslookup-host): Update for above change.
9309 (dynamic-choice, s5-dynamic-choice-match)
9310 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9311 Comment out unused code.
9312
9313 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9314 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9315 (gud-tooltip-echo-area): Make obsolete.
9316 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9317
9318 * progmodes/js.el (js--optimize-arglist): Declare.
9319
9320 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9321
9322 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9323 (ediff-window-C): Declare.
9324
9325 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9326 Tweak requires to silence compiler.
9327
9328 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9329 (he-search-string, he-tried-table, he-expand-list)
9330 (he-init-string, he-string-member, he-substitute-string)
9331 (he-reset-string): Declare.
9332
9333 * obsolete/options.el (list-options): Use custom-variable-p,
9334 rather than obsolete alias.
9335
9336 2013-05-23 Sam Steingold <sds@gnu.org>
9337
9338 * simple.el (shell-command-on-region): Pass the `replace' argument
9339 down to `call-process-region' to comply with the doc as reported on
9340 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9341
9342 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9343
9344 * emacs-lisp/smie.el (smie-indent-forward-token)
9345 (smie-indent-backward-token): Handle string tokens (bug#14381).
9346
9347 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9348
9349 * ielm.el (ielm-menu): New menu.
9350 (inferior-emacs-lisp-mode): Set comment-start.
9351
9352 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9353
9354 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9355 Fix deactivate action.
9356
9357 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9358 Add cleveref macros.
9359
9360 * lisp/textmodes/reftex-parse.el
9361 (reftex-locate-bibliography-files): Accept options for
9362 bibliography commands.
9363 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9364 Add addbibresource. Basic Biblatex support.
9365
9366 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9367
9368 * net/tramp-gvfs.el (top):
9369 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9370 when loading package. (Bug#14447)
9371
9372 2013-05-23 Glenn Morris <rgm@gnu.org>
9373
9374 * progmodes/js.el: No need to load comint when compiling.
9375 (ring-insert, comint-send-string, comint-send-input)
9376 (comint-last-input-end, ido-chop): Declare.
9377
9378 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9379 * vc/ediff-mult.el: Adjust requires.
9380 (ediff-directories-internal, ediff-directory-revisions-internal)
9381 (ediff-patch-file-internal): Declare.
9382 * vc/ediff-ptch.el: Adjust requires.
9383 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9384 (ediff-find-file): Autoload.
9385 * vc/ediff-util.el: No need to load ediff when compiling.
9386 (ediff-regions-internal): Declare.
9387 * vc/ediff-wind.el: Adjust requires.
9388 (ediff-compute-toolbar-width): Define when compiling.
9389 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9390 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9391 (dired-get-filename, dired-get-marked-files)
9392 (ediff-last-dir-patch, ediff-patch-default-directory)
9393 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9394 (ediff-patch-buffer-internal): Declare.
9395
9396 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9397 (ispell-process, ispell-buffer-local-words, lm-summary)
9398 (lm-section-start, lm-section-end): Declare.
9399 (checkdoc-ispell-init): Simplify.
9400
9401 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9402 (he-string-member, he-reset-string, he-substitute-string): Declare.
9403
9404 * eshell/em-ls.el: Adjust requires.
9405 (eshell-glob-regexp): Declare.
9406 * eshell/em-tramp.el: Adjust requires.
9407 (eshell-parse-command): Autoload.
9408 * eshell/em-xtra.el: Adjust requires.
9409 (eshell-parse-command): Autoload.
9410 * eshell/esh-ext.el: Adjust requires.
9411 (eshell-parse-command, eshell-close-handles): Autoload.
9412 * eshell/esh-io.el: Adjust requires.
9413 (eshell-output-filter): Autoload.
9414 * eshell/esh-util.el: No need to load tramp when compiling.
9415 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9416 Declare.
9417 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9418 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9419 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9420 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9421 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9422 * eshell/esh-opt.el, eshell/esh-proc.el:
9423 * eshell/esh-var.el: Adjust requires.
9424 * eshell/eshell.el: Do not require esh-util twice.
9425 (eshell-add-input-to-history): Declare.
9426 (eshell-command): Check history module is active before using it.
9427
9428 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9429
9430 2013-05-22 Leo Liu <sdl.web@gmail.com>
9431
9432 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9433
9434 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9435
9436 * autorevert.el (auto-revert-notify-add-watch)
9437 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9438 it indicates changes in file modification time.
9439
9440 2013-05-22 Glenn Morris <rgm@gnu.org>
9441
9442 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9443 Always delete the autoloaded function from the noruntime and
9444 unresolved functions lists.
9445
9446 * allout.el: No need to load epa, epg, overlay when compiling.
9447 (epg-context-set-passphrase-callback, epg-list-keys)
9448 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9449 (epg-key-user-id-list): Declare.
9450
9451 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9452 (viper-set-parsing-style-toggling-macro)
9453 (viper-set-emacs-state-searchstyle-macros):
9454 Use called-interactively-p on Emacs.
9455 (viper-looking-back): Make it an obsolete alias. Update callers.
9456 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9457 Use looking-back rather than viper-looking-back.
9458 (viper-tmp-insert-at-eob, viper-enlarge-region)
9459 (viper-read-string-with-history, viper-register-to-point)
9460 (viper-append-to-register, viper-change-state-to-vi)
9461 (viper-backward-char-carefully, viper-forward-char-carefully)
9462 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9463 (viper-change-state-to-emacs): Declare.
9464 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9465 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9466 * emulation/viper-mous.el: Do not load viper-cmd.
9467 (viper-backward-char-carefully, viper-forward-char-carefully)
9468 (viper-forward-word, viper-adjust-window): Declare.
9469
9470 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9471
9472 * progmodes/idlw-help.el (idlwave-help-fontify):
9473 Use called-interactively-p.
9474
9475 * term/w32console.el (w32-get-console-codepage)
9476 (w32-get-console-output-codepage): Declare.
9477
9478 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9479 Remove unnecessary declarations.
9480 (dframe-message): Doc fix.
9481
9482 * info.el (dframe-select-attached-frame, dframe-current-frame):
9483 Declare.
9484
9485 * speedbar.el (speedbar-message): Make it an obsolete alias.
9486 Update all callers.
9487 (speedbar-with-attached-buffer)
9488 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9489 (speedbar-with-writable): Use backquote.
9490 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9491 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9492 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9493 rather than speedbar- aliases.
9494 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9495 (speedbar-make-specialized-keymap, speedbar-insert-button)
9496 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9497 (speedbar-do-function-pointer): Declare.
9498 (rmail-speedbar-button, rmail-speedbar-find-file)
9499 (rmail-speedbar-move-message):
9500 Use dframe-with-attached-buffer rather than speedbar- alias.
9501 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9502 (dframe-message, speedbar-make-specialized-keymap)
9503 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9504 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9505 (speedbar-insert-button, dframe-select-attached-frame)
9506 (dframe-maybee-jump-to-attached-frame)
9507 (speedbar-change-initial-expansion-list)
9508 (speedbar-previously-used-expansion-list-name): Declare.
9509 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9510 Use dframe-message, dframe-with-attached-buffer rather than
9511 speedbar- aliases.
9512 (gud-sentinel): Silence compiler.
9513 * progmodes/vhdl-mode.el (speedbar-refresh)
9514 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9515 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9516 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9517 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9518 (speedbar-file-lists, speedbar-make-tag-line)
9519 (speedbar-line-directory, speedbar-goto-this-file)
9520 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9521 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9522 (speedbar-make-button, speedbar-reset-scanners)
9523 (speedbar-files-item-info, speedbar-line-text)
9524 (speedbar-find-file-in-frame, speedbar-set-timer)
9525 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9526 (speedbar-with-writable): Do not (re)define it.
9527 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9528 rather than speedbar- alias.
9529
9530 2013-05-21 Leo Liu <sdl.web@gmail.com>
9531
9532 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9533 menu items.
9534 (octave-mode): Tweak fill-nobreak-predicate.
9535 (inferior-octave-startup): Check process to avoid infinite loop.
9536 (inferior-octave): Pop to buffer first to show abornmal process
9537 exit information.
9538
9539 2013-05-21 Glenn Morris <rgm@gnu.org>
9540
9541 * printing.el (pr-menu-bar): Define when compiling.
9542
9543 2013-05-21 Leo Liu <sdl.web@gmail.com>
9544
9545 * progmodes/octave.el (octave-auto-fill): Remove.
9546 (octave-indent-new-comment-line): Improve.
9547 (octave-mode): Use auto fill mode through
9548 comment-line-break-function and fill-nobreak-predicate.
9549 (octave-goto-function-definition): Support DEFUN_DLD.
9550 (octave-beginning-of-defun): Small tweak.
9551 (octave-help): Show parent directory.
9552
9553 2013-05-21 Glenn Morris <rgm@gnu.org>
9554
9555 * files.el (dired-unmark):
9556 * progmodes/gud.el (gdb-input): Update declarations.
9557
9558 * calculator.el (electric, ehelp): No need to load when compiling.
9559 (Electric-command-loop, electric-describe-mode): Declare.
9560
9561 * doc-view.el (doc-view-current-converter-processes): Move before use.
9562
9563 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9564 Move MODE-set-explicitly definition before use.
9565
9566 * international/mule-diag.el (mule-diag):
9567 Don't use obsolete window-system-version.
9568
9569 * mail/feedmail.el (smtpmail): No need to load when compiling.
9570 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9571
9572 * mail/mail-utils.el (rfc822): No need to load when compiling.
9573 (rfc822-addresses): Autoload it.
9574 (mail-strip-quoted-names): Trivial simplification.
9575
9576 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9577 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9578
9579 * net/snmp-mode.el (tempo): Don't duplicate requires.
9580
9581 * progmodes/prolog.el (info): No need to load when compiling.
9582 (comint): Require before shell requires it.
9583 (Info-goto-node): Autoload it.
9584 (Info-follow-nearest-node): Declare.
9585 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9586
9587 * textmodes/artist.el (picture-mode-exit): Declare.
9588
9589 * textmodes/reftex-parse.el (reftex-parse-from-file):
9590 Trivial rewrite so the compiler can parse it better.
9591
9592 2013-05-20 Leo Liu <sdl.web@gmail.com>
9593
9594 * progmodes/octave.el (octave-help-mode-map)
9595 (octave-help-mode-finish-hook): New variables.
9596 (octave-help-mode, octave-help-mode-finish): New functions.
9597 (octave-help): Use octave-help-mode.
9598
9599 2013-05-20 Glenn Morris <rgm@gnu.org>
9600
9601 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9602
9603 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9604
9605 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9606 start at point, so that expansion starting right after opening
9607 slash in a regexp is recognized.
9608 (ruby-syntax-before-regexp-re): New defvar, extracted from
9609 ruby-syntax-propertize-function. Since the value of this regexp
9610 is looked up at runtime now, we should be able to turn
9611 `ruby-syntax-methods-before-regexp' into a defcustom later.
9612 (ruby-syntax-propertize-function): Split regexp matching into two
9613 parts, for opening and closing slashes. That allows us to skip
9614 over string interpolations and support multiline regexps.
9615 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9616 for them, which calls `ruby-syntax-propertize-expansion'.
9617 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9618 call to `ruby-syntax-propertize-function'.
9619 (ruby-syntax-propertize-expansion): Extracted from
9620 `ruby-syntax-propertize-expansions'. Handles one expansion.
9621 (ruby-syntax-propertize-percent-literal): Leave point right after
9622 the percent symbol, so that the expression expansion rule can
9623 propertize the contents.
9624 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9625 heredoc openers.
9626 (ruby-syntax-propertize-expansions): Remove.
9627
9628 2013-05-18 Juri Linkov <juri@jurta.org>
9629
9630 * man.el (Man-default-man-entry): Remove `-' from the end
9631 of the default value. (Bug#14400)
9632
9633 2013-05-18 Glenn Morris <rgm@gnu.org>
9634
9635 * comint.el (comint-password-prompt-regexp):
9636 Allow "password for XXX" where XXX contains colons (eg https://...).
9637
9638 2013-05-18 Leo Liu <sdl.web@gmail.com>
9639
9640 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9641 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9642 (octave-source-directories): Don't check process.
9643 (octave-source-directories, octave-find-definition): Doc fix.
9644
9645 2013-05-18 Glenn Morris <rgm@gnu.org>
9646
9647 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9648 Remove backspace/delete bindings. (Bug#14392)
9649
9650 * cus-dep.el (custom-make-dependencies): Sort the output.
9651 (custom-versions-load-alist): Convert comment to doc.
9652
9653 2013-05-17 Leo Liu <sdl.web@gmail.com>
9654
9655 * newcomment.el (comment-search-backward): Stricter in finding
9656 comment start. (Bug#14303)
9657
9658 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9659 (octave-comment-start-skip): Properly anchored.
9660
9661 2013-05-17 Leo Liu <sdl.web@gmail.com>
9662
9663 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9664 Clean up when turned off. (Bug#14395)
9665 (smie--highlight-matching-block-overlay): No longer buffer-local.
9666 (smie-highlight-matching-block): Adjust.
9667
9668 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9669
9670 Doc string fix for "nanoseconds" (Bug#14406).
9671 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9672 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9673
9674 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9675
9676 * calc/calc-units.el (math-extract-units): Preserve powers
9677 of units.
9678
9679 2013-05-17 Leo Liu <sdl.web@gmail.com>
9680
9681 * subr.el (delete-consecutive-dups): New function.
9682 * ido.el (ido-set-matches-1): Use it.
9683 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9684 * ido.el (ido-remove-consecutive-dups): Remove.
9685
9686 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9687
9688 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9689 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9690 regexp-opt's `words'.
9691
9692 2013-05-16 Leo Liu <sdl.web@gmail.com>
9693
9694 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9695 (smie--highlight-matching-block-overlay)
9696 (smie--highlight-matching-block-lastpos)
9697 (smie--highlight-matching-block-timer): New variables.
9698 (smie-highlight-matching-block): New function.
9699 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9700 (smie-setup): Conditionally enable smie-blink-matching-open.
9701
9702 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9703
9704 Sync with upstream verilog-mode r840.
9705 * progmodes/verilog-mode.el (verilog-mode-version)
9706 (verilog-mode-release-date): Update.
9707 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9708 (verilog-sig-tieoff): Fix string error on
9709 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9710 (verilog-read-decls): Fix parameters confusing
9711 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9712
9713 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9714
9715 * subr.el (reveal-filename): New function.
9716
9717 * loadup.el: Compute Emacs executable versions on MS-Windows,
9718 where executables have the .exe extension. Add a hard link
9719 emacs-XX.YY.ZZ.exe on MS-Windows.
9720
9721 * Makefile.in (XARGS_LIMIT): New variable.
9722 (custom-deps, finder-data, autoloads)
9723 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9724 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9725 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9726 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9727
9728 2013-05-16 Leo Liu <sdl.web@gmail.com>
9729
9730 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9731 (octave-mode-menu, octave-mode-map): Remove its uses.
9732
9733 2013-05-16 Reto Zimmermann <reto@gnu.org>
9734
9735 Sync with upstream vhdl mode v3.34.2.
9736 * progmodes/vhdl-mode.el: Use `push' throughout.
9737 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9738 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9739 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9740 (vhdl-actual-generic-name): New option to derive actual generic name.
9741 (vhdl-port-paste-signals): Replace formal by actual generics.
9742 (vhdl-beautify): New name for old group vhdl-align. Update users.
9743 (vhdl-beautify-options): New option.
9744 (vhdl-last-input-event): New compat alias. Use throughout.
9745 (vhdl-goto-line): Replace user level function `goto-line'.
9746 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9747 vhdl-fix-statement-buffer.
9748 (vhdl-create-mode-menu): Add some entries.
9749 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9750 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9751 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9752 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9753 to force statements on one line.
9754 (vhdl-remove-trailing-spaces-region):
9755 New, split from vhdl-remove-trailing-spaces.
9756 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9757 Respect vhdl-beautify-options.
9758 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9759 (vhdl-update-sensitivity-list): Not add with index if exists without.
9760 Not include array index with signal. Ignore keywords in comments.
9761 (vhdl-get-visible-signals): Regexp tweaks.
9762 (vhdl-template-component-inst): Handle empty library.
9763 (vhdl-template-type): Add template for 'enum' type.
9764 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9765 Use vhdl-replace-string.
9766 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9767 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9768 (vhdl-speedbar-initialize): Update for above name change.
9769 (vhdl-compose-wire-components): Fix in handling of constants.
9770 (vhdl-error-regexp-emacs-alist): New variable.
9771 (vhdl-error-regexp-add-emacs): New function;
9772 adds support for new compile.el (Emacs 22+)
9773 (vhdl-generate-makefile-1): Change target order for single lib. units.
9774 Allow use of absolute file names.
9775
9776 2013-05-16 Leo Liu <sdl.web@gmail.com>
9777
9778 * simple.el (prog-indent-sexp): Indent enclosing defun.
9779
9780 2013-05-15 Glenn Morris <rgm@gnu.org>
9781
9782 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9783 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9784 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9785 (whitespace-highlight): Move to whitespace group.
9786
9787 * comint.el (comint-source):
9788 * pcmpl-linux.el (pcmpl-linux):
9789 * shell.el (shell-faces):
9790 * eshell/esh-opt.el (eshell-opt):
9791 * international/ccl.el (ccl): Remove empty custom groups.
9792
9793 * completion.el (dynamic-completion-mode):
9794 * jit-lock.el (jit-lock-debug-mode):
9795 * minibuffer.el (completion-in-region-mode):
9796 * type-break.el (type-break-mode-line-message-mode)
9797 (type-break-query-mode):
9798 * emulation/tpu-edt.el (tpu-edt-mode):
9799 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9800 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9801 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9802
9803 * term/xterm.el (xterm): Change parent group to terminals.
9804
9805 * master.el (master): Remove empty custom group.
9806 (master-mode): Remove unused :group argument.
9807 * textmodes/refill.el (refill): Remove empty custom group.
9808 (refill-mode): Remove unused :group argument.
9809
9810 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9811
9812 * cus-dep.el: Provide a feature.
9813 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9814 Don't mistakenly ignore files whose basenames match a basename
9815 from preloaded-file-list (eg cedet/ede/simple.el).
9816 Add a fallback method for getting :group.
9817
9818 2013-05-15 Juri Linkov <juri@jurta.org>
9819
9820 * isearch.el (isearch-char-by-name): Rename from
9821 `isearch-insert-char-by-name'. Doc fix.
9822 (isearch-forward): Mention `isearch-char-by-name' in
9823 the docstring. (Bug#13348)
9824
9825 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9826 `exit-minibuffer' instead of
9827 `isearch-nonincremental-exit-minibuffer'.
9828 (isearch-edit-string): Remove mention of
9829 `isearch-nonincremental-exit-minibuffer' from docstring.
9830 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9831 (isearch-forward-exit-minibuffer)
9832 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9833
9834 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9835
9836 * loadup.el: Just use unversioned DOC.
9837
9838 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9839 literals as extending to EOB.
9840 (nxml-last-fontify-end): Remove unused variable.
9841 (nxml-after-change1): Use with-silent-modifications.
9842 (nxml-extend-after-change-region): Simplify.
9843 (nxml-extend-after-change-region1): Remove function.
9844 (nxml-after-change1): Don't adjust for dependent regions.
9845 (nxml-fontify-matcher): Simplify.
9846 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9847 (xmltok-add-dependent): Remove function.
9848 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9849 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9850 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9851 unclosed <[[, <?, comment, and other literals as extending to EOB.
9852 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9853 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9854 Remove functions.
9855 (rng-do-some-validation-1): Don't mark dependent regions.
9856 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9857 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9858 (nxml-clear-dependent-regions): Remove functions.
9859 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9860 (nxml-ensure-scan-up-to-date):
9861 Don't clear&mark dependent regions.
9862
9863 2013-05-15 Leo Liu <sdl.web@gmail.com>
9864
9865 * progmodes/octave.el (octave-goto-function-definition):
9866 Improve and fix callers.
9867
9868 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9869
9870 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9871 the setter (bug#14387).
9872
9873 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9874 surrounding group (bug#14402).
9875
9876 2013-05-14 Juri Linkov <juri@jurta.org>
9877
9878 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9879 (Bug#14390)
9880
9881 2013-05-14 Glenn Morris <rgm@gnu.org>
9882
9883 * progmodes/f90.el (f90-imenu-generic-expression):
9884 Fix typo in 2013-05-08 change. (Bug#14402)
9885
9886 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9887
9888 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9889 Remove signals for which replies are never received.
9890
9891 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9892
9893 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9894 (gdb-handler-alist, gdb-handler-number): Remove variables.
9895 (gdb-handler-list): New variable.
9896 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9897 (gdb-pending-handler-p, gdb-handle-reply)
9898 (gdb-remove-all-pending-triggers): New functions.
9899 (gdb-discard-unordered-replies): New defcustom.
9900 (gdb-handler): New defstruct.
9901 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9902 instead of gdb-pending-triggers. Update docstring.
9903 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9904 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9905 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9906 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9907 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9908 (gdb-frame-handler): Pending triggers are now automatically managed.
9909 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9910 Remove argument.
9911 (gdb-input): Automatically handles pending triggers. Update docstring.
9912 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9913 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9914 Update comments.
9915 (gdb-done-or-error): Now use gdb-handle-reply.
9916
9917 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9918
9919 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9920 gdb-debug-log.
9921
9922 2013-05-14 Glenn Morris <rgm@gnu.org>
9923
9924 * subr.el (user-emacs-directory-warning): New option.
9925 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9926
9927 2013-05-14 Leo Liu <sdl.web@gmail.com>
9928
9929 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9930 during redisplay.
9931 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9932 (octave-font-lock-texinfo-comment): Fix invalid search bound
9933 error: wrong side of point.
9934
9935 2013-05-14 Glenn Morris <rgm@gnu.org>
9936
9937 * progmodes/flymake.el (flymake-xml-program): New option.
9938 (flymake-xml-init): Use it.
9939
9940 * term/xterm.el: Provide a feature.
9941
9942 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9943
9944 2013-05-13 Glenn Morris <rgm@gnu.org>
9945
9946 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9947 Add compat aliases as a hack workaround. (Bug#14384)
9948
9949 2013-05-13 Leo Liu <sdl.web@gmail.com>
9950
9951 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9952 ###, and %!.
9953 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9954 C-M-q.
9955 (octave-comment-start-skip): Include %!.
9956 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9957
9958 2013-05-12 Leo Liu <sdl.web@gmail.com>
9959
9960 * progmodes/octave.el (inferior-octave-startup): Store the value
9961 of __octave_srcdir__ for octave-source-directories.
9962 (inferior-octave-check-process): New function refactored out of
9963 inferior-octave-send-list-and-digest.
9964 (octave-source-directories)
9965 (octave-find-definition-filename-function): New variables.
9966 (octave-source-directories)
9967 (octave-find-definition-default-filename): New functions.
9968 (octave-find-definition): Improve to find functions implemented in C++.
9969
9970 2013-05-12 Glenn Morris <rgm@gnu.org>
9971
9972 * calendar/diary-lib.el (diary-outlook-format-1):
9973 Don't include dayname in the output. (Bug#14349)
9974
9975 2013-05-11 Glenn Morris <rgm@gnu.org>
9976
9977 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9978
9979 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9980 Treat cc-provide like provide.
9981
9982 2013-05-11 Kevin Ryde <user42@zip.com.au>
9983
9984 * cus-dep.el (custom-make-dependencies):
9985 Use generated-autoload-load-name for the sake of files such
9986 such cedet/semantic/bovine/c.el, where the base file name
9987 is not in load-path. (Bug#5277)
9988
9989 2013-05-11 Glenn Morris <rgm@gnu.org>
9990
9991 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9992 Provide features.
9993
9994 2013-05-11 Leo Liu <sdl.web@gmail.com>
9995
9996 * progmodes/octave.el (octave-indent-comment): Improve.
9997 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9998 (octave-eldoc-function-signatures, octave-eldoc-function):
9999 New functions.
10000 (octave-mode, inferior-octave-mode): Add eldoc support.
10001
10002 2013-05-11 Richard Stallman <rms@gnu.org>
10003
10004 * epa.el (epa-decrypt-file): Take output file name as argument
10005 and read it using `interactive'.
10006
10007 2013-05-11 Leo Liu <sdl.web@gmail.com>
10008
10009 * progmodes/octave.el (octave-beginning-of-line)
10010 (octave-end-of-line): Check before using up-list because it jumps
10011 out of more syntactic contructs since moving to smie.
10012 (octave-indent-comment): New function.
10013 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10014 (octave-begin-keywords, octave-end-keywords)
10015 (octave-reserved-words, octave-smie-bnf-table)
10016 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10017
10018 2013-05-11 Glenn Morris <rgm@gnu.org>
10019
10020 * faces.el (internal-face-x-get-resource):
10021 * frame.el (ns-display-monitor-attributes-list):
10022 * calc/calc-aent.el (math-to-radians-2):
10023 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10024 Fix declarations.
10025
10026 * calc/calc-menu.el: Make it loadable in isolation.
10027
10028 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10029 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10030 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10031 (eudc-bbdb-query-internal): Require 'bbdb.
10032
10033 * lpr.el (lpr-headers-switches):
10034 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10035
10036 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10037
10038 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10039
10040 * term.el (term-set-escape-char): Make it idempotent.
10041
10042 2013-05-10 Leo Liu <sdl.web@gmail.com>
10043
10044 * progmodes/octave.el (inferior-octave-completion-table):
10045 No longer a function and all uses changed. Use cache to speed up
10046 completion due to bug#11906.
10047 (octave-beginning-of-defun): Re-write to be more general.
10048
10049 2013-05-10 Glenn Morris <rgm@gnu.org>
10050
10051 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10052
10053 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10054
10055 * comint.el (comint-redirect-send-command-to-process): Use :around
10056 rather than :override for comint-redirect-filter.
10057 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10058 Call it instead of comint-redirect-original-filter-function (which
10059 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10060
10061 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10062
10063 * frame.el (display-monitor-attributes-list): Add NS case.
10064 (ns-display-monitor-attributes-list): Declare.
10065
10066 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10067
10068 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10069
10070 2013-05-09 Glenn Morris <rgm@gnu.org>
10071
10072 * international/fontset.el (vertical-centering-font-regexp):
10073 Set standard-value.
10074
10075 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10076
10077 * bookmark.el (bookmark-search-delay):
10078 * cus-start.el (vertical-centering-font-regexp):
10079 * ps-mule.el (ps-mule-font-info-database-default):
10080 * ps-print.el (ps-default-fg, ps-default-bg):
10081 * type-break.el (type-break-good-break-interval):
10082 * whitespace.el (whitespace-indentation-regexp)
10083 (whitespace-space-after-tab-regexp):
10084 * emacs-lisp/testcover.el (testcover-1value-functions)
10085 (testcover-noreturn-functions, testcover-progn-functions)
10086 (testcover-prog1-functions):
10087 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10088 * eshell/em-glob.el (eshell-glob-translate-alist):
10089 * play/tetris.el (tetris-tty-colors):
10090 * progmodes/cpp.el (cpp-face-default-list):
10091 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10092 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10093 (idlwave-help-browser-generic-args):
10094 * progmodes/make-mode.el (makefile-special-targets-list):
10095 * progmodes/python.el (python-shell-virtualenv-path):
10096 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10097 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10098 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10099 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10100 * textmodes/reftex-vars.el (reftex-format-label-function):
10101 * textmodes/remember.el (remember-diary-file): Fix custom types.
10102
10103 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10104 Add :version.
10105
10106 2013-05-09 Leo Liu <sdl.web@gmail.com>
10107
10108 * progmodes/octave.el (inferior-octave-completion-at-point):
10109 Restore file completion. (Bug#14300)
10110 (inferior-octave-startup): Fix incorrect highlighting for the
10111 first prompt.
10112
10113 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10114
10115 * progmodes/ruby-mode.el: First cut at SMIE support.
10116 (ruby-use-smie): New var.
10117 (ruby-smie-grammar): New constant.
10118 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10119 (ruby-smie--forward-token, ruby-smie--backward-token)
10120 (ruby-smie-rules): New functions.
10121 (ruby-mode-variables): Setup SMIE if applicable.
10122
10123 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10124
10125 * simple.el (line-move-visual): Signal beginning/end of buffer
10126 only if vertical-motion moved less than it was requested. Avoids
10127 silly incorrect error messages when there are display strings with
10128 multiple newlines at EOL.
10129
10130 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10131
10132 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10133 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10134 (prolog-char-quote-workaround):
10135 * progmodes/cperl-mode.el (cperl-under-as-char):
10136 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10137 Mark as obsolete.
10138 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10139 their declaration.
10140 (vhdl-mode-syntax-table-init): Remove.
10141
10142 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10143 last change.
10144
10145 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10146 syntax for "_".
10147 (ld-script-font-lock-keywords):
10148 Change regexps to use things like \_< and \_>.
10149
10150 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10151 Change all regexps to use things like \_< and \_>.
10152
10153 * progmodes/autoconf.el (autoconf-definition-regexp)
10154 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10155 Handle a _ with symbol syntax.
10156 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10157
10158 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10159 Consolidate declaration.
10160 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10161 the declaration.
10162 (ada-create-syntax-table): Remove.
10163 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10164 already has the right syntax nowadays.
10165 (ada-goto-next-word): Don't change the syntax of "_".
10166
10167 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10168 with-wrapper-hook.
10169
10170 2013-05-08 Sam Steingold <sds@gnu.org>
10171
10172 * thingatpt.el (thing-at-point): Accept optional second argument
10173 NO-PROPERTIES to strip the text properties from the return value.
10174 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10175 to `thing-at-point' instead of stripping the properties ourselves.
10176 Also, when `thing-at-point' fails to find a url, prepend "http://"
10177 to the filename at point on the assumption that the user is
10178 pointing at something like gnu.org/gnu.
10179
10180 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10181
10182 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10183 * faces.el (crm-separator):
10184 Silence byte-compiler.
10185
10186 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10187 (tool-bar-map): Remove unneeded defvars.
10188
10189 2013-05-08 Leo Liu <sdl.web@gmail.com>
10190
10191 Re-work a fix for bug#10994 based on Le Wang's patch.
10192 * ido.el (ido-remove-consecutive-dups): New helper.
10193 (ido-completing-read): Use it.
10194 (ido-chop): Revert fix for bug#10994.
10195
10196 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10197
10198 * cus-edit.el (custom-save-variables):
10199 Pretty-print long values. (Bug#14187)
10200
10201 2013-05-08 Glenn Morris <rgm@gnu.org>
10202
10203 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10204 (m4-mode-syntax-table): Init in the defvar.
10205 (m4-mode-abbrev-table): Let define-derived-mode define it.
10206
10207 2013-05-08 Tom Tromey <tromey@redhat.com>
10208
10209 * progmodes/m4-mode.el (m4-mode-syntax-table):
10210 Do not treat "_" as word constituent. (Bug#14167)
10211
10212 2013-05-07 Glenn Morris <rgm@gnu.org>
10213
10214 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10215 Remove explicit eshell-isearch-cancel-map.
10216
10217 * progmodes/f90.el (f90-smart-end-names): New option.
10218 (f90-smart-end): Doc fix.
10219 (f90-end-block-optional-name): New constant.
10220 (f90-block-match): Respect f90-smart-end-names.
10221
10222 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10223
10224 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10225 about implicit semi-colons (bug#14218).
10226
10227 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10228
10229 * frame.el (display-monitor-attributes-list)
10230 (frame-monitor-attributes): New functions.
10231
10232 2013-05-06 Leo Liu <sdl.web@gmail.com>
10233
10234 * progmodes/octave.el (octave-syntax-propertize-function): Change
10235 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10236 (octave-font-lock-keywords): Use octave-operator-regexp.
10237 (octave-completion-at-point): Rename from
10238 octave-completion-at-point-function.
10239 (inferior-octave-directory-tracker): Robustify.
10240 (octave-text-functions): Remove and fix its uses. No such things
10241 any more.
10242
10243 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10244
10245 * emacs-lisp/trace.el (trace--display-buffer): New function.
10246 (trace-make-advice): Use it.
10247
10248 2013-05-06 Juri Linkov <juri@jurta.org>
10249
10250 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10251 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10252 Doc fix.
10253 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10254 in the help string. (Bug#12985)
10255
10256 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10257
10258 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10259
10260 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10261
10262 * progmodes/perl-mode.el: Add support for here documents.
10263 (perl-syntax-propertize-function): Match here-doc markers.
10264 (perl-syntax-propertize-special-constructs): Find their end.
10265 (perl-imenu-generic-expression): Use [:alnum:].
10266
10267 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10268 (advice--add-function): Refresh the advice if already present
10269 (bug#14317).
10270
10271 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10272
10273 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10274
10275 2013-05-06 Glenn Morris <rgm@gnu.org>
10276
10277 * w32-fns.el (w32-charset-info-alist): Declare.
10278
10279 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10280 of its defcustom properties.
10281 (eshell-cmpl-initialize): No need to load pcomplete.
10282
10283 * generic-x.el: No need to require comint when compiling.
10284
10285 * net/eudc-export.el: Make it loadable without bbdb.
10286 (top-level): Use require rather than load-library.
10287 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10288 (eudc-batch-export-records-to-bbdb)
10289 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10290 Require bbdb.
10291
10292 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10293
10294 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10295 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10296 some tweaks, instead.
10297
10298 2013-05-05 Leo Liu <sdl.web@gmail.com>
10299
10300 * progmodes/octave.el (octave-font-lock-keywords)
10301 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10302 (inferior-octave-send-list-and-digest): Improve error message.
10303 (octave-mode, inferior-octave-mode): Use setq-local.
10304 (octave-help): Set info-lookup-mode.
10305
10306 2013-05-05 Richard Stallman <rms@gnu.org>
10307
10308 * vc/compare-w.el (compare-windows-whitespace):
10309 Treat no-break space as whitespace.
10310
10311 * mail/rmailsum.el (rmail-summary-rmail-update):
10312 Detect empty summary and don't change selected message.
10313 (rmail-summary-goto-msg): Likewise.
10314
10315 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10316 Doc fixes, rename args.
10317
10318 2013-05-05 Alan Mackenzie <acm@muc.de>
10319
10320 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10321
10322 2013-05-05 Juri Linkov <juri@jurta.org>
10323
10324 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10325 to not add the length of the summary segment to the return value.
10326 (Bug#14125)
10327
10328 2013-05-05 Leo Liu <sdl.web@gmail.com>
10329
10330 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10331 (inferior-octave-output-filter): Remove.
10332 (octave-send-region, inferior-octave-startup): Fix callers.
10333 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10334 (octave-binary-file-extensions): New user variable.
10335 (octave-find-definition): Confirm if opening binary files.
10336 (octave-help-file): Use octave-find-definition to get the binary
10337 confirmation.
10338 (octave-help): Adjust for octave-help-file change.
10339
10340 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10343 Merge the two entries that handle function definitions.
10344 (pascal--syntax-propertize): New const.
10345 (pascal-mode): Use it. Use setq-local.
10346
10347 2013-05-04 Glenn Morris <rgm@gnu.org>
10348
10349 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10350 (diary-from-outlook): Respect diary-from-outlook-function.
10351
10352 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10353
10354 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10355 Move the declaration from C.
10356 (read-minibuffer, eval-minibuffer): Move from C.
10357 (completion-setup-function): Avoid minibuffer-completion-contents.
10358
10359 2013-05-03 Leo Liu <sdl.web@gmail.com>
10360
10361 * progmodes/octave.el (octave-font-lock-keywords): Do not
10362 dehighlight 'end' in comments or strings.
10363 (octave-completing-read, octave-goto-function-definition):
10364 New helpers.
10365 (octave-help-buffer): New user variable.
10366 (octave-help-file, octave-help-function): New button types.
10367 (octave-help): New command and bind it to C-h ;.
10368 (octave-find-definition): New command and bind it to M-.
10369 (user-error): Alias to error if not defined.
10370
10371 2013-05-02 Leo Liu <sdl.web@gmail.com>
10372
10373 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10374 for \. (bug#14332)
10375 (octave-font-lock-keywords): Include [ and {.
10376
10377 2013-05-02 Leo Liu <sdl.web@gmail.com>
10378
10379 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10380 (inferior-octave): Remove calling comint-mode and return the buffer.
10381 (inferior-octave-startup): Cosmetic changes.
10382
10383 2013-05-02 Leo Liu <sdl.web@gmail.com>
10384
10385 * progmodes/octave.el (octave-syntax-propertize-function):
10386 Include the case when ' is at line beginning. (Bug#14336)
10387
10388 2013-05-02 Glenn Morris <rgm@gnu.org>
10389
10390 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10391 * desktop.el (vc-dir-mode): Just autoload it here.
10392
10393 2013-05-02 Alan Mackenzie <acm@muc.de>
10394
10395 Eliminate variable c-standard-font-lock-fontify-region-function.
10396 * progmodes/cc-mode.el
10397 (c-standard-font-lock-fontify-region-function): Remove.
10398 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10399
10400 2013-05-01 Leo Liu <sdl.web@gmail.com>
10401
10402 * progmodes/octave.el: Compatible with older emacs-24 releases.
10403 (inferior-octave-has-built-in-variables): Remove. Built-in
10404 variables were removed from Octave in 2007.
10405 (inferior-octave-startup): Fix uses.
10406 (comint-line-beginning-position): Remove compatibility code for
10407 emacs 21.
10408
10409 2013-05-01 Juri Linkov <juri@jurta.org>
10410
10411 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10412
10413 2013-05-01 Juri Linkov <juri@jurta.org>
10414
10415 * comint.el (comint-previous-matching-input): Don't print message
10416 "History item: %d" when `isearch-mode' is active.
10417 (comint-history-isearch-message): Print message "History item: %d"
10418 when `comint-input-ring-index' is not empty and this function is
10419 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10420
10421 2013-05-01 Leo Liu <sdl.web@gmail.com>
10422
10423 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10424 definitions. Use completion-at-point to insert keywords.
10425 (octave-abbrev-start): Remove.
10426 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10427
10428 2013-04-30 Leo Liu <sdl.web@gmail.com>
10429
10430 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10431 change.
10432
10433 2013-04-30 Alan Mackenzie <acm@muc.de>
10434
10435 Handle arbitrarily long C++ member initialisation lists.
10436 * progmodes/cc-engine.el (c-back-over-member-initializers):
10437 new function.
10438 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10439 (most) member init lists.
10440
10441 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10442
10443 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10444 variable.
10445
10446 2013-04-30 Leo Liu <sdl.web@gmail.com>
10447
10448 * progmodes/octave.el (octave-variables): Remove. No builtin
10449 variables any more. All converted to functions.
10450 (octave-font-lock-keywords, octave-completion-at-point-function):
10451 Fix uses.
10452 (octave-font-lock-texinfo-comment): New user variable.
10453 (octave-texinfo-font-lock-keywords): New variable for texinfo
10454 comment block.
10455 (octave-function-comment-block): New face.
10456 (octave-font-lock-texinfo-comment): New function.
10457 (octave-mode): Font lock texinfo comment block.
10458
10459 2013-04-29 Leo Liu <sdl.web@gmail.com>
10460
10461 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10462 indexing expression.
10463 (octave-continuation-string): Do not use \.
10464 (inferior-octave-complete-impossible): Remove.
10465 (inferior-octave-completion-table)
10466 (inferior-octave-completion-at-point): Remove its uses.
10467 (inferior-octave-startup): completion_matches was introduced to
10468 Octave in 1996 so safe to assume it.
10469 (octave-function-file-comment): Improve to follow how Octave does it.
10470 (octave-update-function-file-comment): Tweak.
10471
10472 2013-04-29 Leo Liu <sdl.web@gmail.com>
10473
10474 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10475 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10476 (octave-function-file-comment): Fix typo.
10477 (octave-sync-function-file-names): Use read-char-choice.
10478
10479 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10480
10481 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10482 to t for the less important warnings.
10483
10484 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10485
10486 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10487
10488 2013-04-27 Glenn Morris <rgm@gnu.org>
10489
10490 * vc/log-view.el (log-view-current-entry):
10491 Treat "---" separator lines as part of the following rev. (Bug#14169)
10492
10493 2013-04-27 Juri Linkov <juri@jurta.org>
10494
10495 * subr.el (read-number): Doc fix about using it by interactive
10496 code letter `n'. (Bug#14254)
10497
10498 2013-04-27 Juri Linkov <juri@jurta.org>
10499
10500 * desktop.el (desktop-auto-save-timeout): New option.
10501 (desktop-file-checksum): New variable.
10502 (desktop-save): Add optional arg `auto-save' and don't auto-save
10503 if nothing changed.
10504 (desktop-auto-save-timer): New variable.
10505 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10506 (after-init-hook): Call `desktop-auto-save-set-timer'.
10507 Suggested by Reuben Thomas <rrt@sc3d.org> in
10508 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10509
10510 2013-04-27 Leo Liu <sdl.web@gmail.com>
10511
10512 * progmodes/octave.el (octave-function-file-p)
10513 (octave-skip-comment-forward, octave-function-file-comment)
10514 (octave-update-function-file-comment): New functions.
10515 (octave-mode-map): Bind C-c ; to
10516 octave-update-function-file-comment.
10517 (octave-mode-menu): Add octave-update-function-file-comment.
10518 (octave-mode, inferior-octave-mode): Fix doc-string.
10519 (octave-insert-defun): Conform to Octave's coding convention.
10520 (Bug#14285)
10521
10522 * files.el (basic-save-buffer): Don't let errors in
10523 before-save-hook prevent saving buffer.
10524
10525 2013-04-20 Roland Winkler <winkler@gnu.org>
10526
10527 * faces.el (read-face-name): Use completing-read if arg multiple
10528 is nil.
10529
10530 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10531
10532 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10533 displayed, move point to after the totals line.
10534 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10535 for the details.
10536
10537 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10538
10539 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10540 Add current dir to the load-path.
10541 (package-generate-autoloads): Don't rely on
10542 autoload-ensure-default-file.
10543
10544 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10545
10546 * textmodes/remember.el (remember-store-in-files): Document that
10547 the file name format is passed to `format-time-string'.
10548
10549 2013-04-26 Leo Liu <sdl.web@gmail.com>
10550
10551 * progmodes/octave.el (octave-sync-function-file-names): New function.
10552 (octave-mode): Use it in before-save-hook.
10553
10554 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10557 (bug#14274).
10558
10559 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10560 \n and comment, even if it's not an implicit ; (bug#14218).
10561
10562 2013-04-26 Glenn Morris <rgm@gnu.org>
10563
10564 * subr.el (read-number): Once more use `read' rather than
10565 `string-to-number', to trap non-numeric input. (Bug#14254)
10566
10567 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10568
10569 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10570 Use `syntax-multiline' text property consistently instead of
10571 `font-lock-multiline'. (Bug#14237)
10572
10573 2013-04-26 Glenn Morris <rgm@gnu.org>
10574
10575 * emacs-lisp/shadow.el (list-load-path-shadows):
10576 No longer necessary to check for duplicate simple.el, since
10577 2012-07-07 change to init_lread to not include installation lisp
10578 directories in load-path when running uninstalled. (Bug#14270)
10579
10580 2013-04-26 Leo Liu <sdl.web@gmail.com>
10581
10582 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10583 (octave-mode, inferior-octave-mode): Use setq-local.
10584 (octave-not-in-string-or-comment-p): Rename to
10585 octave-in-string-or-comment-p.
10586 (octave-in-comment-p, octave-in-string-p)
10587 (octave-in-string-or-comment-p): Replace defsubst with defun.
10588
10589 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10590
10591 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10592
10593 2013-04-25 Bastien Guerry <bzg@gnu.org>
10594
10595 * textmodes/remember.el (remember-data-directory)
10596 (remember-directory-file-name-format): Fix custom types.
10597
10598 2013-04-25 Leo Liu <sdl.web@gmail.com>
10599
10600 * progmodes/octave.el (octave-completion-at-point-function):
10601 Make use of inferior octave process.
10602 (octave-initialize-completions): Remove.
10603 (inferior-octave-completion-table): New function.
10604 (inferior-octave-completion-at-point): Use it.
10605 (octave-completion-alist): Remove.
10606
10607 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10608
10609 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10610 (opascal-mode-syntax-table): New var.
10611 (opascal-literal-kind, opascal-is-literal-end)
10612 (opascal-literal-token-at): Rewrite.
10613 (opascal--literal-start-re, opascal-font-lock-keywords)
10614 (opascal--syntax-propertize): New constants.
10615 (opascal-font-lock-defaults): Adjust.
10616 (opascal-mode): Use them. Set comment-<foo> variables as well.
10617 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10618 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10619 (delphi-other-face, opascal-other-face): Remove face variables.
10620 (opascal-save-state): Remove macro.
10621 (opascal-fontifying-progress-step): Remove constant.
10622 (opascal--ignore-changes): Remove var.
10623 (opascal-set-token-property, opascal-parse-next-literal)
10624 (opascal-is-stable-literal, opascal-complete-literal)
10625 (opascal-is-literal-start, opascal-face-of)
10626 (opascal-parse-region, opascal-parse-region-until-stable)
10627 (opascal-fontify-region, opascal-after-change)
10628 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10629 (opascal-debug-parse-region, opascal-debug-parse-window)
10630 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10631 (opascal-debug-fontify-buffer): Remove.
10632 (opascal-debug-mode-map): Adjust accordingly.
10633
10634 2013-04-25 Leo Liu <sdl.web@gmail.com>
10635
10636 Merge octave-mod.el and octave-inf.el into octave.el with some
10637 cleanups.
10638 * progmodes/octave.el: New file renamed from octave-mod.el.
10639 * progmodes/octave-inf.el: Merged into octave.el.
10640 * progmodes/octave-mod.el: Renamed to octave.el.
10641
10642 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10643
10644 * textmodes/reftex-vars.el
10645 (reftex-label-ignored-macros-and-environments): New defcustom.
10646
10647 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10648
10649 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10650
10651 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10652 (smie-indent-keyword): Improve the check to ensure that the next
10653 comment is really on the same line.
10654 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10655
10656 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10657 semi-colons if the line is not otherwise empty (bug#14218).
10658
10659 2013-04-25 Glenn Morris <rgm@gnu.org>
10660
10661 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10662
10663 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10664
10665 * progmodes/opascal.el (opascal-set-token-property): Rename from
10666 opascal-set-text-properties and only set `token' (bug#14134).
10667 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10668 (opascal-literal-text-properties): Remove.
10669 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10670 Adjust callers.
10671
10672 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10673
10674 * textmodes/remember.el (remember-handler-functions): Add an
10675 option for a new handler `remember-store-in-files'.
10676 (remember-data-directory, remember-directory-file-name-format):
10677 New options.
10678 (remember-store-in-files): New function to store remember notes
10679 as separate files within a directory.
10680
10681 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10682
10683 * progmodes/compile.el (compilation-next-error-function):
10684 Pass "formats" to compilation-find-file (bug#11777).
10685
10686 2013-04-24 Glenn Morris <rgm@gnu.org>
10687
10688 * vc/vc-bzr.el (vc-bzr-print-log):
10689 * vc/vc-hg.el (vc-hg-print-log):
10690 * vc/vc-svn.el (vc-svn-print-log):
10691 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10692
10693 * vc/vc-bzr.el (vc-bzr-print-log):
10694 * vc/vc-cvs.el (vc-cvs-print-log):
10695 * vc/vc-git.el (vc-git-print-log):
10696 * vc/vc-hg.el (vc-hg-print-log):
10697 * vc/vc-mtn.el (vc-mtn-print-log):
10698 * vc/vc-rcs.el (vc-rcs-print-log):
10699 * vc/vc-sccs.el (vc-sccs-print-log):
10700 * vc/vc-svn.el (vc-svn-print-log):
10701 * vc/vc.el (vc-print-log-internal): Doc fixes.
10702
10703 2013-04-23 Glenn Morris <rgm@gnu.org>
10704
10705 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10706 Remove venerable code attempting to avoid substitute-command-keys.
10707
10708 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10709
10710 * textmodes/reftex-vars.el (reftex-label-regexps):
10711 Call `reftex-compile-variables' after changes to this variable.
10712
10713 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10714
10715 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10716 Use lexical-binding.
10717 (jit-lock-force-redisplay): Use markers, check buffer's continued
10718 existence and beware narrowed buffers.
10719 (jit-lock-fontify-now): Adjust call accordingly.
10720
10721 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10722
10723 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10724 to avoid misleading the user.
10725
10726 2013-04-22 Leo Liu <sdl.web@gmail.com>
10727
10728 * info-look.el: Prefer latex2e.info. (Bug#14240)
10729
10730 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10731
10732 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10733
10734 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10735 * net/tramp.el (tramp-call-process): ... here.
10736 (tramp-set-completion-function, tramp-parse-putty):
10737 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10738 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10739 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10740 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10741 (tramp-call-local-coding-command): Use `tramp-call-process'
10742 instead of `tramp-compat-call-process'.
10743
10744 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10745 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10746 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10747 (tramp-find-inline-compress): Improve traces.
10748 (tramp-maybe-send-script): Check for Perl binary.
10749 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10750
10751 2013-04-22 Daiki Ueno <ueno@gnu.org>
10752
10753 * epg.el (epg-context-pinentry-mode): New function.
10754 (epg-context-set-pinentry-mode): New function.
10755 (epg--start): Pass --pinentry-mode option to gpg command.
10756
10757 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10758
10759 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10760 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10761 `completion-at-point'. (Bug#13774)
10762
10763 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10764 default key binding for `describe-distribution' has been moved to
10765 `C-h C-o'. (Bug#13970)
10766
10767 2013-04-21 Glenn Morris <rgm@gnu.org>
10768
10769 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10770 Add doc strings.
10771 (vc-print-log): Clarify interactive prompt.
10772
10773 2013-04-20 Glenn Morris <rgm@gnu.org>
10774
10775 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10776 No longer include timestamp etc information.
10777
10778 2013-04-20 Roland Winkler <winkler@gnu.org>
10779
10780 * faces.el (read-face-name): Bug fix, return just one face if arg
10781 multiple is nil. (Bug#14209)
10782
10783 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10784
10785 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10786 (remove-function): Autoload.
10787
10788 * comint.el (comint-redirect-original-filter-function): Remove.
10789 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10790 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10791 (vc-cvs-annotate-command):
10792 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10793 * progmodes/prolog.el (prolog-consult-compile):
10794 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10795 Use add/remove-function instead.
10796 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10797 (gud-tooltip-process-output, gud-tooltip-tips):
10798 Use add/remove-function instead.
10799 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10800 (scheme-interaction-mode, exit-scheme-interaction-mode):
10801 Use add/remove-function instead.
10802
10803 * vc/vc-dispatcher.el: Use lexical-binding.
10804 (vc--process-sentinel): Rename from vc-process-sentinel.
10805 Change last arg to be the code to run. Don't use vc-previous-sentinel
10806 and vc-sentinel-commands any more.
10807 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10808 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10809
10810 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10811
10812 * progmodes/sh-script.el (sh-imenu-generic-expression):
10813 Handle function names with a single character. (Bug#14111)
10814
10815 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10816
10817 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10818 for subroutines defined in an eval (bug#14182).
10819
10820 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10821
10822 * bookmark.el (bookmark-completing-read): Improve handling of empty
10823 string (bug#14176).
10824
10825 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10828
10829 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10830
10831 New faster Imenu implementation (bug#14058).
10832 * progmodes/python.el:
10833 (python-imenu-prev-index-position):
10834 (python-imenu-format-item-label-function)
10835 (python-imenu-format-parent-item-label-function)
10836 (python-imenu-format-parent-item-jump-label-function):
10837 New vars.
10838 (python-imenu-format-item-label)
10839 (python-imenu-format-parent-item-label)
10840 (python-imenu-format-parent-item-jump-label)
10841 (python-imenu--put-parent, python-imenu--build-tree)
10842 (python-imenu-create-index, python-imenu-create-flat-index)
10843 (python-util-popn): New functions.
10844 (python-mode): Set imenu-create-index-function to
10845 python-imenu-create-index.
10846
10847 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10848
10849 * winner.el (winner-active-region): Use region-active-p, activate-mark
10850 and deactivate-mark (bug#14225).
10851
10852 * simple.el (deactivate-mark): Don't inline it.
10853
10854 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10855
10856 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10857
10858 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10859
10860 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10861 file extensions from the archive-mode entry in order to prefer
10862 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10863
10864 2013-04-18 Leo Liu <sdl.web@gmail.com>
10865
10866 * bindings.el (help-event-list): Add ?\?.
10867
10868 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10869
10870 * subr.el (with-wrapper-hook): Declare obsolete.
10871 * simple.el (filter-buffer-substring-function): New hook.
10872 (filter-buffer-substring): Use it.
10873 (filter-buffer-substring-functions): Mark obsolete.
10874 * minibuffer.el (completion-in-region-function): New hook.
10875 (completion-in-region): Use it.
10876 (completion-in-region-functions): Mark obsolete.
10877 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10878 * abbrev.el (abbrev-expand-function): New hook.
10879 (expand-abbrev): Use it.
10880 (abbrev-expand-functions): Mark obsolete.
10881 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10882 and :filter-return.
10883
10884 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10885
10886 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10887 and do not care about match data.
10888
10889 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10890
10891 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10892 completion tables when completing error conditions and
10893 `declare' arguments.
10894 (lisp-complete-symbol, field-complete): Mark as obsolete.
10895 (check-parens): Unmatched parens are user errors.
10896 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10897
10898 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10899
10900 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10901 command changed buffer (ie. `flyspell-pre-buffer' is not current
10902 buffer), which prevents making decisions based on invalid value of
10903 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10904 cause an error when `flyspell-pre-point' was nil after switching
10905 buffers.
10906 (flyspell-post-command-hook): No longer needs to change buffers when
10907 checking pre-word. While at it remove unnecessary progn.
10908
10909 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10910
10911 * textmodes/ispell.el (ispell-add-per-file-word-list):
10912 Fix `flyspell-correct-word-before-point' error when accepting
10913 words and `coment-padding' is an integer by using
10914 `comment-normalize-vars' (Bug #14214).
10915
10916 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10917
10918 New defun movement commands.
10919 * progmodes/python.el (python-nav--syntactically)
10920 (python-nav--forward-defun, python-nav-backward-defun)
10921 (python-nav-forward-defun): New functions.
10922
10923 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10924
10925 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10926 (python-syntax-context): Use named compiler-macro for backwards
10927 compatibility with Emacs 24.x.
10928
10929 2013-04-17 Leo Liu <sdl.web@gmail.com>
10930
10931 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10932 octave-hide-process-buffer.
10933
10934 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10937 (bug#14216).
10938
10939 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10940
10941 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10942 Fix adjustment of offset when receiving incomplete responses from GDB
10943 (bug#14129).
10944
10945 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10946
10947 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10948 python-mode-abbrev-table.
10949 (python-skeleton-define): Adjust accordingly.
10950 (python-mode-abbrev-table): New table that inherits from it so that
10951 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10952
10953 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10954 (abbrev-symbol): Use it.
10955 (abbrev--before-point): Use it since we already handle inheritance.
10956
10957 2013-04-16 Leo Liu <sdl.web@gmail.com>
10958
10959 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10960 binding to info-lookup-symbol.
10961
10962 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10963
10964 * minibuffer.el (completion--twq-all):
10965 * term/ns-win.el (ns-initialize-window-system):
10966 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10967
10968 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10969
10970 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10971 global bindings.
10972
10973 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10974
10975 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10976
10977 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10978 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10979 to nil.
10980 (ruby-end-of-defun): Remove the unused arg, change the docstring
10981 to reflect that this function is only used as the value of
10982 `end-of-defun-function'.
10983 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10984 to reflect an earlier change that beginning/end-of-defun functions
10985 jump between methods in a class definition, as well as top-level
10986 functions.
10987
10988 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10989
10990 * minibuffer.el (minibuffer-complete): Don't just scroll
10991 a *Completions* that's been iconified.
10992 (minibuffer-force-complete): Make sure repetitions do cycle when going
10993 through completion-in-region -> minibuffer-complete.
10994
10995 2013-04-15 Alan Mackenzie <acm@muc.de>
10996
10997 Correct the placement of c-cpp-delimiters when there're #s not at
10998 col 0.
10999
11000 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11001 place a submatch around the #.
11002 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11003 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11004 on the #, not BOL.
11005
11006 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11007
11008 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11009 (advice--member-p): New arg `name'.
11010 (advice--add-function, advice-member-p): Use it (bug#14202).
11011
11012 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11013
11014 Reformulate java imenu-generic-expression.
11015 The old expression contained ill formed regexps.
11016
11017 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11018 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11019 (cc-imenu-java-method-arg-regexp): New defconsts.
11020 (cc-imenu-java-build-type-args-regex): New defun.
11021 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11022 handling of spaces in the regexp.
11023
11024 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11025
11026 * textmodes/ispell.el (ispell-command-loop): Remove
11027 flyspell highlight of a word when ispell accepts it (bug #14178).
11028
11029 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11030
11031 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11032 uses code from the previous `ange-ftp-run-real-handler'.
11033 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11034 only in case that function exist. This is needed for proper
11035 unloading of Tramp.
11036
11037 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11038
11039 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11040
11041 * textmodes/reftex.el (reftex-compile-variables): Use it.
11042
11043 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11044
11045 * files.el (normal-mode): Only use default major-mode if no other mode
11046 was specified.
11047
11048 * emacs-lisp/trace.el (trace-values): New function.
11049
11050 * files.el: Allow : in local variables (bug#14089).
11051 (hack-local-variable-regexp): New var.
11052 (hack-local-variables-prop-line, hack-local-variables): Use it.
11053
11054 2013-04-13 Roland Winkler <winkler@gnu.org>
11055
11056 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11057 data before it gets modified by bibtex-beginning-of-entry.
11058
11059 2013-04-13 Roland Winkler <winkler@gnu.org>
11060
11061 * textmodes/bibtex.el (bibtex-url): Doc fix.
11062
11063 2013-04-13 Roland Winkler <winkler@gnu.org>
11064
11065 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11066 does not visit a BibTeX file, exclude it from the list of buffers
11067 returned by bibtex-initialize.
11068
11069 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11070
11071 * window.el (split-window): Remove interactive form, since as a
11072 command this function is a special case of split-window-below.
11073 Correct doc string.
11074
11075 2013-04-12 Roland Winkler <winkler@gnu.org>
11076
11077 * faces.el (read-face-name): Do not override value of arg default.
11078 Allow single faces and strings as default values. Remove those
11079 elements from return value that are not faces.
11080 (describe-face): Simplify.
11081 (face-at-point): New optional args thing and multiple so that this
11082 function can provide the same functionality previously provided by
11083 read-face-name.
11084 (make-face-bold, make-face-unbold, make-face-italic)
11085 (make-face-unitalic, make-face-bold-italic, invert-face)
11086 (modify-face, read-face-and-attribute): Use face-at-point.
11087
11088 * cus-edit.el (customize-face, customize-face-other-window)
11089 * cus-theme.el (custom-theme-add-face)
11090 * face-remap.el (buffer-face-set)
11091 * facemenu.el (facemenu-set-face): Use face-at-point.
11092
11093 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11094
11095 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11096
11097 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11098
11099 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11100 off leading { and trailing } from field values.
11101
11102 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11103
11104 * emacs-lisp/timer.el (timer--check): New function.
11105 (timer--time, timer-set-function, timer-event-handler): Use it.
11106 (timer-set-idle-time): Simplify.
11107 (timer--activate): CSE.
11108 (timer-event-handler): Give more info in error message.
11109 (internal-timer-start-idle): New function, moved from C.
11110
11111 * mpc.el (mpc-proc): Add `restart' argument.
11112 (mpc-proc-cmd): Use it.
11113 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11114 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11115 less often.
11116
11117 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11118
11119 * progmodes/sh-script.el: Implement `sh-mode' own
11120 `add-log-current-defun-function' (bug#14112).
11121 (sh-current-defun-name): New function.
11122 (sh-mode): Use the function.
11123
11124 2013-04-09 Bastien Guerry <bzg@gnu.org>
11125
11126 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11127
11128 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11129
11130 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11131
11132 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11133 timer (bug#14156).
11134
11135 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11136
11137 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11138 declaration.
11139
11140 2013-04-07 Leo Liu <sdl.web@gmail.com>
11141
11142 * pcmpl-x.el: New file.
11143
11144 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11145
11146 Do not set x-display-name until X connection is established.
11147 This is needed to prevent from weird situation described at
11148 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11149 * frame.el (make-frame): Set x-display-name after call to
11150 window system initialization function, not before.
11151 * term/x-win.el (x-initialize-window-system): Add optional
11152 display argument and use it.
11153 * term/w32-win.el (w32-initialize-window-system):
11154 * term/ns-win.el (ns-initialize-window-system):
11155 * term/pc-win.el (msdos-initialize-window-system):
11156 Add compatible optional display argument.
11157
11158 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11159
11160 * files.el (normal-backup-enable-predicate): On MS-Windows and
11161 MS-DOS compare truenames of temporary-file-directory and of the
11162 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11163 don't fail comparison by compare-strings. Also, compare file
11164 names case-insensitively on MS-Windows and MS-DOS.
11165
11166 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11169 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11170
11171 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11172
11173 * whitespace.el (whitespace-color-on, whitespace-color-off):
11174 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11175
11176 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11177
11178 * ispell.el (ispell-set-spellchecker-params):
11179 Really set `ispell-args' for all equivs.
11180
11181 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11182
11183 * ido.el (ido-completions): Use extra elements of ido-decorations
11184 (bug#14143).
11185 (ido-decorations): Update docstring.
11186
11187 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11188
11189 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11190 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11191 nil during initialization, in order not to miss changes since the
11192 file was opened. (Bug#14140)
11193
11194 2013-04-05 Leo Liu <sdl.web@gmail.com>
11195
11196 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11197
11198 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11199
11200 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11201
11202 2013-04-04 Glenn Morris <rgm@gnu.org>
11203
11204 * electric.el (electric-pair-inhibit-predicate): Add :version.
11205
11206 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11207
11208 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11209 when a package is required several times (bug#14082).
11210
11211 2013-04-04 Roland Winkler <winkler@gnu.org>
11212
11213 * faces.el (read-face-name): Behave as promised by the docstring.
11214 Assume that arg default is a list of faces.
11215 (describe-face): Call read-face-name with list of default faces.
11216
11217 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11218
11219 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11220 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11221 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11222 the header.
11223 (bookmark-exit-hook-internal): Save even if list is empty.
11224
11225 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11226
11227 * emacs-lisp/package.el (package-pinned-packages): New var.
11228 (package--add-to-archive-contents): Obey it (bug#14118).
11229
11230 2013-04-03 Alan Mackenzie <acm@muc.de>
11231
11232 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11233 Also adapt to the new values of element 7 of a parse state.
11234
11235 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11236 parameter `not-in-delimiter'. Handle being inside comment opener.
11237 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11238 character in case we're typing a '*' after a '/'.
11239 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11240 instead by passing the parameter to c-state-pp-to-literal.
11241
11242 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11243 for elt. 7 of a parse state.
11244
11245 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11246
11247 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11248 * international/latin1-disp.el, international/mule-util.el:
11249 * language/cyril-util.el, language/european.el, language/ind-util.el:
11250 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11251 * language/tibetan.el, language/viet-util.el:
11252 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11253
11254 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11255
11256 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11257 (electric-pair-post-self-insert-function): Use it.
11258 (electric-pair-default-inhibit): New function, extracted from
11259 electric-pair-post-self-insert-function.
11260
11261 2013-03-31 Roland Winkler <winkler@gnu.org>
11262
11263 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11264
11265 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11268
11269 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11270
11271 Un-indent after "pass" and "return" statements (Bug#13888)
11272 * progmodes/python.el (python-indent-block-enders): New var.
11273 (python-indent-calculate-indentation): Use it.
11274
11275 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11276
11277 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11278 defun. Defining it as defalias could introduce too eager
11279 byte-compiler optimization. (Bug#14030)
11280
11281 2013-03-30 Chong Yidong <cyd@gnu.org>
11282
11283 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11284
11285 2013-03-30 Leo Liu <sdl.web@gmail.com>
11286
11287 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11288 (kmacro-execute-from-register): Pass the keyboard macro to
11289 kmacro-call-macro or repeating won't work correctly.
11290
11291 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11292
11293 * progmodes/subword.el: Back to using `forward-symbol'.
11294
11295 * subr.el (forward-whitespace, forward-symbol)
11296 (forward-same-syntax): Move from thingatpt.el.
11297
11298 2013-03-29 Leo Liu <sdl.web@gmail.com>
11299
11300 * kmacro.el (kmacro-to-register): New command.
11301 (kmacro-execute-from-register): New function.
11302 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11303
11304 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11305
11306 * mpc.el: Use defvar-local and setq-local.
11307 (mpc--proc-connect): Connection failures are not bugs.
11308 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11309 (mpc-volume-map): Bind to the up-events.
11310
11311 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11312
11313 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11314 instead of `forward-symbol'.
11315
11316 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11317
11318 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11319 (edebug--recursive-edit): Use it.
11320 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11321 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11322
11323 2013-03-28 Leo Liu <sdl.web@gmail.com>
11324
11325 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11326
11327 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11328
11329 * facemenu.el (list-colors-callback): New defvar.
11330 (list-colors-redisplay): New function.
11331 (list-colors-display): Install list-colors-redisplay as the
11332 revert-buffer-function. (Bug#14063)
11333
11334 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11335
11336 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11337 and suffixes don't overlap (bug#14061).
11338
11339 * case-table.el: Use lexical-binding.
11340 (case-table-get-table): New function.
11341 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11342
11343 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11344
11345 * progmodes/subword.el: Add `superword-mode' to do word motion
11346 over symbol_words (parallels and leverages `subword-mode' which
11347 does word motion inside MixedCaseWords).
11348
11349 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11350
11351 * eshell/em-unix.el: Move su and sudo to...
11352 * eshell/em-tramp.el: ...Eshell tramp module.
11353
11354 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11355
11356 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11357 Change return value to be a sexp. Delay `get-buffer' to after
11358 restoring the desktop (bug#13951).
11359
11360 2013-03-26 Leo Liu <sdl.web@gmail.com>
11361
11362 * register.el: Move semantic tag handling back to
11363 cedet/semantic/senator.el. (Bug#14052)
11364
11365 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11366
11367 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11368 into the prompt either (bug#13963).
11369
11370 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11371
11372 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11373 part of "(error-foo)".
11374
11375 2013-03-24 Juri Linkov <juri@jurta.org>
11376
11377 * replace.el (list-matching-lines-prefix-face): New defcustom.
11378 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11379 `occur-engine' if `face-differs-from-default-p' returns t.
11380 (occur-engine): Add `,' inside backquote construct to evaluate
11381 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11382 Pass `prefix-face' to the functions `occur-context-lines' and
11383 `occur-engine-add-prefix'.
11384 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11385 `prefix-face' and propertize the prefix with `prefix-face'.
11386 (Bug#14017)
11387
11388 2013-03-24 Leo Liu <sdl.web@gmail.com>
11389
11390 * nxml/rng-valid.el (rng-validate-while-idle)
11391 (rng-validate-quick-while-idle): Guard against deleted buffer.
11392 (Bug#13999)
11393
11394 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11395 is the last entry in kill-buffer-hook.
11396
11397 * files.el (kill-buffer-hook): Doc fix.
11398
11399 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11400
11401 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11402 Make it safe-local.
11403
11404 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11405
11406 2013-03-23 Leo Liu <sdl.web@gmail.com>
11407
11408 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11409 Remove.
11410
11411 * nxml/rng-valid.el (rng-validate-mode)
11412 (rng-after-change-function, rng-do-some-validation):
11413 * nxml/rng-maint.el (rng-validate-buffer):
11414 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11415 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11416 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11417 (nxml-extend-after-change-region): Use with-silent-modifications.
11418
11419 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11420 timer-idle-list.
11421
11422 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11423 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11424 timer-idle-list. (Bug#13999)
11425
11426 2013-03-23 Juri Linkov <juri@jurta.org>
11427
11428 * info.el (info-index-match): New face.
11429 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11430 main pattern and add text properties with the new face to matches
11431 in index entries relative to the beginning of the index entry.
11432 (Bug#14015)
11433
11434 2013-03-21 Eric Ludlam <zappo@gnu.org>
11435
11436 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11437 Inhibit read only while inserting objects.
11438
11439 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11440
11441 * progmodes/cfengine.el: Update docs to mention
11442 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11443 symbol motion. Remove "_" from the word syntax.
11444
11445 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11446
11447 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11448 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11449
11450 2013-03-20 Juri Linkov <juri@jurta.org>
11451
11452 * info.el (Info-next-reference-or-link)
11453 (Info-prev-reference-or-link): New functions.
11454 (Info-next-reference, Info-prev-reference): Use them.
11455 (Info-try-follow-nearest-node): Handle footnote navigation.
11456 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11457
11458 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11459
11460 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11461 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11462
11463 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11464
11465 Suppress unnecessary non-ASCII chatter during build process.
11466 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11467 (batch-skkdic-convert): Suppress most of the chatter.
11468 It's not needed so much now that machines are faster,
11469 and its non-ASCII component was confusing; see Dmitry Gutov in
11470 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11471
11472 2013-03-20 Leo Liu <sdl.web@gmail.com>
11473
11474 * ido.el (ido-chop): Fix bug#10994.
11475
11476 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11477
11478 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11479 Remove vars.
11480 (whitespace-color-on, whitespace-color-off):
11481 Use `font-lock-fontify-buffer' (Bug#13817).
11482
11483 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11484
11485 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11486 remapping in mode-line.
11487 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11488
11489 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11490
11491 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11492 value for `whitespace-line' face (Bug#13875).
11493 (whitespace-font-lock-keywords): Change description.
11494 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11495 the constructed keywords instead.
11496 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11497
11498 2013-03-19 Leo Liu <sdl.web@gmail.com>
11499
11500 * progmodes/compile.el (compilation-display-error): New command.
11501 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11502 C-o. (Bug#13992)
11503
11504 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11505
11506 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11507
11508 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11509
11510 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11511
11512 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11513
11514 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11515
11516 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11517 * net/tramp-gvfs.el (top):
11518 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11519 (tramp-handle-shell-command): Use it.
11520 (tramp-dissect-file-name): Raise an error when hostname is a
11521 method name, and neither method nor user is specified.
11522
11523 * net/trampver.el: Update release number.
11524
11525 2013-03-18 Leo Liu <sdl.web@gmail.com>
11526
11527 Make sure eldoc can be turned off properly.
11528 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11529 eldoc-mode.
11530 (eldoc-display-message-p): Revert last change.
11531 (eldoc-display-message-no-interference-p)
11532 (eldoc-print-current-symbol-info): Tweak.
11533
11534 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11535
11536 * doc-view.el (doc-view-new-window-function): Check the new window
11537 overlay's display property instead the char property of the
11538 buffer's first char. Use `with-selected-window' instead of
11539 `save-window-excursion' with `select-window'.
11540 (doc-view-document->bitmap): Check the current doc-view overlay's
11541 display property instead the char property of the buffer's first char.
11542
11543 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11544
11545 Automate the build of ja-dic.el (Bug#13984).
11546 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11547 from the input, rather than assume that it's been done for us by the
11548 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11549 the current date into a ja-dic.el comment, as that complicates
11550 regression testing.
11551
11552 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * whitespace.el: Fix double evaluation.
11555 (whitespace-space, whitespace-hspace, whitespace-tab)
11556 (whitespace-newline, whitespace-trailing, whitespace-line)
11557 (whitespace-space-before-tab, whitespace-indentation)
11558 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11559 obsolete defvars.
11560 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11561 (whitespace-color-on): Use a single font-lock-add-keywords call.
11562 Fix double-evaluation of face variables.
11563
11564 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11565
11566 * net/tramp-adb.el (tramp-adb-parse-device-names):
11567 Use `start-process' instead of `call-process'. Otherwise, the
11568 function might be blocked under MS Windows. (Bug#13299)
11569
11570 2013-03-17 Leo Liu <sdl.web@gmail.com>
11571
11572 Extend eldoc to display info in the mode-line. (Bug#13978)
11573 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11574 (eldoc-mode-line-string): New variable.
11575 (eldoc-minibuffer-message): New function.
11576 (eldoc-message-function): New variable.
11577 (eldoc-message): Use it.
11578 (eldoc-display-message-p)
11579 (eldoc-display-message-no-interference-p):
11580 Support eldoc-post-insert-mode.
11581
11582 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11583 (eval-expression): Run it.
11584
11585 2013-03-17 Roland Winkler <winkler@gnu.org>
11586
11587 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11588 strings in the list of return values.
11589
11590 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11591
11592 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11593 radix before checking for HMS forms.
11594
11595 2013-03-16 Leo Liu <sdl.web@gmail.com>
11596
11597 * progmodes/scheme.el: Add indentation and font-locking for λ.
11598 (Bug#13975)
11599
11600 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11601
11602 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11603 token before point (bug#13942).
11604
11605 2013-03-16 Leo Liu <sdl.web@gmail.com>
11606
11607 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11608
11609 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11610
11611 * startup.el (command-line-normalize-file-name): Fix handling of
11612 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11613 <xfq.free@gmail.com> in
11614 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11615
11616 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11617
11618 Sync with Tramp 2.2.7.
11619
11620 * net/trampver.el: Update release number.
11621
11622 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11623
11624 * doc-view.el: Fix bug#13887.
11625 (doc-view-insert-image): Don't modify overlay associated to
11626 non-live windows, and implement horizontal centering of image in
11627 case it's smaller than the window.
11628 (doc-view-new-window-function): Force redisplay of new windows on
11629 doc-view buffers.
11630
11631 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11632
11633 * saveplace.el (save-place-alist-to-file): Don't sort
11634 `save-place-alist', just pretty-print it (bug#13882).
11635
11636 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11637
11638 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11639 Check whether `default-file-name-coding-system' is bound.
11640 It isn't in XEmacs.
11641
11642 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11643
11644 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11645 backquotes for `obsolete' (bug#13929).
11646
11647 * international/mule.el (find-auto-coding): Include file name in
11648 obsolescence warning (bug#13922).
11649
11650 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11651
11652 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11653 for CFEngine 3-specific indentation.
11654 (cfengine3-indent-line): Use it. Fix up category regex.
11655 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11656
11657 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11658
11659 * type-break.el (type-break-file-name):
11660 * textmodes/remember.el (remember-data-file):
11661 * strokes.el (strokes-file):
11662 * shadowfile.el (shadow-initialize):
11663 * saveplace.el (save-place-file):
11664 * ps-bdf.el (bdf-cache-file):
11665 * progmodes/idlwave.el (idlwave-config-directory):
11666 * net/quickurl.el (quickurl-url-file):
11667 * international/kkc.el (kkc-init-file-name):
11668 * ido.el (ido-save-directory-list-file):
11669 * emulation/viper.el (viper-custom-file-name):
11670 * emulation/vip.el (vip-startup-file):
11671 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11672 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11673
11674 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11675
11676 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11677 * language/thai-word.el: Switch to UTF-8.
11678
11679 See ChangeLog.16 for earlier changes.
11680
11681 ;; Local Variables:
11682 ;; coding: utf-8
11683 ;; End:
11684
11685 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11686
11687 This file is part of GNU Emacs.
11688
11689 GNU Emacs is free software: you can redistribute it and/or modify
11690 it under the terms of the GNU General Public License as published by
11691 the Free Software Foundation, either version 3 of the License, or
11692 (at your option) any later version.
11693
11694 GNU Emacs is distributed in the hope that it will be useful,
11695 but WITHOUT ANY WARRANTY; without even the implied warranty of
11696 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11697 GNU General Public License for more details.
11698
11699 You should have received a copy of the GNU General Public License
11700 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.