Spelling fix.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e18b70fc
SM
12014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4 syntax-begin-function (bug#16247).
5
0d53f628
CY
62014-01-03 Chong Yidong <cyd@gnu.org>
7
8 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
9 (advice--docstring): Delete variable.
10 (advice--make-1): Leave the docstring empty.
11 (advice-add): Use function-documentation for advised docstring.
12
13 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
14 Ignore function-documentation property when getting documentation.
15 (ad-activate-advised-definition): Use function-documentation
16 generate the docstring.
17 (ad-make-advised-definition): Don't call
18 ad-make-advised-definition-docstring.
19 (ad-make-advised-definition-docstring, ad-advised-definition-p):
20 Delete functions.
21
22 * progmodes/sql.el (sql-help): Use function-documentation instead
23 of dynamic-docstring-function property. No need to autoload now.
24 (sql--help-docstring): New variable.
25 (sql--make-help-docstring): Use it.
26
6f547583
SM
272014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
28
6ef9aed8
SM
29 * ielm.el (ielm-tab): Retarget.
30 (ielm-map): Use ielm-tab for tab.
31 (ielm-complete-filename): Use comint-filename-completion.
32 (ielm-complete-symbol): Remove.
33 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
34 remove ielm-tab from completion-at-point-functions (bug#16224).
35
6f547583
SM
36 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
37 Beware signals raised by predicates (bug#16201).
38
a574edbe
RS
392014-01-02 Richard Stallman <rms@gnu.org>
40
e831604d
RS
41 * dired-aux.el (dired-do-print): Handle printer-name.
42
6f547583
SM
43 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
44 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
45 (rmail-epa-decrypt): Turn off mime processing.
46
47 * mail/rmail.el (rmail-make-in-reply-to-field):
48 Add parens in message-id.
49
50 * mail/rmail.el (rmail-get-coding-function): Variable.
51 (rmail-get-coding-system): Use it.
52
04311a16
KH
532013-12-31 Eli Zaretskii <eliz@gnu.org>
54
55 * international/mule-conf.el: Unify the charset indian-is13194.
56 (indian-is13194): Specify unify-map.
57
c8d89778
LL
582013-12-31 Leo Liu <sdl.web@gmail.com>
59
60 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
61
e63ace37
DC
622013-12-30 Daniel Colascione <dancol@dancol.org>
63
9e0bf19a
DC
64 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
65 of printing a useless when we resume from sleep.
66
e63ace37
DC
67 * progmodes/sh-script.el
68 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
69 in indentation code. (Bug#16233)
70
e9d6c46a
JT
712013-12-28 João Távora <joaotavora@gmail.com>
72
6f547583
SM
73 * elec-pair.el (electric-pair-post-self-insert-function):
74 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 75
bf7bea5d
EZ
762013-12-28 Eli Zaretskii <eliz@gnu.org>
77
78 * frame.el (window-system-for-display): Don't allow to create a
79 GUI frame from a -nw session on MS-Windows. (Bug#14739)
80
8449dd1f
GM
812013-12-28 Glenn Morris <rgm@gnu.org>
82
9c5a5c77
GM
83 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
84 Update callers.
85
86 * apropos.el (apropos-match-face):
87 * calculator.el (calculator-displayer):
88 * dabbrev.el (dabbrev-search-these-buffers-only):
89 * face-remap.el (buffer-face-mode-face):
90 * simple.el (yank-handled-properties):
91 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
92 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
93 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
94 (hashcash-double-spend-database):
95 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
96 (ruby-deep-indent-paren-style):
97 * textmodes/flyspell.el (flyspell-auto-correct-binding):
98 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
99 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
100 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
101 Specify custom types.
102
bb098075
GM
103 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
104 * bookmark.el (bookmark-bmenu-use-header-line):
105 * doc-view.el (doc-view-scale-internally):
106 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
107 * register.el (register-preview-delay):
108 * net/shr.el (shr-bullet):
109 * progmodes/cfengine.el (cfengine-cf-promises)
110 (cfengine-parameters-indent):
111 * progmodes/octave.el (inferior-octave-error-regexp-alist):
112 * textmodes/reftex-vars.el (reftex-label-regexps):
113 * vc/log-edit.el (log-edit-setup-add-author): Add version.
114
9c61f806
GM
115 * net/tls.el (tls-certtool-program): Fix default value.
116
117 * desktop.el (desktop-restore-in-current-display):
118 * newcomment.el (comment-empty-lines):
119 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
120 (idlwave-pad-keyword):
121 * progmodes/tcl.el (tcl-tab-always-indent):
122 * textmodes/reftex-vars.el (reftex-index-default-tag):
123 * elec-pair.el (electric-pair-skip-whitespace):
124 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
125
8449dd1f
GM
126 * emacs-lisp/authors.el (authors-ignored-files)
127 (authors-valid-file-names, authors-renamed-files-alist): Additions.
128
fdadeb49
JC
1292013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
130
72140a0f
GM
131 * shell.el (shell-dynamic-complete-command): Doc fix.
132 (shell--command-completion-data): Shell completion now matches
133 executable filenames from the current buffer's directory, on
da5ecfa9 134 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 135
e572a7d8
LI
1362013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
137
138 * net/shr.el (shr-insert): Don't infloop if the width is zero.
139
7514d3f8
SM
1402013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
141
a4151f3b
SM
142 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
143 (bug#16251).
144
7514d3f8
SM
145 * electric.el: Move all electric-pair-* to elec-pair.el.
146 * elec-pair.el: New file, split from electric.el.
147
ac5758d1
LI
1482013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
149
150 * net/shr.el (shr-find-fill-point): Don't try to fill if the
151 indentation level is larger than the width, because that will
152 infloop.
153 (shr-insert): Fill repeatedly long texts, so that Japanese is
154 formatted correctly (bug#16263).
24a6b65e
LI
155 (shr-find-fill-point): Off by one error in comparison with the
156 indentation.
ac5758d1 157
7514d3f8 1582013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
159
160 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 161 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
162 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
163 if that keeps or improves their balance in buffers.
164 (electric-pair-delete-adjacent-pairs): Delete the pair when
165 backspacing over adjacent matched delimiters.
166 (electric-pair-open-extra-newline): Open extra newline when
167 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
168 (electric--sort-post-self-insertion-hook):
169 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
170 minor-modes are activated.
171 * simple.el (newline-and-indent): Call newline with interactive
172 set to t.
173 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
174 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
175 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
176 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
177 electric-pair-open-newline-between-pairs to nil.
178
fbcc63a3
FEG
1792013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
180
181 * progmodes/python.el: Use lexical-binding.
182 (python-nav-beginning-of-defun): Stop searching ASAP.
183
ed78d16c
XF
1842013-12-25 Xue Fuqiao <xfq.free@gmail.com>
185
186 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
187 Fix interactive spec. Doc fix. (Bug#15754)
188
38b2c142
KY
1892013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
190
191 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 192 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
193 Fix edebug spec (bug#16184).
194
3c856c14
LI
1952013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
196
83fa295c 197 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
198 (shr-insert): Don't infloop if we can't find a good place to break
199 the line (bug#16256).
3c856c14 200
01379221
FEG
2012013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
202
203 * progmodes/python.el:
204 (python-nav--lisp-forward-sexp): New function.
205 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
206 python-nav-lisp-forward-sexp-safe.
207 (python-nav--forward-sexp): New argument SAFE allows switching
208 forward sexp movement behavior for parens.
209 (python-nav-forward-sexp): Throw errors on unterminated parens
210 (Bug#16191).
211 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
212 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
213 (python-shell-buffer-substring):
214 Use `python-nav-forward-sexp-safe'.
01379221 215
99e4926f
LI
2162013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
217
218 * net/shr.el (shr-find-fill-point): Don't break lines before a
219 quotation mark.
c6c20584
LI
220 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
221 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 222 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 223
fec0e828
KN
2242013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
225
226 * net/eww.el (eww-form-textarea): Use a different face for
227 textareas than text input since they have different keymaps
228 (bug#16142).
229
89c868ad
FEG
2302013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
231
7514d3f8
SM
232 * progmodes/python.el (python-nav-beginning-of-statement):
233 Speed up (Bug#15295).
89c868ad 234
eeef121a
LI
2352013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
236
237 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
238 the window configuration.
239
121ea65f
EZ
2402013-12-24 Eli Zaretskii <eliz@gnu.org>
241
242 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
243 we run on MS-Windows or MS-DOS.
244
18cee9ec
MR
2452013-12-24 Martin Rudalics <rudalics@gmx.at>
246
247 * window.el (balance-windows-area): Call window-size instead of
248 window-height and window-width. Bug#16241.
249
58f2b9a5
LI
2502013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
251
252 * net/eww.el (eww-bookmark-quit): Remove.
253 (eww-bookmark-browse): Restore the window configuration when you
254 choose a bookmark (bug#16144).
255
d64b6308
DC
2562013-12-24 Daniel Colascione <dancol@dancol.org>
257
258 * icomplete.el: Remove redundant :group arguments to `defcustom'
259 throughout.
260 (icomplete-show-matches-on-no-input): New customizable variable.
261 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
262 we have something to show.
7514d3f8 263 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 264
0da54898
DC
2652013-12-23 Daniel Colascione <dancol@dancol.org>
266
267 * icomplete.el: Move `provide' to end of file.
268
b90aa4f4
TZ
2692013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
270
271 * net/gnutls.el (gnutls-verify-error): Add version tag.
272
8cd22a08
CY
2732013-12-23 Chong Yidong <cyd@gnu.org>
274
275 * subr.el (set-transient-map): Rename from
276 set-temporary-overlay-map. Doc fix.
277
278 * face-remap.el (text-scale-adjust):
279 * indent.el (indent-rigidly):
280 * kmacro.el (kmacro-call-macro):
281 * minibuffer.el (minibuffer-force-complete):
282 * repeat.el (repeat):
283 * simple.el (universal-argument--mode):
284 * calendar/todo-mode.el (todo-insert-item--next-param):
285 * progmodes/f90.el (f90-abbrev-start): Callers changed.
286
7510b021
CY
287 * indent.el (indent-rigidly): Use substitute-command-keys.
288
72140a0f 2892013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
290
291 * net/eww.el (eww-tag-select): Add text-property to jump to next
292 select field.
e9dc713d 293 (eww): Add non-supported ftp error.
56890ecd 294
1f87a56c
DG
2952013-12-22 Dmitry Gutov <dgutov@yandex.ru>
296
297 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
298 comments. Handle electric indent after typing `?' and `!'.
299
dca38cf9
CY
3002013-12-22 Chong Yidong <cyd@gnu.org>
301
302 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
303 applicable to a frame, fall back on the defface spec.
304 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 305
f2351498
DG
3062013-12-22 Dmitry Gutov <dgutov@yandex.ru>
307
308 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
309 after `{'. We need it after block openers, and it doesn't seem
310 to hurt after hash openers.
311
6cddebc1
DG
3122013-12-22 Dmitry Gutov <dgutov@yandex.ru>
313
314 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
315 extracted from `ruby-smie-rules'.
316 (ruby--electric-indent-chars): New variable.
317 (ruby--electric-indent-p): New function.
318 (ruby-mode): Use `electric-indent-functions' instead of
319 `electric-indent-chars'.
320
65a1da00
DG
3212013-12-22 Dmitry Gutov <dgutov@yandex.ru>
322
323 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
324 docstring.
325 (ruby-smie-rules): Indent plus one level after `=>'.
326
b51ad4cf
RS
3272013-12-21 Richard Stallman <rms@gnu.org>
328
329 * simple.el (newline): Doc fix.
330
72140a0f 3312013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 332
e9dc713d 333 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
334 (eww-history-browse, eww-history-quit, eww-history-kill)
335 (eww-history-mode-map, eww-history-mode): New command and
336 functions to list browser histories.
e9dc713d
JB
337 (eww-form-text): Support text form with disabled
338 and readonly attributes.
339 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 340
5e1901c1
RS
3412013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
342
343 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
344 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
345 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
346 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
347 Use `user-error'.
348 (eww-bookmark-mode-map): Add menu.
349 (eww-render, eww-mode): Use `setq-local'.
350 (eww-tool-bar-map): New variable.
351 (eww-mode): Set `tool-bar-map'.
352 (eww-view-source): Check for `html-mode' with `fboundp'.
353
073d5cfd
LMI
3542013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
355
356 * net/shr.el (shr--extract-best-source): Don't bug out on audio
357 elements with text inside. Also remove debugging.
358
41cf3d11
JD
3592013-12-21 Jan Djärv <jan.h.d@swipnet.se>
360
361 * cus-start.el (all): Add ns-use-srgb-colorspace.
362
aac2b673
CY
3632013-12-21 Chong Yidong <cyd@gnu.org>
364
365 * custom.el (custom-theme-recalc-face): Do nothing if the face is
366 undefined. Thus, theme settings for undefined faces do not take
367 effect until the faces are defined with defface, the same as with
368 theme variables.
369
370 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
371 (face-spec-reset-face): Don't assign extra properties in temacs.
372 (face-spec-recalc): Apply X resources too.
373
bacb0e77
CY
3742013-12-21 Chong Yidong <cyd@gnu.org>
375
376 * faces.el (face-spec-set):
377 * cus-face.el (custom-theme-set-faces, custom-set-faces):
378 * custom.el (defface): Doc fixes (Bug#16203).
379
77221051
CY
380 * indent.el (indent-rigidly-map): Add docstring, and move commands
381 into named functions.
382 (indent-rigidly-left, indent-rigidly-right)
383 (indent-rigidly-left-to-tab-stop)
384 (indent-rigidly-right-to-tab-stop): New functions. Decide on
385 indentation direction based on bidi direction, and accumulate
386 sequential commands in a single undo boundary.
387 (indent-rigidly--pop-undo): New utility function.
388
e0eb0550
JB
3892013-12-20 Juanma Barranquero <lekktu@gmail.com>
390
391 * faces.el (read-face-name): Require crm.el when using crm-separator.
392
3282bd2e
DC
3932013-12-20 Daniel Colascione <dancol@dancol.org>
394
395 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
396 so that we don't reflow comments into the shebang line.
397
1d42e5b6
JL
3982013-12-20 Juri Linkov <juri@jurta.org>
399
400 * saveplace.el (save-place-to-alist): Add `dired-filename' as
401 a position when `dired-directory' is non-nil. Check integer
402 positions with `integerp'.
403 (toggle-save-place, save-places-to-alist): Add check for
404 `dired-directory'.
405 (save-place-find-file-hook): Check integer positions with
406 `integerp'.
407 (save-place-dired-hook): Use `dired-goto-file' when
408 `dired-filename' is found in the assoc list. Check integer
409 positions with `integerp'.
410 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
411
412 * dired.el (dired-initial-position-hook): Rename back from
413 `dired-initial-point-hook'.
414 (dired-initial-position): Rename `dired-initial-point-hook' to
415 `dired-initial-position-hook'.
416 (dired-file-name-at-point): Doc fix. (Bug#15329)
417
24da7273
JL
4182013-12-20 Juri Linkov <juri@jurta.org>
419
420 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
421 (read-regexp-suggestions): New function.
422 (read-regexp): Use `read-regexp-defaults-function' to get default values.
423 Use `read-regexp-suggestions'. Add non-empty default to history
424 for empty input.
425 (occur-read-regexp-defaults-function): Remove function.
426 (occur-read-primary-args): Use `regexp-history-last' instead of
427 `occur-read-regexp-defaults-function'.
428
429 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
430 (hi-lock-line-face-buffer, hi-lock-face-buffer)
431 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
432 `hi-lock-read-regexp-defaults-function'. Doc fix.
433 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
434 with `find-tag-default-as-symbol-regexp'. Doc fix.
435 (hi-lock-read-regexp-defaults): Remove function.
436 (hi-lock-regexp-okay): Add check for null.
437
438 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
439 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
440
441 * subr.el (find-tag-default-as-symbol-regexp): New function.
442 (find-tag-default-as-regexp): Move symbol regexp formatting to
443 `find-tag-default-as-symbol-regexp'.
444
137f57c8
S
4452013-12-20 E Sabof <esabof@gmail.com> (tiny change)
446
447 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
448 (Bug#14179)
449
f3a66082
SB
4502013-12-20 Stephen Berman <stephen.berman@gmx.net>
451
452 * calendar/todo-mode.el: New implementation of item insertion
453 commands and key bindings.
454 (todo-key-prompt): New face.
455 (todo-insert-item): New command.
456 (todo-insert-item--parameters): New defconst, replacing defvar
457 todo-insertion-commands-args-genlist.
458 (todo-insert-item--param-key-alist): New defconst, replacing
459 defvar todo-insertion-commands-arg-key-list.
460 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
461 (todo-insert-item--argsleft, todo-insert-item--apply-args)
462 (todo-insert-item--next-param): New functions.
463 (todo-insert-item--args, todo-insert-item--argleft)
464 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
465 New variables.
466 (todo-key-bindings-t): Change binding of "i" from
467 todo-insertion-map to todo-insert-item.
468 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
469 (todo-insertion-command-name, todo-insertion-commands-names)
470 (todo-define-insertion-command, todo-insertion-commands)
471 (todo-insertion-key-bindings, todo-insertion-map): Remove.
472
2f99433b
SB
4732013-12-20 Stephen Berman <stephen.berman@gmx.net>
474
475 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
476 (todo-toggle-item-highlighting): Use eval-and-compile instead of
477 eval-when-compile.
478 (todo-move-category): Allow choosing a non-existing todo file to
479 move the category to, and create that file.
480 (todo-default-priority): New user option.
481 (todo-set-item-priority): Use it.
482 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
483 (desktop-restore-file-buffer): Declare.
484 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
485 (todo-modes-set-2): Locally set desktop-save-buffer to
486 todo-desktop-save-buffer.
487 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
488 (auto-mode-alist): Add autoload cookie.
489
131e4695
BB
4902013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
491
492 * emacs-lisp/subr-x.el: Renamed from helpers.el.
493 helpers.el was a poor choice of name.
3cbfb935
BB
494 (string-remove-prefix): New function.
495 (string-remove-suffix): New function.
131e4695 496
c44de18d
MR
4972013-12-20 Martin Rudalics <rudalics@gmx.at>
498
499 Fix assignment for new window total sizes.
500 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
501 (window--pixel-to-total-1, window--pixel-to-total):
502 Fix calculation of new total sizes.
c44de18d 503
ca65efcc
VS
5042013-12-20 Vitalie Spinu <spinuvit@gmail.com>
505
506 * comint.el (comint-output-filter): Fix rear-nonsticky property
507 placement (Bug#16010).
508
a9574eb7
CY
5092013-12-20 Chong Yidong <cyd@gnu.org>
510
511 * faces.el (read-color): Minor fix for completion function.
512
b520f210
DG
5132013-12-20 Dmitry Gutov <dgutov@yandex.ru>
514
e0eb0550
JB
515 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
516 New option. (Bug#16182)
b520f210
DG
517 (ruby-smie--indent-to-stmt-p): Use it.
518 (ruby-smie-rules): Revert the logic in the handling of `when'.
519 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
520 (ruby-deep-arglist, ruby-deep-indent-paren)
521 (ruby-deep-indent-paren-style): Update docstrings to note that the
522 vars don't have any effect with SMIE.
523
26b75b45
JB
5242013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
525
526 * calc/calc.el (calc-enter, calc-pop): Use the variable
527 `calc-context-sensitive-enter'.
528
cf91cee7
LMI
5292013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
530
531 * net/shr.el (shr-insert): Protect against infloops in degenerate
532 tables.
533
51d971b4
RS
5342013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
535
536 * progmodes/octave.el (octave): Add link to manual and octave
537 homepage.
538 (octave-mode-menu): Link to octave-mode manual.
539
8c2e462a
LL
5402013-12-20 Leo Liu <sdl.web@gmail.com>
541
542 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
543 insertion using skeleton-end-newline. (Bug#16138)
544
501158bc
JL
5452013-12-20 Juri Linkov <juri@jurta.org>
546
547 * replace.el (occur-engine): Use `add-face-text-property'
548 to add the face property to matches and titles. (Bug#14645)
549
550 * hi-lock.el (hi-green): Use lighter color "light green" closer to
551 the palette of other hi-lock colors.
552 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
553
50ab1da6
JL
5542013-12-19 Juri Linkov <juri@jurta.org>
555
556 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
557 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
558 (minibuffer-history-symbol): Move variable declaration closer to
559 its usage.
560
561 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
562 (Bug#14785)
563
3d6e95e7
JL
5642013-12-19 Juri Linkov <juri@jurta.org>
565
566 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
567 New function.
568 (log-edit-hook): Add it to :options. (Bug#16170)
569
b41594fd
JL
5702013-12-19 Juri Linkov <juri@jurta.org>
571
572 * simple.el (eval-expression-print-format): Don't check for
573 command names and the last command. Always display additional
574 formats of the integer result in the echo area, and insert them
575 to the current buffer only with a zero prefix arg.
576 Display character when char-displayable-p is non-nil.
577 (eval-expression): With a zero prefix arg, set `print-length' and
578 `print-level' to nil, and insert the integer values from
579 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
580
581 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
582 `eval-last-sexp-arg-internal'. Doc fix.
583 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
584 `eval-last-sexp-print-value'. Doc fix.
585 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
586 Set `print-length' and `print-level' to nil when arg is zero.
587 (eval-last-sexp): Doc fix.
588 (eval-defun-2): Print the integer values from
589 `eval-expression-print-format' at the end.
590
591 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
592 values from `eval-expression-print-format' at the end.
593
594 * ielm.el (ielm-eval-input): Print the integer
595 values from `eval-expression-print-format' at the end.
596
8f2be364
TZ
5972013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
598
599 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
600 2013-12-11T19:01:44Z!tzz@lifelogs.com.
601
2230a6e3
SM
6022013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
603
604 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
605 (hl-line-highlight, global-hl-line-highlight): Use it.
606 (hl-line-overlay): Use defvar-local.
607
1269a680
JD
6082013-12-19 Jan Djärv <jan.h.d@swipnet.se>
609
610 * term/ns-win.el: Require dnd.
611 (global-map): Remove drag items.
612 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
613 (ns-set-background-at-mouse):
614 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
615 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
616 New functions.
1269a680 617
049638ad
GM
6182013-12-19 Glenn Morris <rgm@gnu.org>
619
620 * emacs-lisp/ert.el (ert-select-tests):
621 Fix string/symbol mixup. (Bug#16121)
622
ce41edb4
DG
6232013-12-19 Dmitry Gutov <dgutov@yandex.ru>
624
625 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
626 keywords to their parent.
627
7e1549c9
DG
6282013-12-19 Dmitry Gutov <dgutov@yandex.ru>
629
630 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
631 first arg to be a string (fixed dead code), or an operator symbol.
632 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
633 operator symbols.
634 (ruby-smie-rules): Remove parent token check in the `.' clause, it
635 did nothing. Don't respond to `(:after ".")', it will be called
636 with :before anyway. Remove the ` @ ' rule, it didn't seem to
637 change anything. Only return indentation for binary operators
638 when they are hanging. De-dent opening paren when its parent is
639 `.', otherwise it looks bad when the dot is not at bol or eol
640 (bug#16182).
641
3ee4cd64
JL
6422013-12-19 Juri Linkov <juri@jurta.org>
643
644 * replace.el (query-replace-read-args): Split a non-negative arg
645 and a negative arg into separate elements.
646 (query-replace, query-replace-regexp, replace-string)
647 (replace-regexp): Add arg `backward'. Doc fix.
648 (replace-match-maybe-edit): When new arg `backward' is non-nil,
649 move point to the beginning of the match.
650 (replace-search, replace-highlight): Use new arg `backward'
651 to set the value of `isearch-forward'.
652 (perform-replace): Add arg `backward' and use it to perform
653 replacement backward. (Bug#14979)
654
655 * isearch.el (isearch-query-replace): Use a negative prefix arg
656 to call `perform-replace' with a non-nil arg `backward'.
657
0cda6b7b
JL
6582013-12-18 Juri Linkov <juri@jurta.org>
659
660 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
661 to the default list. Move `log-edit-show-files' to the end.
662 Add more available functions to options.
663 (log-edit): Move default specific settings to
664 `log-edit-insert-message-template'. Don't move point.
665 (log-edit-insert-message-template): New function.
666 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
667 (Bug#16170)
668
b216f0a6
JL
6692013-12-18 Juri Linkov <juri@jurta.org>
670
671 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
672 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
673
1d1c55dc
LL
6742013-12-18 Leo Liu <sdl.web@gmail.com>
675
e9dc713d
JB
676 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
677 (Bug#16186)
1d1c55dc 678
64e4c76e
EZ
6792013-12-18 Eli Zaretskii <eliz@gnu.org>
680
681 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
682 formats for displaying file sizes when the -s switch is given.
683 Instead, compute a separate format for displaying the size in
684 blocks, which is displayed in addition to the "regular" size.
685 When -h is given in addition to -s, produce size in blocks in
686 human-readable form as well. (Bug#16179)
687
b2984e39
TH
6882013-12-18 Tassilo Horn <tsdh@gnu.org>
689
2230a6e3
SM
690 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
691 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 692
50ff2e06
CY
6932013-12-18 Chong Yidong <cyd@gnu.org>
694
0081bc84
CY
695 * cus-edit.el (custom-magic-alist): Fix "themed" description
696 (Bug#14348).
697
a7ee9424
CY
698 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
699 is non-nil, do not create a new entry in the symbol's theme-value
700 or theme-face property; update theme-settings only (Bug#14664).
18874304 701 (custom-available-themes): Doc fix.
a7ee9424 702
8f942537
CY
703 * cus-theme.el (custom-new-theme-mode-map): Add bindings
704 (Bug#15674).
705
50ff2e06
CY
706 * replace.el (occur-engine): Avoid infloop (Bug#7593).
707
83c60f60
KI
7082013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
709
710 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
711 (Bug#13914).
712
e0eb0550 7132013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
714
715 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
716
1f41ee56
GM
7172013-12-18 Glenn Morris <rgm@gnu.org>
718
719 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 720 * cus-start.el (load-prefer-newer): New option.
1f41ee56 721
e82134b1
LW
7222013-12-18 Le Wang <l26wang@gmail.com>
723
2230a6e3
SM
724 * comint.el (comint-previous-matching-input-from-input):
725 Retain point (Bug#13404).
e82134b1 726
33f5d4c1
CY
7272013-12-18 Chong Yidong <cyd@gnu.org>
728
729 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
730
ccc9f6dc
GM
7312013-12-18 Glenn Morris <rgm@gnu.org>
732
733 * mail/emacsbug.el (report-emacs-bug):
734 Only mention enable-multibyte-characters if non-standard.
735
33dd8e95
JL
7362013-12-17 Juri Linkov <juri@jurta.org>
737
738 * arc-mode.el (archive-extract-by-file): Check if directory exists
739 before deletion to not show irrelevant errors if it doesn't exist.
740
7a409b30
JL
7412013-12-17 Juri Linkov <juri@jurta.org>
742
743 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
744 (Bug#14751)
745
746 * net/eww.el (browse-web): Add alias to `eww'.
747 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
748 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
749
750 * net/browse-url.el (browse-url-browser-function): Move `eww'
751 closer to similar functions.
752
753 * startup.el (fancy-startup-screen, fancy-about-screen):
754 Set browse-url-browser-function to eww-browse-url locally.
755 (Bug#14751)
756
2d6b6005
SM
7572013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
758
759 * window.el (window--pixel-to-total): Remove unused `mini' var.
760 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
761 (split-window): Remove unused `new' var.
762 (window--display-buffer): Remove unused `frame' and `delta' vars.
763 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
764 and display-width'.
765
cf2b7efc
MR
7662013-12-17 Martin Rudalics <rudalics@gmx.at>
767
768 * dired.el (dired-mark-pop-up):
769 * register.el (register-preview): Don't bind
770 split-height-threshold here since it's now done in
771 display-buffer-below-selected.
772
ed3af8a7 7732013-12-17 oblique <psyberbits@gmail.com> (tiny change)
774
775 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
776 xterm-rgb-convert-to-16bit.
777 (rxvt-register-default-colors): Standardize with
778 xterm-register-default-colors (Bug#14078).
779
76da3455
DK
7802013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
781
782 * simple.el (kill-region): Pass mark first, then point, so that
783 kill-append works right (Bug#12819).
784 (copy-region-as-kill, kill-ring-save): Likewise.
785
2b84d763
LL
7862013-12-17 Leo Liu <sdl.web@gmail.com>
787
788 * net/rcirc.el (rcirc-add-face):
789 * eshell/em-prompt.el (eshell-emit-prompt):
790 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
791 (Bug#16167)
792
e2f6a0bc
CY
7932013-12-17 Chong Yidong <cyd@gnu.org>
794
795 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
796 Suggested by Xue Fuqiao.
797
35b249a6
DG
7982013-12-17 Dmitry Gutov <dgutov@yandex.ru>
799
800 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
801
e9145444
SM
8022013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * net/shr.el (shr-insert-document): Remove unused var
805 `shr-preliminary-table-render'.
806 (shr-rescale-image): Remove unused arg `force'.
807 (shr-put-image): Update calls accordingly.
808 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
809
5556c0ce
DG
8102013-12-17 Dmitry Gutov <dgutov@yandex.ru>
811
812 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
813 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
814 :close-all, to see which indentation method to use (Bug#16116).
815 (smie-rules-function): Document the method :close-all.
816
11bade0a
LMI
8172013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
818
1c4b1e61
LMI
819 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
820
11bade0a
LMI
821 * net/eww.el (eww-display-html): If we can't find the anchor we're
822 looking for, then go to point-min.
823
8fb8c4f3
PE
8242013-12-16 Paul Eggert <eggert@cs.ucla.edu>
825
826 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
827 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
828 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
829 Expand dir too, in case it's relative.
830
6c8e0ae6
JL
8312013-12-16 Juri Linkov <juri@jurta.org>
832
833 * desktop.el (desktop-auto-save-timeout): Change default to
834 `auto-save-timeout'. Doc fix.
835 (desktop-save): Skip the timestamp in desktop-saved-frameset
836 when checking for auto-save changes.
837 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
838 `desktop-auto-save' is called repeatedly by the idle timer.
839 (desktop-auto-save-set-timer): Replace `run-with-timer' with
840 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
841 (Bug#15331)
842
2178e858
JL
8432013-12-16 Juri Linkov <juri@jurta.org>
844
845 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
846 (Bug#16035)
847 (isearch-pre-command-hook): Check `this-command' for symbolp.
848
39cb42c6
SM
8492013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
850
851 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
852
5b9b750a
TZ
8532013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
854
855 * progmodes/cfengine.el (cfengine3--current-word): Remove.
856 (cfengine3--current-function): Bring in the current-function
857 functionality from `cfengine3--current-word'.
858 (cfengine3-completion-function): Bring in the
859 bounds-of-current-word functionality from
860 `cfengine3--current-word'.
861
d144ef06
MR
8622013-12-16 Martin Rudalics <rudalics@gmx.at>
863
39cb42c6
SM
864 * window.el (display-buffer-below-selected):
865 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 866
a8bbe298
LL
8672013-12-16 Leo Liu <sdl.web@gmail.com>
868
869 * progmodes/compile.el (compile-goto-error): Do not push-mark.
870 Remove NOMSG arg and all uses changed.
871
2013a2f9
SM
8722013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
873
874 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
875 (cua--deactivate-rectangle): Don't deactivate the mark.
876 (cua-set-rectangle-mark): Don't set mark-active since
877 cua--activate-rectangle already does it for us.
878 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
879 non-rectangular region.
880
881 * emulation/cua-base.el (cua-repeat-replace-region):
882 Use with-current-buffer.
883
884 * net/gnutls.el: Use cl-lib.
885 (gnutls-negotiate): `mapcan' -> cl-mapcan.
886
5ae811dd
TZ
8872013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
888
889 * emacs-lisp/package.el (package-built-in-p): Support both
890 built-in and the package.el converted package descriptions.
891 (package-show-package-list): Allow keywords.
892 (package-keyword-button-action): Use it instead of
893 `finder-list-matches'.
894 (package-menu-filter-interactive): Interactive filtering (by
895 keyword) function.
896 (package-menu--generate): Support keywords and change keymappings
897 and headers when they are given.
898 (package--has-keyword-p): Helper function.
899 (package-menu--refresh): Use it.
900 (package--mapc): Helper function.
901 (package-all-keywords): Use it.
902 (package-menu-mode-map): Set up menu items and keybindings to
903 provide a filtering UI.
904
31b4827e
TZ
9052013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
906
907 * net/gnutls.el (gnutls-verify-error): New defcustom to control
908 the behavior when a certificate fails validation. Defaults to
909 old behavior: never abort, just warn.
910 (gnutls-negotiate): Use it.
911
f93cc74f
MR
9122013-12-14 Martin Rudalics <rudalics@gmx.at>
913
914 * window.el (display-buffer-below-selected): Never split window
915 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
916
f77d7d17
TW
9172013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
918
919 * emacs-lisp/package.el (package--prepare-dependencies): New function.
920 (package-buffer-info): Use it (bug#15108).
aa2bddd7 921
7514d3f8
SM
9222013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
923
aa2bddd7 924 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 925 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 926
276bc333
DG
9272013-12-14 Dmitry Gutov <dgutov@yandex.ru>
928
929 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
930 open-paren tokens when preceded by a open-paren, too.
931 (ruby-smie-rules): Handle virtual indentation after open-paren
932 tokens specially. If there is code between it and eol, return the
933 column where is starts (Bug#16118).
934
d43957f3
TZ
9352013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
936
a5c1ac0c 937 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 938 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
939 (cfengine3--current-word): Fix parameters.
940 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
941 (cfengine3-completion-function, cfengine3--current-function):
942 Use `assq' for symbols.
d43957f3
TZ
943 (cfengine3--current-function): Fix `cfengine3--current-word' call.
944
06a4f110
GM
9452013-12-13 Glenn Morris <rgm@gnu.org>
946
947 * loadup.el (load-path): Warn if site-load or site-init changes it.
948 No more need to reset it when bootstrapping.
949
978a5fda
TZ
9502013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
951
952 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
953 locations for cf-promises.
954 (cfengine-mode-syntax-functions-regex): New caching variable.
955 (cfengine3-fallback-syntax): Fallback syntax for cases where
956 cf-promises doesn't run.
957 (cfengine3--current-word): Reimplement using
958 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
959 (cfengine3-completion-function, cfengine3--current-function):
960 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
961 (cfengine3-clear-syntax-cache): New function.
962 (cfengine3-make-syntax-cache): Simplify and create
963 `cfengine-mode-syntax-functions-regex' on demand.
964 (cfengine3-format-function-docstring): Don't call
965 `cfengine3-make-syntax-cache' explicitly.
966
71e6691e
MR
9672013-12-13 Martin Rudalics <rudalics@gmx.at>
968
969 Fix windmove-find-other-window broken after pixelwise resizing
970 (Bug#16017).
971 * windmove.el (windmove-other-window-loc): Revert change from
972 2013-12-04.
973 (windmove-find-other-window): Call window-in-direction.
974 * window.el (window-in-direction): New arguments SIGN, WRAP and
975 MINI to emulate original windmove-find-other-window behavior.
976
84c73ba0
DG
9772013-12-13 Dmitry Gutov <dgutov@yandex.ru>
978
979 * simple.el (blink-matching--overlay): New variable.
980 (blink-matching-open): Instead of moving point, highlight the
981 matching paren with an overlay
982 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
983
984 * faces.el (paren-showing-faces, show-paren-match)
985 (show-paren-mismatch): Move from paren.el.
986
b9e20952
LL
9872013-12-13 Leo Liu <sdl.web@gmail.com>
988
989 * indent.el (indent-region): Disable progress reporter in
990 minibuffer. (Bug#16108)
991
992 * bindings.el (visual-order-cursor-movement): Fix version.
993
ce030451
FEG
9942013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
995
996 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
997 Also match after beginning of line.
998 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 999 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1000
4a9c6865
JL
10012013-12-13 Juri Linkov <juri@jurta.org>
1002
1003 * simple.el <Keypad support>: Remove key bindings duplicated
1004 with bindings.el. (Bug#14397)
1005
2bc170c3
JL
10062013-12-13 Juri Linkov <juri@jurta.org>
1007
1008 * comint.el (comint-mode-map): Replace `delete-char' with
1009 `delete-forward-char'. (Bug#16109)
1010
bc9222c9
FEG
10112013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1012
aa2bddd7 1013 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1014 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1015
cb3a1380
SM
10162013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1019 (advice--make): Pay attention to `depth'.
1020 (advice--make-1): Don't autoload commands eagerly.
1021 * emacs-lisp/elp.el (elp-instrument-function):
1022 * emacs-lisp/trace.el (trace-function-internal):
1023 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1024
1025 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1026
01633a17
EZ
10272013-12-12 Eli Zaretskii <eliz@gnu.org>
1028
1029 * term/w32-win.el (w32-handle-dropped-file):
1030 * startup.el (normal-top-level):
1031 * net/browse-url.el (browse-url-file-url):
1032 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1033 decode file names using 'utf-8' rather than
1034 file-name-coding-system.
1035
09faee72
FEG
10362013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1037
1038 * progmodes/python.el (python-indent-context)
1039 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1040 behavior for comment blocks. (Bug#15916)
09faee72 1041
f4f84024 10422013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1043
cb3a1380
SM
1044 * progmodes/python.el (python-indent-calculate-indentation):
1045 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1046 operators when they are just string constituents. (Bug#15812)
1047
d5ccb7be
JL
10482013-12-12 Juri Linkov <juri@jurta.org>
1049
1050 * uniquify.el (uniquify-buffer-name-style): Change default to
1051 `post-forward-angle-brackets'.
1052
1053 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1054 `uniquify'. Change default to `post-forward-angle-brackets'.
1055
7b3f5679
GM
10562013-12-11 Glenn Morris <rgm@gnu.org>
1057
1058 * emacs-lisp/package.el (finder-list-matches):
1059 Autoload rather than falsely declaring.
1060
f4fe8fdd
TZ
10612013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1062
1063 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1064 (eww-mode-map): Use them.
1065
3c29190f
MR
10662013-12-11 Martin Rudalics <rudalics@gmx.at>
1067
1068 * window.el (display-buffer-in-side-window): Fix doc-string
1069 (Bug#16115).
1070
0cd616a2
JB
10712013-12-11 Juanma Barranquero <lekktu@gmail.com>
1072
1073 * vc/vc-git.el: Silence byte-compiler warnings.
1074 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1075 (log-edit-set-header): Declare.
1076
3ef8e0d1
EZ
10772013-12-11 Eli Zaretskii <eliz@gnu.org>
1078
1079 * Makefile.in (custom-deps, finder-data): Run output file names
1080 through unmsys--file-name. (Bug#16099)
1081
afdadaf7
SM
10822013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1083
7ae3ae39 1084 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1085 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1086
5b4f37ab
SM
1087 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1088 instead of deleting the selection "by hand" (bug#16098).
1089 Rely on insert-for-yank to yank rectangles.
1090 (cua-highlight-region-shift-only): Mark obsolete.
1091 (cua-mode): Don't enable/disable transient-mark-mode,
1092 shift-select-mode (cua-mode works both with and without them), and
1093 pc-selection-mode (obsolete).
1094 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1095 (cua--deactivate-rectangle): Deactivate it.
1096
4b72c12b
SM
1097 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1098 (delete-selection-helper): Make sure yank starts at the top of the
1099 deleted region.
1100 (minibuffer-keyboard-quit): Use region-active-p.
1101
e82af72d
SM
1102 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1103
afdadaf7
SM
1104 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1105 to `delete' (bug#16109).
1106
ed4bc201
RS
11072013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1108
1109 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1110 info manual and show keybindings and set `:group' keyword.
1111
bb8097b9
JL
11122013-12-11 Juri Linkov <juri@jurta.org>
1113
1114 * delsel.el (delete-active-region): Let-bind `this-command'
1115 to prevent `kill-region' from changing its original value.
1116 (delete-selection-helper): Handle `overwrite-mode' for the type
1117 `kill' exactly the same way as for the type `t'.
1118 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1119 Support more commands. (Bug#13312)
1120
c1916ff5
JL
11212013-12-11 Juri Linkov <juri@jurta.org>
1122
1123 * bindings.el: Map kp keys to non-kp keys systematically
1124 with basic modifiers control, meta and shift. (Bug#14397)
1125
7514d3f8 11262013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1127
1128 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1129 "Close browser" menu items. Fix wrong function of "List
1130 bookmarks".
1131
4cc51eaf
JL
11322013-12-11 Juri Linkov <juri@jurta.org>
1133
1134 * misearch.el (multi-isearch-buffers): Set the value of
1135 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1136 arg of isearch-forward to t.
1137 (multi-isearch-buffers-regexp): Set the value of
1138 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1139 arg of isearch-forward-regexp to t.
1140 (multi-isearch-files): Set the value of
1141 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1142 arg of isearch-forward to t.
1143 (multi-isearch-files-regexp): Set the value of
1144 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1145 arg of isearch-forward-regexp to t. (Bug#16035)
1146
1147 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1148 arg of isearch-forward to t.
1149 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1150 arg of isearch-forward-regexp to t.
1151 (dired-isearch-filter-filenames): Remove unnecessary check for
1152 `dired-isearch-filenames'.
1153
1154 * comint.el (comint-history-isearch-backward):
1155 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1156 (comint-history-isearch-backward-regexp):
1157 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1158
ceac12b7
EZ
11592013-12-10 Eli Zaretskii <eliz@gnu.org>
1160
1161 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1162 unmsys--file-name. (Bug#16099)
1163
5a565782
TZ
11642013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1165
cb3a1380
SM
1166 * emacs-lisp/package.el (package-keyword-button-action):
1167 Remove finder.el require dependency.
5a565782 1168
a81fc7ba
TZ
11692013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1170
1171 * emacs-lisp/package.el: Require finder.el.
1172 (describe-package-1): Add keyword buttons.
1173 (package-make-button): New convenience function.
1174 (package-keyword-button-action): Keyword button action using
e0eb0550 1175 `finder-list-matches'.
a81fc7ba 1176
6aaca951
EZ
11772013-12-09 Eli Zaretskii <eliz@gnu.org>
1178
1179 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1180 last commit.
1181
a1099a91
MA
11822013-12-09 Michael Albinus <michael.albinus@gmx.de>
1183
1184 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1185 symlinked files.
1186
8212d9c0
DG
11872013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1188
1189 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1190 after the end of a percent literal.
1191
8f48d131
CD
11922013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1193
cb3a1380
SM
1194 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1195 Handle caret-delimited strings (Bug#16079).
8f48d131 1196
ff8c9764
DG
11972013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1198
cb3a1380
SM
1199 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1200 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1201 `ruby-parse-partial' (Bug#16078).
1202
d64643b4
LL
12032013-12-09 Leo Liu <sdl.web@gmail.com>
1204
1205 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1206
47e59c66
DG
12072013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1208
1209 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1210 (js-switch-indent-offset): New option.
1211 (js--proper-indentation): Use it. And handle the case when
1212 "default" is actually a key in an object literal.
1213 (js--same-line): New function.
1214 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1215 (js--indent-in-array-comp, js--array-comp-indentation):
1216 New functions.
47e59c66
DG
1217 (js--proper-indentation): Use them, to handle array comprehension
1218 continuations.
1219
974ebc9c
LL
12202013-12-08 Leo Liu <sdl.web@gmail.com>
1221
1222 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1223 (flymake-make-overlay): Remove arg MOUSE-FACE.
1224 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1225
27262e39
SM
12262013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1227
1228 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1229 New function.
1230 (redisplay-highlight-region-function): Use it.
1231
1232 * emulation/cua-base.el (cua--explicit-region-start)
1233 (cua--last-region-shifted): Remove.
1234 (cua--deactivate): Use deactivate-mark.
1235 (cua--pre-command-handler-1): Don't handle shift-selection.
1236 (cua--post-command-handler-1): Don't change transient-mark-mode.
1237 (cua--select-keymaps): Use region-active-p rather than
1238 cua--explicit-region-start or cua--last-region-shifted.
1239 (cua-mode): Enable shift-select-mode.
1240
6407822c
LL
12412013-12-08 Leo Liu <sdl.web@gmail.com>
1242
27262e39
SM
1243 * progmodes/flymake.el (flymake-popup-current-error-menu):
1244 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1245 (flymake-posn-at-point-as-event, flymake-popup-menu)
1246 (flymake-make-emacs-menu): Remove. (Bug#16077)
1247
00a2b823
SM
12482013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1249
02033d49
SM
1250 * rect.el (rectangle-mark-mode): Activate mark even if
1251 transient-mark-mode is off (bug#16066).
1252 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1253 is > mark and at bolp.
1254
6f8dfccf
SM
1255 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1256 (region-extract-function): Use it.
1257 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1258 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1259 Delete functions.
1260 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1261 kill-ring-save, kill-region, delete-char, delete-forward-char.
1262 Ignore self-insert-iso.
1263
1264 * emulation/cua-gmrk.el (cua--init-global-mark):
1265 Ignore `self-insert-iso'.
1266
1267 * emulation/cua-base.el (cua--prefix-copy-handler)
1268 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1269 checking cua--rectangle.
1270 (cua-delete-region): Use region-extract-function.
1271 (cua-replace-region): Delete function.
1272 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1273 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1274 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1275 (cua--init-keymaps): Don't remap delete-selection commands.
1276 (cua-mode): Use delete-selection-mode instead of rolling our own
1277 (bug#16085).
1278
1279 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1280 Obey region-extract-function.
1281
00a2b823
SM
1282 Make registers and delete-selection-mode work on rectangles.
1283 * register.el (describe-register-1): Don't modify the register's value.
1284 (copy-to-register): Obey region-extract-function.
1285 * delsel.el (delete-active-region): Obey region-extract-function.
1286
a92fa5f1
LL
12872013-12-08 Leo Liu <sdl.web@gmail.com>
1288
1289 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1290 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1291 (flymake-compilation-prevents-syntax-check)
1292 (flymake-start-syntax-check-on-newline)
1293 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1294 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1295 (flymake-xml-program, flymake-master-file-dirs)
1296 (flymake-master-file-count-limit)
1297 (flymake-allowed-file-name-masks): Relocate.
1298 (flymake-makehash, flymake-float-time)
1299 (flymake-replace-regexp-in-string, flymake-split-string)
1300 (flymake-get-temp-dir): Remove.
1301 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1302 (flymake-current-row, flymake-selected-frame)
1303 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1304 related functions. (Bug#16077)
1305
73c8ceea
BB
13062013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1307
1308 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1309
faec28d9
TH
13102013-12-07 Tassilo Horn <tsdh@gnu.org>
1311
1312 * help-fns.el (describe-function-1): Use new advice-* functions
1313 rather than old ad-* functions. Fix function type description and
1314 source links for advised functions and subrs.
1315
e330b646
LMI
13162013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1317
00a2b823 1318 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1319
4803595d
MA
13202013-12-06 Michael Albinus <michael.albinus@gmx.de>
1321
1322 * progmodes/compile.el (compilation-start):
1323 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1324
1325 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1326 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1327
fa834a93
DG
13282013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1329
00a2b823
SM
1330 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1331 Touch up the last change.
fa834a93 1332
b2856a6f
LL
13332013-12-06 Leo Liu <sdl.web@gmail.com>
1334
1335 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1336 (inferior-octave-startup): Always use "octave> " for prompt.
1337 (octave-goto-function-definition)
1338 (octave-sync-function-file-names)
1339 (octave-find-definition-default-filename): Remove redundant backquotes.
1340
af67e79a
DG
13412013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1342
1343 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1344 syntax for `?'.
1345 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1346 where appropriate already.
1347 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1348 end of method names (Bug#15874).
1349
bf093209
JL
13502013-12-06 Juri Linkov <juri@jurta.org>
1351
1352 * isearch.el (isearch--saved-overriding-local-map):
1353 New internal variable.
1354 (isearch-mode): Set it to the initial value of
1355 `overriding-terminal-local-map'.
1356 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1357 with `isearch--saved-overriding-local-map'. (Bug#16035)
1358
16588fad
DG
13592013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1360
00a2b823
SM
1361 * progmodes/octave.el (inferior-octave-completion-table):
1362 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1363 (Bug#11906). Update all references.
1364
1365 * minibuffer.el (completion-table-with-cache): New function.
1366
bf4906d7
CD
13672013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1368
1369 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1370
ff69c18f
TZ
13712013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1372
1373 * net/eww.el (eww-current-source): New variable to store page
1374 source.
1375 (eww-display-html, eww-mode, eww-save-history)
1376 (eww-restore-history): Use it.
1377 (eww-view-source): New command to view page source.
1378 Opportunistically uses `html-mode' to highlight the buffer.
1379 (eww-mode-map): Install it.
1380
b85eff45
MA
13812013-12-05 Michael Albinus <michael.albinus@gmx.de>
1382
1383 * net/dbus.el (dbus-unregister-service)
1384 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1385 Fix docstring.
1386 (dbus-unregister-service): Skip :serial entries in
1387 `dbus-registered-objects-table'.
1388 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1389
39eb0899
TZ
13902013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1391
1392 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1393 around keywords with extra `split-string' argument.
1394
456760a5
MR
13952013-12-04 Martin Rudalics <rudalics@gmx.at>
1396
1397 * windmove.el (windmove-other-window-loc): Handle navigation
1398 between windows (excluding the minibuffer window - Bug#16017).
1399
81961e4c
MA
14002013-12-04 Michael Albinus <michael.albinus@gmx.de>
1401
1402 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1403 in D-Bus type syntax.
1404 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1405 preserve unibyte strings. (Bug#16048)
1406
8497f938
SM
14072013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1410 Call force-mode-line-update is the proper buffer (bug#16042).
1411
dda61916
DG
14122013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1413
1414 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1415 `log-edit-remember-comment', make argument optional. Adjust all
1416 callers.
1417 (log-edit-mode): Add `log-edit-remember-comment' to
1418 `kill-buffer-hook' locally.
1419 (log-edit-kill-buffer): Don't remember comment explicitly since
1420 the buffer is killed anyway.
1421
c085e5b9
JL
14222013-12-04 Juri Linkov <juri@jurta.org>
1423
1424 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1425 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1426
e0eb0550 14272013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1428
1429 * notifications.el (notifications-close-notification): Call the
81961e4c 1430 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1431
39fa32d6
KY
14322013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1433
1434 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1435
9139632a
JL
14362013-12-03 Juri Linkov <juri@jurta.org>
1437
1438 * progmodes/compile.el (compilation-start): Rename window alist
1439 entry `no-display-ok' to `allow-no-window'.
1440
1441 * simple.el (shell-command): Add window alist entry
1442 `allow-no-window' to `display-buffer'.
1443 (async-shell-command): Doc fix.
1444
1445 * window.el (display-buffer-no-window): New action function.
1446 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1447
0f457a37
DG
14482013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1449
1450 * vc/log-edit.el (log-edit-set-header): Extract from
1451 `log-edit-toggle-header'.
1452 (log-edit-extract-headers): Separate the summary, when extracted
1453 from header, from the rest of the message with an empty line.
1454
1455 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1456 line, if present, to the Summary header.
1457
0962f376
SM
14582013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1459
1460 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1461 in current-buffer (bug#16029).
1462
f345395c
HE
14632013-12-02 Helmut Eller <eller.helmut@gmail.com>
1464
1465 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1466 (debugger-mode-map): Bind it.
1467 (debugger--backtrace-base): New function.
1468 (debugger-eval-expression): Use it.
1469 (debugger-frame-number): Skip local vars when present.
1470 (debugger--locals-visible-p, debugger--insert-locals)
1471 (debugger--show-locals, debugger--hide-locals): New functions.
1472
a8a15d9d
MA
14732013-12-02 Michael Albinus <michael.albinus@gmx.de>
1474
1475 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1476 "LC_ALL".
1477 (tramp-get-remote-locale): New defun.
1478 (tramp-open-connection-setup-interactive-shell): Use it.
1479
0518b057
LL
14802013-12-02 Leo Liu <sdl.web@gmail.com>
1481
1482 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1483
1484 * progmodes/sh-script.el (sh-shell-process):
1485 * progmodes/octave.el (inferior-octave-process-live-p):
1486 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1487 (gdb-inferior-io-sentinel):
1488 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1489
3adc9c6d
DG
14902013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1491
1492 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1493 `save-selected-window' to `log-edit-hide-buf'. This makes
1494 `log-edit-show-files' idempotent.
1495 (log-edit-show-files): Mark the new window as dedicated.
1496
47e8b74e
DG
14972013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1498
1499 * vc/log-edit.el (log-edit-mode-map): Add binding for
1500 `log-edit-kill-biffer'.
1501 (log-edit-hide-buf): Add a FIXME comment.
1502 (log-edit-add-new-comment): New function, extracted from
1503 `log-edit-done'.
1504 (log-edit-done, log-edit-add-to-changelog): Use it.
1505 (log-edit-kill-buffer): New command.
1506
1f6e1bb0
LMI
15072013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1508
1509 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1510 instead of killing the buffer.
1511
fb651d15
SM
15122013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1513
1514 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1515
8feacce0
RS
15162013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1517
fb651d15 1518 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1519 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1520 (eww-form-checkbox, eww-toggle-checkbox):
1521 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1522
e0eb0550 1523 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1524 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1525 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1526 no :src tag was specified.
1527
fb651d15 1528 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1529 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1530 Use \\` to match beginning of string instead of ^.
1531 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1532 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1533
177948a5
RS
1534 * net/shr.el (shr-tag-video): Display content for video if no
1535 poster is available.
eb2dd24d 1536 (shr-tag-audio): Add support for <audio> tag.
177948a5 1537
e0eb0550 1538 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1539 (eww-process-text-input): Treat input types in
1540 `eww-text-input-types' as text.
1541
8feacce0
RS
1542 * net/shr.el (shr-tag-table): Fix comment typo.
1543
513562a1
LMI
15442013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1545
1546 * net/eww.el (eww-follow-link): New command to avoid reloading
1547 pages when we follow #target links (bug#15243).
de8a5633 1548 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1549
9dd99753
KN
15502013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1551
1552 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1553 forms.
1554
3e9876de
LMI
15552013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1556
1557 * net/eww.el (eww-restore-history): Update the window title after
1558 moving in the history.
ab6dea82 1559 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1560
52789f7f
DG
15612013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1562
1563 * vc/log-edit.el (log-edit-mode-map): Add binding for
1564 `log-edit-beginning-of-line'.
1565 (log-edit-setup-add-author): New user option.
1566 (log-edit-beginning-of-line): New command.
1567 (log-edit): Move major mode call above the contents setup so that
1568 the local variable values are already applied.
1569 (log-edit): Only insert "Author: " when
1570 `log-edit-setup-add-author' is non-nil.
1571 (log-edit): When SETUP is non-nil, position point after ": "
1572 instead of point-min.
1573
2e6710c3
GM
15742013-12-01 Glenn Morris <rgm@gnu.org>
1575
1576 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1577
fadec31f
EZ
15782013-11-30 Eli Zaretskii <eliz@gnu.org>
1579
1580 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1581 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1582 visible. (Bug#16014)
1583
10634b40 15842013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1585
1586 Support resizing frames and windows pixelwise.
1587 * cus-start.el (frame-resize-pixelwise)
1588 (window-resize-pixelwise): New entries.
1589 * emacs-lisp/debug.el (debug): Use window-total-height instead
1590 of window-total-size.
1591 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1592 * help.el (describe-bindings-internal): Call help-buffer
1593 (temp-buffer-max-width): New option.
1594 (resize-temp-buffer-window, help-window-setup)
1595 (with-help-window): Rewrite.
1596 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1597 dragging dividers.
1598 * window.el (frame-char-size, window-min-pixel-height)
1599 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1600 (window-min-pixel-width, window-safe-min-pixel-size)
1601 (window-combination-p, window-safe-min-size)
1602 (window-resizable-p, window--size-to-pixel)
1603 (window--pixel-to-size, window--resize-apply-p): New functions.
1604 (window-safe-min-height): Fix doc-string.
1605 (window-size, window-min-size, window--min-size-1)
1606 (window-sizable, window-sizable-p, window--min-delta-1)
1607 (window-min-delta, window--max-delta-1, window-max-delta)
1608 (window--resizable, window--resizable-p, window-resizable)
1609 (window-full-height-p, window-full-width-p, window-at-side-p)
1610 (window--in-direction-2, window-in-direction)
1611 (window--resize-reset-1, window--resize-mini-window)
1612 (window-resize, window-resize-no-error)
1613 (window--resize-child-windows-normal)
1614 (window--resize-child-windows, window--resize-siblings)
1615 (window--resize-this-window, window--resize-root-window)
1616 (window--resize-root-window-vertically)
1617 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1618 (maximize-window, minimize-window, delete-window)
1619 (quit-restore-window, window-split-min-size, split-window)
1620 (balance-windows-2, balance-windows)
1621 (balance-windows-area-adjust, balance-windows-area)
1622 (window--state-get-1, window-state-get, window--state-put-1)
1623 (window--state-put-2, window-state-put)
fb651d15
SM
1624 (display-buffer-record-window, window--display-buffer):
1625 Make functions handle pixelwise sizing of windows.
880e6158 1626 (display-buffer--action-function-custom-type)
fb651d15
SM
1627 (display-buffer-fallback-action):
1628 Add display-buffer-in-previous-window.
880e6158
MR
1629 (display-buffer-use-some-window): Resize window to height it had
1630 before.
1631 (fit-window-to-buffer-horizontally): New option.
1632 (fit-frame-to-buffer): Describe new values.
1633 (fit-frame-to-buffer-bottom-margin): Replace with
1634 fit-frame-to-buffer-margins.
1635 (window--sanitize-margin): New function.
1636 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1637 using window-text-pixel-size.
1638
f9b697dd
GM
16392013-11-30 Glenn Morris <rgm@gnu.org>
1640
3e2fb4db
GM
1641 * emacs-lisp/bytecomp.el (byte-compile-form):
1642 Make the `interactive-only' warning like the `obsolete' one.
1643 * comint.el (comint-run):
1644 * files.el (insert-file-literally, insert-file):
1645 * replace.el (replace-string, replace-regexp):
1646 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1647 (goto-line, insert-buffer, next-line, previous-line):
1648 Tweak `interactive-only' spec.
1649
f9b697dd
GM
1650 Stop keeping (most) generated cedet grammar files in the repository.
1651 * Makefile.in (semantic): New.
1652 (compile-main): Depend on semantic.
1653
da048127
SM
16542013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1655
7784b779
SM
1656 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1657 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1658
4e36a6a6
SM
1659 * uniquify.el (uniquify-buffer-name-style): Change default.
1660
1661 * loadup.el: Preload "uniquify".
1662
e0ba1308
SM
1663 * time.el (display-time-update): Update all mode lines (bug#15999).
1664
da048127
SM
1665 * electric.el (electric-indent-mode): Enable by default.
1666 * loadup.el: Preload "electric".
1667
015b3b3e
BB
16682013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1669
1670 * emacs-lisp/helpers.el (string-empty-p): New function.
1671 (string-blank-p): New function.
1672
7efb806d
AP
16732013-11-29 Andreas Politz <politza@hochschule-trier.de>
1674
1675 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1676 (Bug#14029).
1677
c8f0efc2
AP
16782013-11-29 Andreas Politz <politza@fh-trier.de>
1679 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1680 allow non-lambda lists as functions.
1681 (imenu--in-alist): Don't recurse into non-subalists.
1682 (imenu): Don't pass function itself as an argument (Bug#14029).
1683
bd15d9d1
SM
16842013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1685
1686 * progmodes/python.el (python-mode-map): Remove binding for ":".
1687 (python-indent-electric-colon): Remove command.
1688 (python-indent-post-self-insert-function): Integrate the previous code
1689 of python-indent-electric-colon. Make it conditional on
1690 electric-indent-mode.
1691 (python-mode): Add ?: to electric-indent-chars.
1692 Move python-indent-post-self-insert-function to the end of
1693 post-self-insert-hook.
1694
1b10adb6
SM
16952013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1696
655ab9a3
SM
1697 * doc-view.el (doc-view-goto-page): Update mode-line.
1698
1b10adb6
SM
1699 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1700
7e3bf78c
GM
17012013-11-27 Glenn Morris <rgm@gnu.org>
1702
1703 * international/charprop.el, international/uni-bidi.el:
1704 * international/uni-category.el, international/uni-combining.el:
1705 * international/uni-comment.el, international/uni-decimal.el:
1706 * international/uni-decomposition.el, international/uni-digit.el:
1707 * international/uni-lowercase.el, international/uni-mirrored.el:
1708 * international/uni-name.el, international/uni-numeric.el:
1709 * international/uni-old-name.el, international/uni-titlecase.el:
1710 * international/uni-uppercase.el:
1711 Remove generated files from VCS repository.
1712
fb6a5d68
EZ
17132013-11-27 Eli Zaretskii <eliz@gnu.org>
1714
1715 * filenotify.el (file-notify-add-watch): Don't special-case
1716 w32notify when computing the directory to watch.
1717
cb6c95a3
GM
17182013-11-27 Glenn Morris <rgm@gnu.org>
1719
20372d0c
GM
1720 Make bootstrap without generated uni-*.el files possible again.
1721 * loadup.el: Update command-line-args checking for unidata-gen.
1722 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1723 * composite.el, international/characters.el:
1724 Handle unicode tables being undefined.
1725
52d6635f 1726 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1727 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1728 (compile-main): Depend on leim rule.
1729 (leim): New rule.
1730 * loadup.el: Move leim-list.el to leim/ subdirectory.
1731 * startup.el (normal-top-level): No more leim directory.
1732 * international/ja-dic-cnv.el (skkdic-convert):
1733 Disable version-control and autoloads in output files.
1734 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1735 Disable version-control and autoloads in output files.
1736 * leim/quail: Move here from ../leim.
1737 * leim/quail/hangul.el (hangul-input-method-activate):
1738 Add autoload cookie.
1739 (generated-autoload-load-name): Set file-local value.
1740 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1741 (generated-autoload-load-name): Set file-local value.
1742
7514d3f8 17432013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 1744
e0eb0550 1745 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 1746 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 1747 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1748
0e2c793f
EZ
17492013-11-26 Eli Zaretskii <eliz@gnu.org>
1750
1751 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1752 reading output from Diff on MS-Windows and MS-DOS.
1753
447bdcb8
BB
17542013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1755
1756 * emacs-lisp/helpers.el (string-reverse): New function.
1757
5fbf6856
MA
17582013-11-26 Michael Albinus <michael.albinus@gmx.de>
1759
1760 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1761 names on MS Windows, like "/[::1]:".
1762
1763 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1764 SWITCHES.
1765
624780f0
GM
17662013-11-26 Glenn Morris <rgm@gnu.org>
1767
0bf3f0fa
GM
1768 * progmodes/python.el (python-indent-guess-indent-offset):
1769 Avoid corner-case error. (Bug#15975)
1770
624780f0
GM
1771 Preload leim-list.el. (Bug#4789)
1772 * loadup.el: Load leim-list.el when found.
1773 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1774
4301875e 17752013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1776
1777 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1778
4301875e
BB
1779 * emacs-lisp/helpers.el (string-join): New function.
1780
1633a815 17812013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1782
1783 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1784 Mark as obsolete and replace it with a symbol property.
1785 (byte-compile-form): Use new 'interactive-only property.
1786 * comint.el, files.el, replace.el, simple.el:
1787 Apply new 'interactive-only properly.
1788
00139435
MR
17892013-11-25 Martin Rudalics <rudalics@gmx.at>
1790
1791 * window.el (display-buffer-at-bottom): Make sure that
1792 split-window-sensibly creates the new window on bottom
1793 (Bug#15961).
1794
5f5b128d
DK
17952013-11-23 David Kastrup <dak@gnu.org>
1796
1797 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1798 on the conflict markers when available.
1799 (smerge--get-marker): New function.
1800 (smerge-end-re, smerge-base-re): Add subgroup.
1801
623891e5
SM
18022013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1803
1804 * frame.el (handle-focus-in, handle-focus-out): Add missing
1805 interactive spec.
1806
05ca27d8
MA
18072013-11-25 Michael Albinus <michael.albinus@gmx.de>
1808
1809 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1810 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1811
511fa0d3
SM
18122013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1813
e82ad66c
SM
1814 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1815 (gomoku--last-pos): New var.
1816 (gomoku--intangible-chars): New const.
1817 (gomoku--intangible): New function.
1818 (gomoku-mode): Use it. Derive from special-mode.
1819 (gomoku-move-up): Adjust line count.
1820 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1821 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1822 Simplify accordingly.
1823
511fa0d3
SM
1824 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1825 Remove blink-cursor code.
1826 (blink-cursor-timer-function, blink-cursor-suspend):
1827 Don't special-case GUIs.
1828 (blink-cursor-mode): Use focus-in/out-hook.
1829
6f20dd03
DG
18302013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1831
1832 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1833 work when annotation is invisible (Bug#13886).
1834
431dec31 18352013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1836
1837 * json.el (json-alist-p): Only return non-nil if the alist has
1838 simple keys (Bug#13518).
1839
431dec31 18402013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1841
1842 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1843 when control-statement is the first statement in a buffer (Bug#15956).
1844
ee4f0261
DG
18452013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1846
1847 * imenu.el (imenu-generic-skip-comments-and-strings):
1848 New option (Bug#15560).
1849 (imenu--generic-function): Use it.
1850
c484f866
JS
18512013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1852
e9dc713d
JB
1853 * minibuffer.el (completion--in-region-1): Scroll the correct window.
1854 (Bug#13898)
c484f866 1855
41ce6f70
BB
18562013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1857
b55aea38
BB
1858 * emacs-lisp/helpers.el: Add some string helpers.
1859 (string-trim-left): Removes leading whitespace.
1860 (string-trim-right): Removes trailing whitespace.
1861 (string-trim): Removes leading and trailing whitespace.
1862
41ce6f70
BB
1863 * subr.el (string-suffix-p): New function.
1864
3cfb6af3
GM
18652013-11-23 Glenn Morris <rgm@gnu.org>
1866
1867 * progmodes/python.el (python-shell-send-file):
1868 Add option to delete file when done. (Bug#15647)
1869 (python-shell-send-string, python-shell-send-region): Use it.
1870
c27924b7
IS
18712013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1872
e1b01c7f
IS
1873 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1874 to set buffer-read-only to t, never to nil. (Bug#15938)
1875
c27924b7
IS
1876 * textmodes/tex-mode.el (latex-noindent-environments):
1877 Add safe-local-variable property. (Bug#15936)
1878
17e0445b
GM
18792013-11-23 Glenn Morris <rgm@gnu.org>
1880
92f78ea3
GM
1881 * textmodes/enriched.el (enriched-mode): Doc fix.
1882 * emacs-lisp/authors.el (authors-renamed-files-alist):
1883 Add enriched.doc -> enriched.txt.
1884
17e0445b
GM
1885 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1886
965bb23a
LL
18872013-11-22 Leo Liu <sdl.web@gmail.com>
1888
1889 * progmodes/octave.el (inferior-octave-startup): Spit out error
1890 message.
1891
d19ffd64
BB
18922013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1893
1894 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1895 Improve docstring.
15ba2182
BB
1896 Add :version.
1897 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1898
7a7567d2
LL
18992013-11-22 Leo Liu <sdl.web@gmail.com>
1900
1901 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1902 (Bug#15076)
8c09f64b
LL
1903 (octave-help-mode): Adapt to change to help-mode-finish to use
1904 derived-mode-p on 2013-09-17.
1905 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1906 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1907
724bc265
LL
19082013-11-22 Leo Liu <sdl.web@gmail.com>
1909
1910 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1911 (inferior-octave-startup, inferior-octave-check-process)
1912 (inferior-octave-track-window-width-change)
1913 (octave-completion-at-point, octave-eldoc-function): Use it.
1914 (octave-kill-process): Provide confirmation. (Bug#10564)
1915
38637cca
LL
19162013-11-21 Leo Liu <sdl.web@gmail.com>
1917
511fa0d3
SM
1918 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1919 Fix obsolete variable comment-use-global-state.
38637cca 1920
06e752b4
RS
19212013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1922
511fa0d3
SM
1923 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1924 Add `octave-source-file'.
06e752b4
RS
1925 (octave-source-file): New function. (Bug#15935)
1926
7514d3f8 19272013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
1928
1929 * net/eww.el (eww-local-regex): New variable.
1930 (eww): Use it to detect localhost and similar.
1931
b6ffa04a
LL
19322013-11-21 Leo Liu <sdl.web@gmail.com>
1933
1934 Add completion for command `ag'.
2021a200
LL
1935 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1936 (pcomplete/ag): New function.
e9dc713d 1937 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1938
d1a6bccc
SM
19392013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1942 (bug#14646).
1943 (make-obsolete): Remove interactive spec.
1944
2df10228
GM
19452013-11-21 Glenn Morris <rgm@gnu.org>
1946
1947 * startup.el (command-line-1): Use path-separator with -L.
1948
86fd16b6
TZ
19492013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1950
1951 * emacs-lisp/package.el (describe-package-1): Add package archive
1952 to shown fields.
1953
0449d6cd 19542013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1955
1956 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1957 Change default to "# encoding: %s" to differentiate it from the
1958 default Ruby encoding comment template.
1959
dc7e8c17 19602013-11-20 era eriksson <era+emacsbugs@iki.fi>
1961
1962 * ses.el (ses-mode): Doc fix. (Bug#14748)
1963
f0cfa5fe
LL
19642013-11-20 Leo Liu <sdl.web@gmail.com>
1965
1966 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1967
826dc7b6
DN
19682013-11-19 Dan Nicolaescu <dann@gnu.org>
1969
1970 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1971 when rebase or bisect are in progress.
1972
a6e3a5d5
XF
19732013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1974
1975 * filenotify.el (file-notify-add-watch): Doc fix.
1976
f130cb76
LL
19772013-11-19 Leo Liu <sdl.web@gmail.com>
1978
e0855d7d
LL
1979 * obsolete/rcompile.el: Mark obsolete.
1980
f130cb76 1981 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1982 (compilation-goto-locus, compilation-find-file):
1983 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1984 (Bug#13594)
1985
1986 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1987 new parameter no-display-ok. Return either a window or nil
1988 but never a non-window value.
f130cb76 1989
1f35d401
SM
19902013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1991
25158c76
SM
1992 * electric.el (electric-indent-mode-map): Remove.
1993 (electric-indent-mode): Change the global-map instead (bug#15915).
1994
1995 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1996 Use add-function.
1f35d401 1997
9bc67baa
SM
19982013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1999
986545b5
SM
2000 * emacs-lisp/nadvice.el (remove-function): Align with
2001 add-function's behavior.
2002
9bc67baa
SM
2003 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2004 (gdb--string-regexp): New constant.
2005 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2006 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2007 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2008 submatch 1.
2009 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2010 Adjust use accordingly.
2011 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2012
56cd894e
AS
20132013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2014
2015 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2016 interpolation curlies (Bug#15914).
2017
014690de
JB
20182013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2019
2020 * calc/calc.el (calc-context-sensitive-enter): New variable.
2021 (calc-enter): Use `calc-context-sensitive-enter'.
2022
7e26a6c3
TZ
20232013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2024
2025 * progmodes/cfengine.el: Version bump.
2026 (cfengine-cf-promises): New defcustom to locate cf-promises.
2027 (cfengine3-vartypes): Add new "data" type.
2028 (cfengine3--current-word): New function to get current name-like
2029 word or its bounds.
2030 (cfengine3--current-function): New function to look up a CFEngine
2031 function's definition.
2032 (cfengine3-format-function-docstring): New function.
2033 (cfengine3-make-syntax-cache): New function.
2034 (cfengine3-documentation-function): New function: ElDoc glue.
2035 (cfengine3-completion-function): New function: completion glue.
2036 (cfengine3-mode): Set `compile-command',
2037 `eldoc-documentation-function', and add to
2038 `completion-at-point-functions'.
2039
355204dd
MA
20402013-11-16 Michael Albinus <michael.albinus@gmx.de>
2041
2042 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2043 `tramp-current-connection'.
2044
43cebc23
DG
20452013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2046
2047 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2048 nil/self/true/false with "end of symbol".
2049
a3fed6ff
BB
20502013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2051
2052 * subr.el (version-regexp-alist): Fix a typo.
2053
e675b3e4
MA
20542013-11-15 Michael Albinus <michael.albinus@gmx.de>
2055
2056 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2057 "en_US.utf8" and "LC_CTYPE" to "".
2058 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2059 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2060
a1f03e89
LL
20612013-11-15 Leo Liu <sdl.web@gmail.com>
2062
2063 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2064
5d9d9451
SM
20652013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2066
58362662
CS
2067 * progmodes/gud.el (ctl-x-map):
2068 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2069 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2070
6c1bf086
BB
20712013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2072
0d5363c4
BB
2073 * subr.el (version-regexp-alist):
2074 Recognize hg, svn and darcs versions as snapshot versions.
2075
4e9fc48c
BB
2076 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2077 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2078 (ruby--encoding-comment-required-p): Extract from
2079 `ruby-mode-set-encoding'.
2080 (ruby-mode-set-encoding): Add the ability to always insert an
2081 utf-8 encoding comment. Fix and simplify coding comment update
2082 logic.
6c1bf086 2083
2f7e72f8
MA
20842013-11-14 Michael Albinus <michael.albinus@gmx.de>
2085
2086 * net/tramp-gvfs.el (top): Run init code only when
2087 `tramp-gvfs-enabled' is not nil.
2088 (tramp-gvfs-enabled): Check also :system bus.
2089
0f137a73
SM
20902013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 Sync with upstream verilog-mode revision 78e66ba.
2093 * progmodes/verilog-mode.el (verilog-end-of-defun)
2094 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2095 (verilog-get-end-of-defun): Remove unused argument.
2096 (verilog-comment-depth): Remove unused local `e'.
2097 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2098 Don't pass arg to verilog-get-end-of-defun.
2099
1c276bdd
GM
21002013-11-14 Glenn Morris <rgm@gnu.org>
2101
2102 * obsolete/assoc.el (aget): Prefix dynamic variable.
2103
2104 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2105
ff6ec81d
SM
21062013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2107
2108 * widget.el, hfy-cmap.el: Remove bogus package version number.
2109
75f777b6
GM
21102013-11-13 Glenn Morris <rgm@gnu.org>
2111
1d43dba1
GM
2112 * replace.el (replace-eval-replacement):
2113 Try to give more helpful error message. (Bug#15836)
2114
ff4b7bd5
GM
2115 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2116 (archive-7z-update): Avoid custom type mismatches.
2117
75f777b6
GM
2118 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2119
11151a06
MA
21202013-11-13 Michael Albinus <michael.albinus@gmx.de>
2121
e675b3e4 2122 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2123 address can be empty.
2124
2125 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2126 Accept nil SWITCHES.
2127 (tramp-gvfs-handle-write-region): Implement APPEND.
2128
7b08f97e
DG
21292013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2130
2131 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2132 binary "|" operator and closing block args delimiter.
2133 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2134 (ruby-smie--implicit-semi-p): Not after "|" operator.
2135 (ruby-smie--closing-pipe-p): New function.
2136 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2137 (ruby-smie-rules): Indent after "|".
2138
f201cf3a
GM
21392013-11-12 Glenn Morris <rgm@gnu.org>
2140
2141 * ps-print.el (ps-face-attribute-list):
2142 Handle anonymous faces. (Bug#15827)
2143
e6f759f9
MR
21442013-11-12 Martin Rudalics <rudalics@gmx.at>
2145
2146 * window.el (display-buffer-other-frame): Fix doc-string.
2147 (Bug#15868)
2148
ecda65d4
SM
21492013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2152
7ce8fcc3
MA
21532013-11-11 Michael Albinus <michael.albinus@gmx.de>
2154
2155 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2156 (tramp-sh-handle-file-local-copy): Don't write a message when
2157 saving temporary files.
2158
2159 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2160 both directories are remote.
2161 (tramp-smb-handle-directory-files): Do not return double entries.
2162 Do not expand full file names.
2163 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2164 (tramp-smb-handle-write-region): Implement APPEND.
2165 (tramp-smb-get-stat-capability): Fix a stupid bug.
2166
7818df11
SM
21672013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2168
2169 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2170
608c2085
NT
21712013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2172
2173 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2174 throwing error over malformed let/let* (bug#15814).
2175
122a7e46
SM
21762013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2177
2178 * iswitchb.el (iswitchb-mode): Mark obsolete.
2179
766284d9
GM
21802013-11-11 Glenn Morris <rgm@gnu.org>
2181
2182 * international/uni-bidi.el, international/uni-category.el:
2183 * international/uni-name.el, international/uni-numeric.el:
2184 Regenerate for Unicode 6.3.0.
2185
7072a4e9
MA
21862013-11-10 Michael Albinus <michael.albinus@gmx.de>
2187
2188 * net/tramp.el (tramp-methods):
2189 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2190 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2191
c9df215b
AS
21922013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2193
608c2085
NT
2194 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2195 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2196
fa47d796
DG
21972013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2198
2199 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2200 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2201 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2202 (ispell-complete-word): Call `ispell-lookup-words' with the value
2203 independent of `ispell-look-p'.
2204
1629a329
DG
22052013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2206
2207 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2208 Not after "||".
2209 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2210 their parent.
2211
ad16897c
SM
22122013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2213
2214 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2215 (ruby-font-lock-keywords): Use backquote.
2216
ffa2df72
DG
22172013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2218
2219 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2220 (ruby-smie--backward-token): Only consider full-string matches.
2221
5b97b4c0
JD
22222013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2223
2224 * faces.el (describe-face): Add distant-foreground.
2225
71731c03
BB
22262013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2227
4e9fc48c
BB
2228 * progmodes/ruby-mode.el: Improve encoding comment handling.
2229 (ruby-encoding-magic-comment-style): New option.
2230 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2231 (ruby--insert-coding-comment, ruby--detect-encoding):
2232 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2233 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2234 to control the style of the auto-inserted encoding comment.
71731c03 2235
da3b328d
DG
22362013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2237
ad16897c
SM
2238 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2239 Use `smie-backward-sexp' with token argument.
da3b328d 2240
1606c2d3
MA
22412013-11-08 Michael Albinus <michael.albinus@gmx.de>
2242
2243 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2244 Remove instrumentation code.
2245
b0f4c320
GM
22462013-11-08 Glenn Morris <rgm@gnu.org>
2247
2248 * progmodes/autoconf.el (autoconf-mode):
2249 Tweak comment-start-skip. (Bug#15822)
2250
43668fb1
SM
22512013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2252
2253 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2254 at bobp (bug#15826).
2255 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2256
daddb3fd
DH
22572013-11-08 Darren Hoo <darren.hoo@gmail.com>
2258
2259 * man.el (Man-start-calling): New macro, extracted from
2260 Man-getpage-in-background.
2261 (Man-getpage-in-background): Use it.
2262 (Man-update-manpage): New command.
2263 (Man-mode-map): Bind it.
2264
1f923923
DG
22652013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2266
2267 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2268 of "and", "or", "&&" and "||".
2269 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2270 argument. Prohibit opening curly brace because it could only be a
2271 block opener in that position.
daddb3fd
DH
2272 (ruby-smie--forward-token, ruby-smie--backward-token):
2273 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2274 arguments.
2275 (ruby-smie--indent-to-stmt): New function, seeks the end of
2276 previous statement or beginning of buffer.
2277 (ruby-smie-rules): Use it.
2278 (ruby-smie-rules): Check if there's a ":" before a curly block
2279 opener candidate; if there is, it's a hash.
2280
3220d527
SM
22812013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2282
2283 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2284 (cl--block-wrapper): Fix last accidental change.
2285
1eb1f9e0
MA
22862013-11-07 Michael Albinus <michael.albinus@gmx.de>
2287
2288 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2289 Instrument, in order to hunt failure on hydra.
2290
e6e4db3c
NT
22912013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2292
2293 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2294 malformed bindings form (bug#15814).
2295
b420ccfc
DG
22962013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2297
2298 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2299 "." compared to " @ ". This incidentally fixes some indentation
2300 examples with "do".
e6e4db3c 2301 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2302 (ruby-smie-grammar): New tokens: "and" and "or".
2303 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2304 Exclude "and" and "or". Remove "do" in order to work around token
2305 priorities.
2306 (ruby-smie-rules): Add all infix tokens. Handle the case of
2307 beginning-of-buffer.
b420ccfc 2308
6b4ac03e
GM
23092013-11-06 Glenn Morris <rgm@gnu.org>
2310
2311 * Makefile.in (setwins_almost, setwins_for_subdirs):
2312 Avoid accidental matches.
2313
5ca114d1
SM
23142013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2315
2316 * menu-bar.el (popup-menu): Use key-binding.
2317
f72552bd
EZ
23182013-11-06 Eli Zaretskii <eliz@gnu.org>
2319
2320 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2321 menus, support also the menus produced by minor modes.
2322 (Bug#15817)
2323
5d5c701e
LL
23242013-11-06 Leo Liu <sdl.web@gmail.com>
2325
2326 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2327 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2328
0a8b75e2
GM
23292013-11-06 Glenn Morris <rgm@gnu.org>
2330
2331 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2332 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2333 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2334
a35287ea
SM
23352013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2336
feca4e2d
SM
2337 * electric.el (electric-indent-just-newline): New command.
2338 (electric-indent-mode-map): New keymap.
2339 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2340 Re-add :group which weren't redundant.
2341
a35287ea
SM
2342 * electric.el (electric-indent-local-mode): New minor mode.
2343 (electric-indent-functions-without-reindent): New var.
2344 (electric-indent-post-self-insert-function): Use it.
2345 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2346
375761b2
EZ
23472013-11-05 Eli Zaretskii <eliz@gnu.org>
2348
9a6ad735
EZ
2349 * international/quail.el (quail-help): Be more explicit about the
2350 meaning of the labels shown on the keys. (Bug#15800)
2351
375761b2
EZ
2352 * startup.el (normal-top-level): Load the subdirs.el files before
2353 setting the locale environment. (Bug#15805)
2354
520a6e4a
SM
23552013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2356
0acfafef
SM
2357 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2358 via arguments so as to get the right ones (bug#15418).
2359
520a6e4a
SM
2360 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2361
15826261
MA
23622013-11-05 Michael Albinus <michael.albinus@gmx.de>
2363
2364 Fix problems found while writing a test suite.
2365
2366 * net/tramp-compat.el (tramp-compat-load): New defun.
2367 * net/tramp.el (tramp-handle-load): Use it.
2368
2369 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2370 "(numberp ok-if-already-exists)" correctly.
2371
d35f31a4
XF
23722013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2373
2374 * international/characters.el (glyphless-char-display-control):
2375 Add usage note.
2376
ae93bc74
BB
23772013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2378
520a6e4a
SM
2379 * progmodes/python.el (python-mode):
2380 * progmodes/scheme.el (scheme-mode):
2381 * progmodes/prolog.el (prolog-mode):
2382 * progmodes/ruby-mode.el (ruby-mode):
2383 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2384 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2385
0ade65b5
SM
23862013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2387
a0d5f7a4
SM
2388 * rect.el (rectangle--highlight-for-redisplay):
2389 * emacs-lisp/smie.el (smie--next-indent-change):
2390 Use buffer-chars-modified-tick.
2391
c93f3f5c
SM
2392 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2393
0ade65b5
SM
2394 * electric.el (electric-indent-post-self-insert-function):
2395 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2396
ef9dd188
HE
23972013-11-04 Helmut Eller <eller.helmut@gmail.com>
2398
2399 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2400
306e7308
NT
24012013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2402
2403 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2404 (bug#15786).
2405
e5afbcac
SM
24062013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2407
1d01ad41
SM
2408 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2409
e5afbcac
SM
2410 * progmodes/python.el: Fix up last change.
2411 (python-shell--save-temp-file): New function.
2412 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2413 `string' comes from the current buffer.
2414 (python-shell-send-string-no-output): Remove `msg' arg.
2415 (python--use-fake-loc): New var.
2416 (python-shell-buffer-substring): Obey it. Try to compensate for the
2417 extra coding line added by python-shell--save-temp-file.
2418 (python-shell-send-region): Use python-shell--save-temp-file and
2419 python-shell-send-file directly. Add `nomain' argument.
2420 (python-shell-send-buffer): Use python-shell-send-region.
2421 (python-electric-pair-string-delimiter): New function.
2422 (python-mode): Use it.
2423
d0065ff1
EZ
24242013-11-04 Eli Zaretskii <eliz@gnu.org>
2425
2426 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2427 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2428 environment and decoding all of the default-directory's to here
2429 from command-line.
2430 (command-line): Decode also argv[0].
2431
2432 * loadup.el: Error out if default-directory is a multibyte string
2433 when we are dumping.
2434
2435 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2436
7397c587
TZ
24372013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2438
2439 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2440 (package-menu--print-info, package-menu--archive-predicate):
2441 Add Archive column to package list.
7397c587 2442
b27cc9fc
MA
24432013-11-04 Michael Albinus <michael.albinus@gmx.de>
2444
2445 Fix problems found while writing a test suite.
2446
2447 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2448 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2449 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2450 to nil when running original file name handler. Otherwise,
2451 there are problems with constructs like "$$FOO".
2452
2453 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2454 for `localname'.
2455
d8c4f18a
BB
24562013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2457
7b530552
BB
2458 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2459
2460 * subr.el (version<, version<=, version=):
2461 Update docstrings with information for snapshot versions.
2462
d8c4f18a
BB
2463 * helpers.el: New library for misc helper functions.
2464 (hash-table-keys): New function returning a list of hash keys.
2465 (hash-table-values): New function returning a list of hash values.
2466
dca01b09
DG
24672013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2468
2469 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2470 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2471
0a749fa0
MN
24722013-11-04 Michal Nazarewicz <mina86@mina86.com>
2473
2474 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2475 checking whether point is after a 1-letter word.
2476
24772013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2478
2479 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2480 Don't infloop when expanding region over `multiline' syntax-type that
2481 begins a line (bug#15778).
2482
4aca7145
SM
24832013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2486 Make it into a proper minor mode.
2487 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2488 (rectangle-mark-mode-map): New keymap.
2489 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2490
a0833f62
GM
24912013-11-04 Glenn Morris <rgm@gnu.org>
2492
2493 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2494
e61845c1
SM
24952013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2496
2497 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2498 (ruby-smie-rules): Use smie-rule-parent instead.
2499
2500 * emacs-lisp/smie.el (smie-rule-parent): Always call
2501 smie-indent-virtual rather than only for hanging tokens.
2502 (smie--next-indent-change): New helper command.
2503
62942f89
GM
25042013-11-03 Glenn Morris <rgm@gnu.org>
2505
2506 * Makefile.in (abs_srcdir): Remove.
2507 (emacs): Unset EMACSLOADPATH.
2508
b0b9e592
GM
25092013-11-02 Glenn Morris <rgm@gnu.org>
2510
18ba6a33 2511 * Makefile.in (EMACS): Use a relative filename.
8061810d 2512 (abs_top_builddir): Remove.
18ba6a33
GM
2513 (custom-deps, finder-data, autoloads): Use --chdir.
2514
6a8b929e
GM
2515 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2516
c617f3d0
GM
2517 Use relative filenames in TAGS files.
2518 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2519 (lisptagsfiles4, TAGS): Use relative file names.
2520 (TAGS-LISP): Remove.
2521 (maintainer-clean): No more TAGS-LISP file.
2522
b0b9e592
GM
2523 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2524 (lisptagsfiles4): Use absolute filenames again.
2525 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2526 Remove all *loaddefs files, not just the first. Remove esh-groups.
2527 (maintainer-clean): Delete TAGS, TAGS-LISP.
2528
d1c0ea6a
BB
25292013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2530
e61845c1
SM
2531 * emacs-lisp/package.el (package-version-join):
2532 Recognize snapshot versions.
d1c0ea6a 2533
684d71c6
BB
25342013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2535
2536 * subr.el (version-regexp-alist): Add support for snapshot versions.
2537
3d42b968
DG
25382013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2539
e61845c1
SM
2540 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2541 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2542 skip over our direct parent if it's an assignment token..
2543 (ruby-smie-rules): Use it.
2544
7ffd3721
DG
25452013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2546
8449dd1f 2547 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
2548 unconditionally. Remove now unnecessary forward declarations.
2549 Remove XEmacs-specific setup.
2550 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2551 (ruby-font-lock-syntactic-keywords)
2552 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2553 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2554 (ruby-here-doc-end-syntax): Remove.
2555 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2556 defined as function.
2557
a3996a2e
BB
25582013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2559
2560 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2561
6f9260e8
BB
25622013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2563
2564 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2565 table and abbrev table, `define-derived-mode' does that for us
2566 anyway.
2567
6014de84
GM
25682013-11-01 Glenn Morris <rgm@gnu.org>
2569
2570 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2571 files is atomic for some time, so no parallel compilation issues).
2572
3c334c14
JD
25732013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2574
2575 * faces.el (face-x-resources): Add :distant-foreground.
2576 (region): Use :distant-foreground for gtk and ns.
2577
9bc236c8
TH
25782013-11-01 Tassilo Horn <tsdh@gnu.org>
2579
5246583b 2580 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2581 BibTeX.
2582 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2583 (reftex-locate-bibliography-files): Us it.
2584
d14c81ee
CB
25852013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2586
0e7690de
CB
2587 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2588 allow comments in pbm files.
2589
d14c81ee
CB
2590 * term/w32-win.el (dynamic-library-alist): Support newer versions
2591 of libjpeg starting with v7: look only for the DLL from the
2592 version against which Emacs was built.
ac1bf374 2593 Support versions of libpng beyond 1.4.x.
019c8218 2594 Support libtiff v4.x.
d14c81ee 2595
983d0df5
BB
25962013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2597
2598 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2599 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2600 Add property :safe.
2601 (ruby-deep-arglist): Add property :type.
2602
47f58d85
GM
26032013-10-31 Glenn Morris <rgm@gnu.org>
2604
2605 * Makefile.in (custom-deps, finder-data): No need to setq the target
2606 variables, we are in the right directory and the defaults work fine.
2607
4f85b479
GM
26082013-10-30 Glenn Morris <rgm@gnu.org>
2609
ca7dd4cd
GM
2610 * Makefile.in (autoloads): Do not use abs_lisp.
2611
4f85b479
GM
2612 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2613 `newline' does not respect `standard-output', so use `princ'.
2614
cf59e41c
AA
26152013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2616
2617 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2618 * buff-menu.el (Buffer-menu--unmark): New function.
2619 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2620
74cf04fb
GM
26212013-10-30 Glenn Morris <rgm@gnu.org>
2622
b040b60e
GM
2623 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2624
f53d3815
GM
2625 * emacs-lisp/package.el (lm-homepage): Declare.
2626
5413d873
GM
2627 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2628 Fix doc typos.
2629
cecedb36
GM
2630 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2631
74cf04fb
GM
2632 * Makefile.in (finder-data, autoloads, update-subdirs)
2633 (compile-main, compile-clean, compile-always, bootstrap-clean):
2634 Check return value of cd.
2635 (compile-calc): Remove.
2636
195ee2f0
SM
26372013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2638
ae4002ce
SM
2639 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2640
2641 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2642 (byte-compile-and-folded): New function.
2643 (=, <, >, <=, >=): Use it.
2644
2645 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2646 (path-separator, null-device, buffer-file-coding-system)
2647 (lpr-headers-switches): Check system-type before modifying them.
2648 (find-buffer-file-type-coding-system): Mark obsolete.
2649 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2650 find-file-not-found-set-buffer-file-coding-system.
2651 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2652 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2653 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2654 (w32-direct-print-region-helper, w32-direct-print-region-function)
2655 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2656 * startup.el (normal-top-level-add-subdirs-to-load-path):
2657 * ps-print.el (ps-print-region-function):
2658 * lpr.el (print-region-function): Use new name.
2659
53b39e89
SM
2660 * subr.el (custom-declare-variable-early): Remove function.
2661 (custom-declare-variable-list): Remove var.
2662 (error, user-error): Remove `while' loop.
2663 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2664 (user-emacs-directory-warning, locate-user-emacs-file):
2665 Move to files.el.
2666 * simple.el (read-quoted-char-radix, read-quoted-char):
2667 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2668 Move from subr.el.
2669 * custom.el (custom-declare-variable-list): Don't process
2670 custom-declare-variable-list.
2671
195ee2f0
SM
2672 * progmodes/python.el (python-shell-get-buffer): New function.
2673 (python-shell-get-process): Use it.
2674 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2675 Python which encoding was used. Don't split-string since we only care
2676 about the first line. Return the temp-file, if applicable.
2677 (python-shell-send-region): Tell compile.el how to turn locations in
2678 the temp-file into locations in the source buffer.
2679
7e3561ee
SM
26802013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2681
4c9797cb
SM
2682 * subr.el (undefined): Add missing behavior from the C code for
2683 unbound keys.
2684
3472b6c6
SM
2685 * rect.el: Use lexical-binding. Add new rectangular region support.
2686 (rectangle-mark): New command.
2687 (rectangle--region): New var.
2688 (deactivate-mark-hook): Reset rectangle--region.
2689 (rectangle--extract-region, rectangle--insert-for-yank)
2690 (rectangle--highlight-for-redisplay)
2691 (rectangle--unhighlight-for-redisplay): New functions.
2692 (region-extract-function, redisplay-unhighlight-region-function)
2693 (redisplay-highlight-region-function): Use them to handle
2694 rectangular region.
2695 * simple.el (region-extract-function): New var.
2696 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2697 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2698 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2699 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2700 (redisplay-unhighlight-region-function)
2701 (redisplay-highlight-region-function): New vars.
2702 (redisplay--update-region-highlight): New function.
2703 (pre-redisplay-function): Use it.
2704 (exchange-point-and-mark): Don't deactivate the mark before
2705 reactivate-it anyway.
2706 * comint.el (comint-kill-region): Remove yank-handler argument.
2707 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2708 (delete-char): Remove property, since it's now part of their
2709 default behavior.
2710 (self-insert-iso): Remove property since this command doesn't exist.
2711
7e3561ee
SM
2712 * emacs-lisp/package.el (package--download-one-archive)
2713 (describe-package-1): Don't query the user about final newline.
2714
b9bef71f
DC
27152013-10-29 Daniel Colascione <dancol@dancol.org>
2716
2717 * net/tramp.el (tramp-methods): Document new functionality.
2718 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2719 tramp-hostname-checker if method provides one instead of scanning
2720 argument list for "%h" to decide hostname acceptability.
2721
4efc33f0
MA
27222013-10-28 Michael Albinus <michael.albinus@gmx.de>
2723
2724 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2725 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2726 Handle COPY-CONTENTS. (Bug#15737)
2727
ed42a877
DU
27282013-10-28 Daiki Ueno <ueno@gnu.org>
2729
2730 * epa-file.el
7e3561ee
SM
2731 (epa-file-cache-passphrase-for-symmetric-encryption):
2732 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2733
18c9f8a2
XF
27342013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2735
7a4bc7be
XF
2736 * image.el (defimage):
2737 (image-load-path): Doc fixes.
18c9f8a2 2738
b1e8e010
AM
27392013-10-27 Alan Mackenzie <acm@muc.de>
2740
2741 Indent statements in macros following "##" correctly.
7e3561ee
SM
2742 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2743 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2744
73d40d1e 27452013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2746
2747 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2748
c8c605ac
DG
27492013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2750
2751 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2752 after `=' is probably a new expression.
2753
ca7e59d4
RS
27542013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2755
2756 * man.el (man-imenu-title): New option.
2757 (Man-mode-map): Add menu. (Bug#15722)
2758 (Man-mode): Add imenu to menu.
2759
bae91342
DG
27602013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2761
2762 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2763 specific in what the first arg can be: a non-keyword word,
2764 string/regexp/percent literal opener, opening paren, or unary
2765 operator followed directly by word.
2766
eb89dc14
SM
27672013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2768
2769 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2770 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2771 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2772 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2773 Remove vars, they do not apply any more.
2774 (prolog-mode-abbrev-table): Remove redundant declaration.
2775 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2776 (prolog-use-smie): Remove.
2777 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2778 supported by prolog-electric-if-then-else-flag.
2779 (prolog-mode-variables, prolog-menu): Use setq-local.
2780 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2781 Remove binding to `Backspace' since this key doesn't exist anyway.
2782 Remove bindings for electric self-inserting keys.
2783 (prog-mode): Assume it's defined.
2784 (prolog-post-self-insert): New function.
2785 (prolog-mode): Use it.
2786 (prolog-indent-line, prolog-indent-level)
2787 (prolog-find-indent-of-matching-paren)
2788 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2789 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2790 (prolog-goto-next-paren, prolog-in-string-or-comment)
2791 (prolog-tokenize, prolog-inside-mline-comment)
2792 (prolog-find-start-of-mline-comment): Remove functions.
2793 (prolog-find-unmatched-paren, prolog-clause-end)
2794 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2795 (prolog-electric--if-then-else): Rename from
2796 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2797 (prolog-tokenize-searchkey): Remove const.
2798 (prolog-clause-info): Use forward-sexp.
2799 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2800 (prolog-electric-if-then-else): Remove commands.
2801 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2802 for use in post-self-insert-hook.
2803 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2804 for use in post-self-insert-hook.
2805 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2806 for use in post-self-insert-hook.
2807 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2808 adapt it for use in post-self-insert-hook.
2809
3dab0a83
MA
28102013-10-25 Michael Albinus <michael.albinus@gmx.de>
2811
2812 * emacs-lisp/ert.el (ert-run-tests-interactively):
2813 Use `completing-read'. (Bug#9756)
2814
fbfd0e1d
EZ
28152013-10-25 Eli Zaretskii <eliz@gnu.org>
2816
2817 * simple.el (line-move): Call line-move-1 instead of
2818 line-move-visual when the current window hscroll is zero, but
2819 temporary-goal-column indicates we will need to hscroll as result
2820 of the movement. (Bug#15712)
2821
963ce636
DG
28222013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2823
2824 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2825 capitalization. Use :visible instead of :active.
2826 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2827 commands that are used with SMIE.
2828 (ruby-do-end-to-brace): Insert space after `{'.
2829
a0be396a
JA
28302013-10-25 John Anthony <john@jo.hnanthony.com>
2831
f73754c9
JA
2832 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2833
2834 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2835
f5bf77df
GM
28362013-10-25 Glenn Morris <rgm@gnu.org>
2837
2838 * vc/vc.el (vc-print-log): Don't use a working revision unless
2839 one was explicitly specified. (Bug#15322)
2840
37241f62
SM
28412013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2842
2843 * subr.el (add-to-list): Preserve return value in compiler-macro
2844 (bug#15692).
2845
6408a65d
RS
28462013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2847
2848 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2849 result. Ask user to retry using '-all' flag. (Bug#15701)
2850
71e3276b
SM
28512013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 * emacs-lisp/smie.el: New smie-config system.
2854 (smie-config): New defcustom.
2855 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2856 (smie-config-guess, smie-config-save): New commands.
2857 (smie-config--mode-local, smie-config--buffer-local)
2858 (smie-config--trace, smie-config--modefuns): New vars.
2859 (smie-config--advice, smie-config--mode-hook)
2860 (smie-config--setter, smie-config-local, smie-config--get-trace)
2861 (smie-config--guess-value, smie-config--guess): New functions.
2862 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2863 text properties. Treat "string fence" syntax like string syntax.
2864
2865 * progmodes/sh-script.el (sh-use-smie): Change default.
2866 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2867 (sh-var-value): Simplify by CSE.
2868 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2869 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2870 is used.
2871 (sh-guess-basic-offset): Use cl-incf.
2872 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2873
60db713e
HE
28742013-10-24 Helmut Eller <eller.helmut@gmail.com>
2875
2876 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2877 (bug#15699).
2878
8b251df6
GM
28792013-10-24 Glenn Morris <rgm@gnu.org>
2880
2881 * Makefile.in (abs_top_srcdir): Remove.
2882 (update-subdirs): Use relative path to update-subdirs.
2883
6be0e22b
EZ
28842013-10-24 Eli Zaretskii <eliz@gnu.org>
2885
2886 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2887 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2888 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2889 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2890
50b5b857
MA
28912013-10-24 Michael Albinus <michael.albinus@gmx.de>
2892
2893 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2894 (ert-test-skipped): New error.
2895 (ert-skip, ert-stats-skipped): New defuns.
2896 (ert--skip-unless): New macro.
2897 (ert-test-skipped): New struct.
2898 (ert--run-test-debugger, ert-test-result-type-p)
2899 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2900 (ert--stats-set-test-and-result, ert-char-for-test-result)
2901 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2902 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2903 Handle skipped tests. (Bug#9803)
50b5b857 2904
6f317c2f
GM
29052013-10-24 Glenn Morris <rgm@gnu.org>
2906
e43817c1
GM
2907 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2908
6f317c2f
GM
2909 * Makefile.in (abs_top_srcdir): New, set by configure.
2910 (update-subdirs): Correct build-aux location.
2911
369bbf71
DG
29122013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2913
8297b2cf
DG
2914 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2915 value, whether we could auto-deduce `backend', or not.
2916
369bbf71
DG
2917 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2918 with parameters" example. Simplify the "is it block or is it
2919 hash" check, but also make it more thorough.
2920
d5f1282f
MF
29212013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2922
2923 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2924
bc4aaa31
SM
29252013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2926
03d44565
SM
2927 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2928 { if it is hanging.
2929
bc4aaa31
SM
2930 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2931 :before ";".
2932
f493ff19
JB
29332013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2934
2935 * progmodes/compile.el (compilation-directory-matcher)
2936 (compilation-page-delimiter):
2937 Support GNU Make-4.0 directory quoting. (Bug#15678)
2938
c744a3b9
LL
29392013-10-23 Leo Liu <sdl.web@gmail.com>
2940
2941 * ido.el (ido-tidy): Handle read-only text.
2942
b8e3b0a9
GM
29432013-10-23 Glenn Morris <rgm@gnu.org>
2944
2945 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2946 (emacs, compile, compile-always):
2947 Quote entities that might contain whitespace.
2948 (custom-deps, finder-data, autoloads): Use abs_lisp.
2949 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2950 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2951 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2952
ee4282cd
DG
29532013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2954
bc4aaa31
SM
2955 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2956 Use `following-char'.
7790a270 2957
ee4282cd 29582013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2959
2960 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2961 * progmodes/ruby-mode.el (ruby-smie-rules):
2962 Remove corresponding workaround. Fix indentation rule of ";" so it
2963 also applies when ";" is the parent.
2964
d40a46d7
XF
29652013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2966
2967 * frame.el (display-screens, display-pixel-height)
2968 (display-pixel-width, display-mm-width, display-backing-store)
2969 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2970 (display-visual-class, display-monitor-attributes-list):
2971 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2972
a0f143c9
MG
29732013-10-22 Michael Gauland <mikelygee@amuri.net>
2974
2975 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2976 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2977
18cacc39
DG
29782013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2979
2980 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2981 TODO. Add "." after " @ ".
2982 (ruby-smie--at-dot-call): New function. Checks if point at method
2983 call with explicit target.
2984 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2985 to the method name tokens when it precedes them.
2986 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2987 (ruby-smie-rules): Add rule for indentation before and after "."
2988 token.
2989
df74c4be
SM
29902013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2991
c6dab55f
SM
2992 * textmodes/remember.el (remember-diary-extract-entries):
2993 Avoid add-to-list.
2994
df74c4be
SM
2995 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2996 an instruction.
2997
8c1ae481
DG
29982013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2999
e9dc713d
JB
3000 * progmodes/ruby-mode.el (ruby-smie-grammar):
3001 Add (almost) all infix operators.
cfef16c0
DG
3002 (ruby-smie--implicit-semi-p): Add new operator chars.
3003
8c1ae481
DG
3004 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3005 `smie-down-list'.
3006 (ruby-smie--args-separator-p): Check that there's no newline
3007 between method call and its arguments.
3008
87756ca9
AM
30092013-10-20 Alan Mackenzie <acm@muc.de>
3010
3011 Allow comma separated lists after Java "implements".
3012
df74c4be
SM
3013 * progmodes/cc-engine.el (c-backward-over-enum-header):
3014 Parse commas.
87756ca9
AM
3015 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3016 from a "disallowed" list in enum fontification.
3017
c25f8957
JB
30182013-10-20 Johan Bockgård <bojohan@gnu.org>
3019
df74c4be 3020 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3021
c25f8957
JB
3022 * progmodes/verilog-mode.el (verilog-mode): Don't set
3023 comment-indent-function globally.
3024
aca5fcdc
JD
30252013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3026
5f161884
JD
3027 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3028 Move Info menu item creation to ns-win.el.
3029
3030 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3031 in menu bar.
3032
aca5fcdc
JD
3033 * menu-bar.el: Move GNUStep specific menus...
3034
3035 * term/ns-win.el (ns-initialize-window-system): ... to here.
3036
914b7f98
SM
30372013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3038
3039 * simple.el (newline): Only run post-self-insert-hook when
3040 called interactively.
3041
846ffe77
JB
30422013-10-19 Johan Bockgård <bojohan@gnu.org>
3043
3044 * icomplete.el (icomplete-with-completion-tables): Add :version.
3045
033f22dd
AM
30462013-10-19 Alan Mackenzie <acm@muc.de>
3047
3048 Fix fontification bugs with constructors and const.
3049
3050 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3051 CASE 2) Remove the check for the absence of a suffix construct
3052 after a function declaration with only types (no identifiers) in
3053 the parentheses. Also, accept a function declaration with just a
3054 type inside the parentheses, if this type can be positively
3055 recognised as such, or if a prefix keyword like "explicit" nails
3056 down the construct as a declaration.
3057
58ce0cfc
EZ
30582013-10-19 Eli Zaretskii <eliz@gnu.org>
3059
3060 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3061 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3062 the problem whereby selecting a menu item that leads to a
3063 minibuffer prompt moves the cursor out of the minibuffer window,
3064 making it hard to type at the prompt. Suggested by Stefan Monnier
3065 <monnier@iro.umontreal.ca>.
3066
50e28e7d
JD
30672013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3068
3069 * menu-bar.el: Don't make Services menu.
3070
7deed4bf
RS
30712013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3072
3073 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3074 (ffap-alist): Use ffap-c++-mode for c++-mode.
3075 (ffap-c++-path): New variable.
3076 (ffap-c++-mode): New function.
3077
7bcb455b
JVJ
30782013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3079
3080 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3081
f0ff1cd5
MA
30822013-10-18 Michael Albinus <michael.albinus@gmx.de>
3083
3084 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3085 introduced on 2013-09-08, which results in an infinite loop
3086 requesting a password.
3087
d64da4b7
GM
30882013-10-18 Glenn Morris <rgm@gnu.org>
3089
3090 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3091
ea89ff08
WS
30922013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3093
3094 Sync with upstream verilog-mode revision 1a6ecec7.
3095 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3096 (verilog-mode-release-date): Remove.
3097 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3098 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3099 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3100 (verilog-auto-tieoff-ignore-regexp)
3101 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3102 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3103 (verilog-signals-with, verilog-dir-cache-preserving)
3104 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3105 Doc fixes.
3106 (verilog-case-fold): New option, to control case folding in
3107 regexp searches, bug597.
3108 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3109 (verilog-string-match-fold, verilog-in-paren-count)
3110 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3111 (verilog-at-close-struct-p): New functions.
3112 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3113 (verilog-forward-sexp, verilog-set-auto-endcomments):
3114 (verilog-leap-to-case-head): Handle "unique0" case.
3115 (verilog-in-constraint-re): New constant.
3116 (verilog-keywords, verilog-type-font-keywords):
3117 Add some SystemVerilog 1800-2012 keywords.
3118 (verilog-label-be): Remove unimplemented argument, bug669.
3119 (verilog-batch-execute-func): When batch expanding clear
3120 create-lockfiles to prevent spurious user locks when a file ends
3121 up not changing.
3122 (verilog-calculate-indent, verilog-calc-1)
3123 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3124 (verilog-do-indent): Fix indentation of nested constraints
3125 and structures.
3126 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3127 (verilog-auto-inst-param): Use verilog-string-match-fold.
3128 (verilog-read-inst-module-matcher):
3129 Fix AUTOINST on gate primitives with #1.
3130 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3131 Reads all user-defined typed variables.
3132 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3133 (verilog-signals-matching-regexp)
3134 (verilog-signals-not-matching-regexp, verilog-auto):
3135 Respect verilog-case-fold.
3136 (verilog-diff-report): Fix line count.
3137 (verilog-auto-assign-modport): Remove unused local `modi'.
3138 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3139 better handle multidimensional arrays.
3140 Fix packed array ports misadding bit index in AUTOINST, bug637.
3141 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3142 to not double-declare existing outputs and inputs, respectively.
3143 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3144 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3145 (verilog-sk-uvm-component): New skeleton.
3146 (verilog-submit-bug-report): Add verilog-case-fold,
3147 remove verilog-mode-release-date.
3148
ef566920
BR
31492013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3150
3151 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3152 as before.
3153
29df8a0b
RT
31542013-10-18 Reuben Thomas <rrt@sc3d.org>
3155
e0eb0550 3156 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3157 remember buffers (bug#13566).
3158
04a19a79
DC
31592013-10-18 Daniel Colascione <dancol@dancol.org>
3160
3161 When evaluating forms in ielm, direct standard output to ielm
3162 buffer. Add new ielm-return-for-effect command. Remove trailing
3163 whitespace throughout.
3164
3165 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3166 (ielm-return-for-effect): New command.
3167 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3168 (ielm-eval-input): Accept optional `for-effect' parameter.
3169 Bind `standard-output' to stream we create using
04a19a79
DC
3170 `ielm-standard-output-impl'. Suppress printing result when
3171 `for-effect'.
3172 (ielm-standard-output-impl): New function.
3173 (inferior-emacs-lisp-mode): Explain new features in documentation.
3174
4c1f03ef
MA
31752013-10-17 Michael Albinus <michael.albinus@gmx.de>
3176
3177 Code cleanup.
3178
3179 * net/tramp.el (tramp-debug-message): Do not check for connection
3180 buffer.
3181 (tramp-message): Use "vector" connection property.
3182
3183 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3184 (tramp-equal-remote, tramp-eshell-directory-change)
3185 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3186 (tramp-adb-handle-rename-file)
3187 * net/tramp-cmds.el (tramp-list-remote-buffers)
3188 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3189 * net/tramp-compat.el (tramp-compat-process-running-p)
3190 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3191 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3192 (tramp-gvfs-handle-rename-file)
3193 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3194 (tramp-set-file-uid-gid)
3195 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3196 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3197 of `file-remote-p'.
3198
3199 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3200 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3201 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3202 (tramp-gw-open-network-stream): Suppress unrelated traces.
3203
3204 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3205 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3206 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3207 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3208 connection property.
3209
3210 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3211 persistency file.
4c1f03ef
MA
3212
3213 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3214 Refactor common code. Improve debug message.
3215 (tramp-maybe-open-connection)
3216 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3217 connection buffer too early.
3218
3219 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3220 from `tramp-smb-actions-with-acl'.
3221 (tramp-smb-actions-set-acl): New defconst.
3222 (tramp-smb-handle-copy-directory)
3223 (tramp-smb-action-get-acl): New defun, renamed from
3224 `tramp-smb-action-with-acl'.
3225 (tramp-smb-action-set-acl): New defun.
3226 (tramp-smb-handle-set-file-acl): Rewrite.
3227
642eb8b6
GM
32282013-10-17 Glenn Morris <rgm@gnu.org>
3229
3230 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3231
85527ff3
SM
32322013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3233
921c1d62
SM
3234 * skeleton.el (skeleton-newline): Remove.
3235 (skeleton-internal-1): Use (insert "\n") instead.
3236
e333fb10
SM
3237 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3238 let-bindings.
3239
85527ff3
SM
3240 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3241 forward-sexp-function while we redo its job (bug#15613).
3242
c8722a97
JB
32432013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3244
3245 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3246 represented by lists.
3247
7a550bbb
GM
32482013-10-16 Glenn Morris <rgm@gnu.org>
3249
3250 * tmm.el (tmm--history): New dynamic variable.
3251 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3252
f19da8ad
MA
32532013-10-16 Michael Albinus <michael.albinus@gmx.de>
3254
3255 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3256 (tramp-smb-errors): Add error messages.
3257 (tramp-smb-actions-with-acl): New defconst.
3258 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3259 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3260 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3261 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3262 (tramp-smb-get-stat-capability): Fix tests.
3263
a24b9961
DK
32642013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3265
3266 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3267 (bug#15580).
3268
62ad85e6
GM
32692013-10-16 Glenn Morris <rgm@gnu.org>
3270
0283d6b0
GM
3271 * ansi-color.el (ansi-color-drop-regexp):
3272 Add 1J, 1K, 2K. (Bug#15617)
3273
012e2f9f
GM
3274 * files.el (hack-local-variables--warned-lexical): New.
3275 (hack-local-variables):
3276 Warn about misplaced lexical-binding. (Bug#15616)
3277
62ad85e6
GM
3278 * net/eww.el (eww-render): Always set eww-current-url,
3279 and update header line. (Bug#15622)
3280 (eww-display-html): ... Rather than just doing it here.
3281
6456c0ea
EZ
32822013-10-15 Eli Zaretskii <eliz@gnu.org>
3283
3284 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3285 menu navigations commands.
3286
c2de5588
DK
32872013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3288
3289 * progmodes/subword.el (subword-capitalize): Be careful when
3290 the search for [[:alpha:]] fails (bug#15580).
3291
ccd4a783
EZ
32922013-10-14 Eli Zaretskii <eliz@gnu.org>
3293
3294 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3295 to commands that scroll the menu.
3296
1eda1d8d
DG
32972013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3298
c2de5588
DK
3299 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3300 Handle methods ending with `?' and `!'.
1eda1d8d 3301
e70181b8
AM
33022013-10-14 Akinori MUSHA <knu@iDaemons.org>
3303
3304 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3305 `japanese-cp932' to `cp932' to fix the problem where saving a
3306 source file written in Shift_JIS twice would end up having
3307 `coding: japanese-cp932' which Ruby could not recognize.
3308 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3309 in `ruby-encoding-map'.
3310 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3311 doesn't need to be explicitly declared in magic comment.
3312 (ruby-encoding-map): Add type declaration for better customize UI.
3313
9148ee92
GM
33142013-10-13 Glenn Morris <rgm@gnu.org>
3315
a5d38e34
GM
3316 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3317 Occur buffers are read-only. http://bugs.debian.org/720775
3318
9148ee92
GM
3319 * emacs-lisp/authors.el (authors-fixed-entries):
3320 Comment out old alpha stuff.
3321
a9ba094b
DG
33222013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3323
3324 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3325 to `after-save-hook' instead of `before-save-hook'.
3326 (ruby-mode-set-encoding): Use the value of coding system used to
3327 write the file. Call `basic-save-buffer-1' after modifying the
3328 buffer.
3329
7a068717
AM
33302013-10-13 Alan Mackenzie <acm@muc.de>
3331
3332 Fix indentation/fontification of Java enum with
3333 "implements"/generic.
3334
c2de5588
DK
3335 * progmodes/cc-engine.el (c-backward-over-enum-header):
3336 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3337 (c-inside-bracelist-p): Uses new function above.
3338 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3339 function above.
3340 (c-font-lock-enum-tail): Uses new function above.
3341
85b64f02
KH
33422013-10-13 Kenichi Handa <handa@gnu.org>
3343
3344 * international/mule-cmds.el (select-safe-coding-system): Remove a
3345 superfluous condition in chekcing whether a coding system is safe
3346 or not.
3347
fc7f501b
OK
33482013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3349
3350 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3351
fdcb2049
AP
33522013-10-13 Andreas Politz <politza@hochschule-trier.de>
3353
3354 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3355
8c106d17
GM
33562013-10-13 Glenn Morris <rgm@gnu.org>
3357
feab892d
GM
3358 * menu-bar.el (menu-bar-update-buffers):
3359 Unify Buffers menu prompt string. (Bug#15576)
3360
b22d0686
GM
3361 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3362
8c106d17
GM
3363 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3364 Add some entries.
3365 (authors-fixed-entries): Use accented form of name.
3366
1b12c797
SM
33672013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3368
650fa7bf 3369 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3370 method calls (bug#15594).
650fa7bf
SM
3371 (ruby-smie--args-separator-p): New function.
3372 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3373 recognize paren-free method calls.
3374
1b12c797
SM
3375 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3376 internals of universal-argument.
3377
029619c8
EZ
33782013-10-11 Eli Zaretskii <eliz@gnu.org>
3379
3380 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3381 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3382 dropped menu on second mouse click on the menu bar.
029619c8 3383
dd070019
SM
33842013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3385
3386 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3387 (explicit-shell-file-name): Declare.
3388 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3389 (sh-completion-at-point-function): New function.
3390 (sh-mode): Use it.
3391 (sh-smie--keyword-p): Remove unused argument.
3392 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3393 vars.
3394 (sh-set-shell): Always setup SMIE, even if we use the
3395 old indentation code.
3396
0922b826
DG
33972013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3398
b68e2926
DG
3399 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3400 cases of ? and =.
3401 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3402 predicate would return nil are almost non-existent.
3403 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3404
0922b826
DG
3405 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3406 cache also after commands that modify the buffer but don't move
3407 point.
3408
ee041f2d
SM
34092013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3410
3411 * env.el (substitute-env-in-file-name): New function.
3412 (substitute-env-vars): Extend the meaning of the optional arg.
3413
a5dab159
EZ
34142013-10-10 Eli Zaretskii <eliz@gnu.org>
3415
3416 * term/w32-win.el (dynamic-library-alist): Define separate lists
3417 of GIF DLLs for versions before and after 5.0.0 of giflib.
3418 (Bug#15531)
3419
0449d6cd 34202013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3421
3422 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3423 not locked, use last revision and current source as
3424 defaults. (Bug#15569)
3425
2f6e161e
MY
34262013-10-10 Masatake YAMATO <yamato@redhat.com>
3427
3428 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3429 menu-bar is hidden.
3430
6c8413fc
MR
34312013-10-10 Martin Rudalics <rudalics@gmx.at>
3432
3433 * window.el (pop-to-buffer-same-window): Fix doc-string.
3434 (Bug#15492)
3435
20832de0
SM
34362013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3437
3438 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3439
c6e8ae77
AC
34402013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3441
3442 * calendar/icalendar.el (icalendar-import-file):
3443 Fix interactive spec. (Bug#15482)
3444
9db13baf
GM
34452013-10-10 Glenn Morris <rgm@gnu.org>
3446
9271e90e
GM
3447 * desktop.el (desktop-save): Default to saving in .emacs.d,
3448 since PWD is no longer in desktop-path by default. (Bug#15319)
3449
9db13baf
GM
3450 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3451 now that text mode has a menu with the same entry.
3452 (menu-bar-text-mode-auto-fill): Remove now unused func.
3453 * textmodes/text-mode.el (text-mode-map):
3454 Use auto-fill help text from menu-bar.el.
3455
a0be396a 34562013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3457
3458 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3459
2edcd3c7
JL
34602013-10-09 Juri Linkov <juri@jurta.org>
3461
3462 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3463 instead of this-command-keys. Add universal-argument-more and
3464 universal-argument-minus to the list of prefix commands. (Bug#15568)
3465
574411d0
GM
34662013-10-09 Glenn Morris <rgm@gnu.org>
3467
14afa541
GM
3468 * vc/vc-svn.el (vc-svn-create-repo):
3469 Expand paths in file://... url. (Bug#15446)
3470
574411d0
GM
3471 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3472 Add some entries.
3473 (authors): Remove unused local variables.
3474
79804536
SM
34752013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3477 * profiler.el: Create a more coherent calltree from partial backtraces.
3478 (profiler-format): Hide the tail with `invisible' so that C-s can still
3479 find the hidden elements.
3480 (profiler-calltree-depth): Don't recurse so enthusiastically.
3481 (profiler-function-equal): New hash-table-test.
3482 (profiler-calltree-build-unified): New function.
3483 (profiler-calltree-build): Use it.
3484 (profiler-report-make-name-part): Indent the calltree less.
3485 (profiler-report-mode): Add visibility specs for profiler-format.
3486 (profiler-report-expand-entry, profiler-report-toggle-entry):
3487 Expand the whole subtree when provided with a prefix arg.
3488
238150c8
DG
34892013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3490
3491 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3492 iuwu-mod token.
3493 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3494 hanging iuwu-mod token.
3495 (ruby-smie--forward-token): Do not include a dot after a token in
3496 that token.
3497 (ruby-smie--backward-token): Likewise.
3498
b0949cc4
JL
34992013-10-08 Juri Linkov <juri@jurta.org>
3500
3501 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3502 to isearch-other-control-char.
3503 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3504 and isearch-post-command-hook to post-command-hook.
3505 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3506 and isearch-post-command-hook from post-command-hook.
3507 (isearch-unread-key-sequence)
3508 (isearch-reread-key-sequence-naturally)
3509 (isearch-lookup-scroll-key, isearch-other-control-char)
3510 (isearch-other-meta-char): Remove functions.
3511 (isearch-pre-command-hook, isearch-post-command-hook):
3512 New functions based on isearch-other-meta-char rewritten
3513 relying on the new behavior of overriding-terminal-local-map
3514 that does not replace the local keymaps any more. (Bug#15200)
3515
4ed77415
EZ
35162013-10-08 Eli Zaretskii <eliz@gnu.org>
3517
3518 Support menus on text-mode terminals.
3519 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3520 functionality.
3521
3522 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3523
c2de5588
DK
3524 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3525 Move here from mouse.el.
4ed77415
EZ
3526 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3527 and arrow keys.
3528 (tty-menu-navigation-map): New map for TTY menu navigation.
3529
3530 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3531
3532 * frame.el (display-mouse-p): Report text-mode mouse as available
3533 on w32.
3534 (display-popup-menus-p): Report availability if mouse is
3535 available; don't condition on window-system.
3536
3537 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3538 (tty-menu-selected-face): New faces.
3539
b7d5bd82
TL
35402013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3541
06286513
SM
3542 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3543 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3544 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3545 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3546 New constants.
3547 (lisp-mode-variables): New `elisp' argument.
3548 (emacs-lisp-mode): Use it.
3549 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3550 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3551
b7d5bd82
TL
3552 * indent.el: Use lexical-binding.
3553 (indent-region): Add progress reporter.
3554 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3555 last step.
3556 (indent--next-tab-stop): New function to implement this behavior.
3557 (tab-to-tab-stop, move-to-tab-stop): Use it.
3558
35592013-10-08 Teemu Likonen <tlikonen@iki.fi>
3560
3561 * indent.el (indent-rigidly--current-indentation): New function.
3562 (indent-rigidly-map): New var.
3563 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3564
5ea75d23
BG
35652013-10-08 Bastien Guerry <bzg@gnu.org>
3566
3567 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3568
cc5da1ec
SM
35692013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3570
8ffa1a0b
SM
3571 * progmodes/perl-mode.el: Use lexical-binding.
3572 Remove redundant :group args.
3573 (perl-nochange): Change default to be closer to other major modes's
3574 standard behavior.
3575 (perl-indent-line): Don't consider text on current line as a
3576 valid beginning of function from which to indent.
3577
f2223371
SM
3578 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3579 with more than one argument (bug#15538).
3580
44256060
SM
3581 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3582
cc5da1ec
SM
3583 * vc/pcvs.el: Use lexical-binding.
3584 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3585 environment of `eval'.
3586 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3587 than a list of expressions. Adjust callers.
3588 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3589
0ea1599d
DG
35902013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3591
3592 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3593 case of the dot in a chained method call being on the following line.
0ea1599d 3594
da3e5ebb
SM
35952013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3596
2abb4e65
SM
3597 * electric.el (electric-indent-inhibit): New var.
3598 (electric-indent-post-self-insert-function): Use it.
3599 * progmodes/python.el (python-mode): Set it.
3600
d2e0e795
SM
3601 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3602 open braces.
3603
3604 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3605
bdc6b4c8
SM
3606 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3607 (css-mode): Use electric-indent-chars.
3608
da3e5ebb
SM
3609 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3610 (font-lock-beg, font-lock-end): Move before first use.
3611 (nxml-mode): Use syntax-propertize-function.
3612 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3613 (nxml-extend-after-change-region): Remove.
3614 * nxml/xmltok.el: Use lexical-binding.
3615 (xmltok-save): Use `declare'.
3616 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3617 * nxml/nxml-util.el: Use lexical-binding.
3618 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3619 Use `declare'.
3620 * nxml/nxml-ns.el: Use lexical-binding.
3621 (nxml-ns-save): Use `declare'.
3622 (nxml-ns-prefixes-for): Avoid add-to-list.
3623 * nxml/rng-match.el: Use lexical-binding.
3624 (rng--ipattern): Use cl-defstruct.
3625 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3626 (rng-cons-group-after, rng-subst-group-after)
3627 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3628 Use closures instead of `(lambda...).
3629
f8f91d5d
MA
36302013-10-07 Michael Albinus <michael.albinus@gmx.de>
3631
3632 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3633 of BEG and END.
3634
da3e5ebb
SM
3635 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3636 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3637 (tramp-gvfs-handle-insert-file-contents): Remove function.
3638
da3e5ebb
SM
3639 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3640 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3641
3642 * net/trampver.el: Update release number.
3643
7ccae3b1
SM
36442013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3645
55ca2c0d
SM
3646 * progmodes/compile.el (compilation-parse-errors):
3647 Use compilation--put-prop.
3648 (compilation--ensure-parse): Check compilation-multiline.
3649
731fc3ae
SM
3650 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3651
da3e5ebb
SM
3652 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3653 lexical-binding.
a5833280 3654
2e7ba2c2
SM
3655 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3656
7ccae3b1
SM
3657 * progmodes/ruby-mode.el: Fix recently added tests.
3658 (ruby-smie-grammar): Add - and +.
3659 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3660 (ruby-smie--backward-id): New functions.
3661 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3662 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3663 any more.
3664
85698d63
LL
36652013-10-07 Leo Liu <sdl.web@gmail.com>
3666
3667 * register.el (register-preview-delay)
3668 (register-preview-functions): New variables.
3669 (register-read-with-preview, register-preview)
3670 (register-describe-oneline): New functions.
3671 (point-to-register, window-configuration-to-register)
3672 (frame-configuration-to-register, jump-to-register)
3673 (number-to-register, view-register, insert-register)
3674 (copy-to-register, append-to-register, prepend-to-register)
3675 (copy-rectangle-to-register): Use register-read-with-preview to
3676 read register. (Bug#15525)
3677
3986af6c
DS
36782013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3679
3680 * net/network-stream.el (network-stream-open-starttls): Don't add
3681 --insecure if it's already present, because that gnutls-cli
3682 rejects getting that parameter twice.
3683
5cd9cda9
DG
36842013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3685
3686 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3687 keyword, too.
3688
da9ea6d9
DG
36892013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3690
3691 * newcomment.el (comment-use-global-state): Change default value
3692 to t, mark obsolete (Bug#15251).
3693 (comment-beginning): In addition to `comment-to-syntax', check the
3694 value of `comment-use-global-state'.
3695
34d1a133
SM
36962013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3697
3698 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3699 (ruby-comment-column): Follow the global default, by default.
3700 (ruby-smie-grammar): Add assignment syntax.
3701 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3702 open-paren, a comma, or a \.
3703 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3704 and line continuations.
3705 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3706 followed by implicit semi-colons. Add rule for string concatenation
3707 and for indentation at BOB.
3708 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3709
3710 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3711 calling next-sexp, since next-token may have skipped chars which
3712 next-sexp doesn't know should be skipped!
3713
6f6ab820
LL
37142013-10-05 Leo Liu <sdl.web@gmail.com>
3715
34d1a133
SM
3716 * progmodes/octave.el (octave-send-region):
3717 Call compilation-forget-errors.
6f6ab820 3718
34ca0f4c
XF
37192013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3720
3721 * vc/vc-svn.el (vc-svn-find-admin-dir):
3722 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3723 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3724 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3725 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3726
a27c1b72
SM
37272013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3729 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3730
258ab3bc
SM
37312013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3732
3733 * subr.el (read-passwd): Hide chars even when called within a context
3734 where after-change-functions is disabled (bug#15501).
3735 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3736 until we removed ourself from overriding-terminal-local-map.
3737
939fb29c
LL
37382013-10-04 Leo Liu <sdl.web@gmail.com>
3739
258ab3bc
SM
3740 * progmodes/octave.el (inferior-octave-mode):
3741 Call compilation-forget-errors.
939fb29c 3742
63bd7f35
XF
37432013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3744
3745 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3746
9e6229fa
MA
37472013-10-04 Michael Albinus <michael.albinus@gmx.de>
3748
3749 * net/secrets.el (secrets-create-collection): Add optional
3750 argument ALIAS. Use proper Label keyword. Append ALIAS as
3751 dbus-call-method argument. (Bug#15516)
3752
1dab32a3
LL
37532013-10-04 Leo Liu <sdl.web@gmail.com>
3754
3755 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3756 (inferior-octave-compilation-font-lock-keywords): New variables.
3757 (compilation-error-regexp-alist)
3758 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3759 (inferior-octave-mode): Use compilation-shell-minor-mode.
3760
6cad7ba3
JS
37612013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3762
3763 * minibuffer.el (completion--replace): Be careful that `end' might be
3764 a marker.
3765
acbadd00
DU
37662013-10-03 Daiki Ueno <ueno@gnu.org>
3767
3768 Add support for package signature checking.
3769 * emacs-lisp/package.el (url-http-file-exists-p)
3770 (epg-make-context, epg-context-set-home-directory)
3771 (epg-verify-string, epg-context-result-for)
3772 (epg-signature-status, epg-signature-to-string)
3773 (epg-check-configuration, epg-configuration)
3774 (epg-import-keys-from-file): Declare.
3775 (package-check-signature): New user option.
3776 (package-unsigned-archives): New user option.
3777 (package-desc): Add `signed' field.
3778 (package-load-descriptor): Set `signed' field if .signed file exists.
3779 (package--archive-file-exists-p): New function.
3780 (package--check-signature): New function.
3781 (package-install-from-archive): Check package signature.
3782 (package--download-one-archive): Check archive signature.
3783 (package-delete): Remove .signed file.
3784 (package-import-keyring): New command.
3785 (package-refresh-contents): Import default keyring.
3786 (package-desc-status): Add "unsigned" status.
3787 (describe-package-1, package-menu--print-info)
3788 (package-menu-mark-delete, package-menu--find-upgrades)
3789 (package-menu--status-predicate): Support "unsigned" status.
3790
adf2aa61
SM
37912013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3792
3793 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3794 the new compilation scheme using the new byte-codes.
3795
3796 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3797 (byte-pophandler): New byte codes.
3798 (byte-goto-ops): Adjust accordingly.
3799 (byte-compile--use-old-handlers): New var.
3800 (byte-compile-catch): Use new byte codes depending on
3801 byte-compile--use-old-handlers.
3802 (byte-compile-condition-case--old): Rename from
3803 byte-compile-condition-case.
3804 (byte-compile-condition-case--new): New function.
3805 (byte-compile-condition-case): New function that dispatches depending
3806 on byte-compile--use-old-handlers.
3807 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3808 when we can.
3809
3810 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3811 Optimize under `condition-case' and `catch' if
3812 byte-compile--use-old-handlers is nil.
3813 (disassemble-offset): Handle new bytecodes.
3814
328a8179
SM
38152013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3816
3817 * subr.el (error): Use `declare'.
3818 (decode-char, encode-char): Use advertised-calling-convention instead
3819 of the docstring to discourage use of the `restriction' arg.
3820
15a1e936
DU
38212013-10-03 Daiki Ueno <ueno@gnu.org>
3822
3823 * epg.el (epg-verify-file): Add a comment saying that it does not
3824 notify verification error as a return value nor a signal.
3825 (epg-verify-string): Ditto.
3826
376f862a
KR
38272013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3828
3829 * progmodes/compile.el (compilation-start): Try globbing the arg to
3830 `cd' (bug#15417).
3831
a2f93a5f
MA
38322013-10-02 Michael Albinus <michael.albinus@gmx.de>
3833
3834 Sync with Tramp 2.2.8.
3835
3836 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3837 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3838 * net/trampver.el: Update release number.
3839
0daa0804
JD
38402013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3841
3842 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3843 and default-process-coding-system for darwin only.
3844
abd1ae34
SM
38452013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3846
3847 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3848
be4e325d
MH
38492013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3850
3851 * vc/vc-git.el (vc-git-grep): Disable pager.
3852
e9155c4a
DG
38532013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3854
494e898b
DG
3855 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3856 Use :url instead of :homepage, as per
3857 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3858
e9155c4a
DG
3859 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3860 non-nil, use `syntax-ppss' (Bug#15251).
3861
481a8e0f
RS
38622013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3863
be4e325d
MH
3864 * progmodes/octave.el (inferior-octave-startup-file):
3865 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3866
056453c6
DG
38672013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3868
be4e325d
MH
3869 * emacs-lisp/package.el (package-desc-from-define):
3870 Accept additional arguments as plist, convert them to an alist and store
3871 them in the `extras' slot.
056453c6
DG
3872 (package-generate-description-file): Convert extras alist back to
3873 plist and append to the `define-package' form arguments.
3874 (package--alist-to-plist): New function.
3875 (package--ac-desc): Add `extras' slot.
3876 (package--add-to-archive-contents): Check if the archive-contents
3877 vector is long enough, and if it is, pass its `extras' slot value
3878 to `package-desc-create'.
3879 (package-buffer-info): Call `lm-homepage', pass the returned value
3880 to `package-desc-from-define'.
3881 (describe-package-1): Render the homepage button (Bug#13291).
3882
be4e325d
MH
3883 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3884 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3885
832966e5
JD
38862013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3887
3888 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3889 and default-process-coding-system to utf-8-unix (Bug#15402).
3890
6cfe977d
XF
38912013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3892
3893 * subr.el (looking-back): Do not recommend using looking-back.
3894
38de11bd
AM
38952013-09-28 Alan Mackenzie <acm@muc.de>
3896
3897 Fix indentation/fontification of Java enum with "implements".
3898
3899 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3900 regexp which matches "implements", etc., in Java.
3901 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3902 specifier clauses coming after "enum".
3903 * progmodes/cc-fonts.el (c-font-lock-declarations)
3904 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3905 after "enum".
3906
1610938f
JD
39072013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3908
3909 * faces.el (region): Change ns_selection_color to
3910 ns_selection_fg_color, add ns_selection_bg_color.
3911
e090f499
LL
39122013-09-28 Leo Liu <sdl.web@gmail.com>
3913
4d2e94d1
LL
3914 * progmodes/octave.el (inferior-octave-completion-table)
3915 (inferior-octave-completion-at-point): Minor tweaks.
3916
e090f499
LL
3917 * textmodes/ispell.el (ispell-lookup-words): Rename from
3918 lookup-words. (Bug#15460)
3919 (lookup-words): Obsolete.
3920 (ispell-complete-word, ispell-command-loop): All uses changed.
3921
7e138a62
RS
39222013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3923
3924 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3925 (octave-mode-menu): Add octave-send-buffer.
3926 (octave-send-buffer): New function.
3927
5af5ed08
RS
39282013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3929
3930 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3931 octave-lookfor.
3932 (octave-mode-menu): Add octave-lookfor.
3933 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3934 octave-lookfor.
3935 (octave-lookfor): New function.
3936
3b7b2692
SM
39372013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * emacs-lisp/cl-macs.el:
3940 (cl--loop-destr-temps): Remove.
3941 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3942 its convention.
3943 (cl--loop-set-iterator-function): New function.
3944 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3945 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3946 Bind `it' with `let' instead of substituting it with `cl-subst'.
3947 (cl--unused-var-p): New function.
3948 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3949 Eliminate some unused variable warnings (bug#15326).
3950
529fb53f
TH
39512013-09-27 Tassilo Horn <tsdh@gnu.org>
3952
3953 * doc-view.el (doc-view-scale-reset): Rename from
3954 `doc-view-reset-zoom-level'.
3955 (doc-view-scale-adjust): New command.
3956 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3957 `doc-view-scale-adjust'.
3958
0550c95a
TH
39592013-09-26 Tassilo Horn <tsdh@gnu.org>
3960
3961 * doc-view.el (doc-view-reset-zoom-level): New command.
3962 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3963 zoom commands (bug#15466).
3964
6950f152
KH
39652013-09-26 Kenichi Handa <handa@gnu.org>
3966
3967 * international/quail.el (quail-help): Make it not a command.
3968
39587580
LL
39692013-09-26 Leo Liu <sdl.web@gmail.com>
3970
3971 * minibuffer.el (completion-all-sorted-completions): Make args
3972 optional as they are.
3973
00578659
DC
39742013-09-25 Daniel Colascione <dancol@dancol.org>
3975
3976 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3977 specs are and that they're not evaluated.
3978
0c173878
SS
39792013-09-24 Sam Steingold <sds@gnu.org>
3980
3981 * midnight.el (clean-buffer-list-kill-regexps)
3982 (clean-buffer-list-kill-buffer-names): Update for the new Man
3983 buffer naming which includes the object name.
3984
84998447
SM
39852013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3986
3987 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3988 (eshell-parse-command, eshell-parse-pipeline): Use it since
3989 eshell-separate-commands requires a dynamic scoped var.
3990 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3991
33215353
LL
39922013-09-23 Leo Liu <sdl.web@gmail.com>
3993
3994 * autoinsert.el (auto-insert-alist): Make the value of
3995 lexical-binding match its file setting.
3996
57b16162
JB
39972013-09-23 Juanma Barranquero <lekktu@gmail.com>
3998
c8af4e67
JB
3999 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4000
57b16162
JB
4001 * autoarg.el (autoarg-kp-digit-argument):
4002 * electric.el (Electric-command-loop):
4003 * kmacro.el (kmacro-step-edit-insert):
4004 Do not set universal-argument-num-events.
4005
7186ba60
LL
40062013-09-22 Leo Liu <sdl.web@gmail.com>
4007
4008 * files.el (interpreter-mode-alist): Add octave.
4009
ece15004
AM
40102013-09-21 Alan Mackenzie <acm@muc.de>
4011
4012 C++: fontify identifier in declaration following "public:" correctly.
4013 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4014 to match "public", etc.
4015 (c-decl-prefix-re): Add ":" into the C++ value.
4016 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4017 bit. Add a check for a ":" preceded by "public", etc.
4018
75d83e22
EZ
40192013-09-21 Eli Zaretskii <eliz@gnu.org>
4020
4021 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4022 recognized by GDB 7.5 and later.
4023
d052d3bd
XF
40242013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4025
4026 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4027
31dca772
R
40282013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4029
4030 * subr.el (internal--call-interactively): New const.
4031 (called-interactively-p): Use it (bug#3984).
4032
98ccf24e
XF
40332013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4034
4035 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4036 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4037 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4038
c39cc7d1
SM
40392013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4042 (eshell-ls-orig-insert-directory): Remove.
4043 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4044 (eshell-ls-use-in-dired): Use advice-add/remove.
4045 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4046 Add `orig-fun' arg for use in :around advice.
4047 Make it check (redundantly) eshell-ls-use-in-dired.
4048
9a0289a2
GM
40492013-09-19 Glenn Morris <rgm@gnu.org>
4050
a2c501b8
GM
4051 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4052
c440407a
GM
4053 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4054
9a0289a2
GM
4055 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4056
85e05915
MA
40572013-09-19 Michael Albinus <michael.albinus@gmx.de>
4058
4059 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4060 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4061 (tramp-get-remote-python): New defuns.
4062 (tramp-get-remote-uid-with-perl)
4063 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4064 contributed by yary <not.com@gmail.com> (tiny change).
4065 (tramp-get-remote-uid-with-python)
4066 (tramp-get-remote-gid-with-python): New defuns. Python code
4067 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4068 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4069
ce503312
GM
40702013-09-19 Glenn Morris <rgm@gnu.org>
4071
f7544773
GM
4072 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4073
72fd2877
GM
4074 * eshell/em-unix.el (eshell-remove-entries):
4075 Rename argument to avoid name-clash with global `top-level'.
4076
336b5a56
GM
4077 * eshell/esh-proc.el (eshell-kill-process-function):
4078 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4079 (eshell-reset-after-proc): Remove unused arg `proc'.
4080
57a3a53d
GM
4081 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4082 (directory-files-and-attributes): Mark unused arg.
4083
3261d4af
GM
4084 * eshell/em-unix.el (eshell-remove-entries):
4085 Remove unused arg `path'. Update callers.
4086
8e51b5d0
GM
4087 * eshell/em-hist.el (eshell-hist-parse-arguments):
4088 Remove unused arg `silent'. Update callers.
4089
ce503312
GM
4090 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4091 Fix (f)boundp mix-up.
4092
4093 * eshell/em-smart.el (eshell-smart-scroll-window)
4094 (eshell-disable-after-change):
336b5a56 4095 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4096
ee3ce8a7
AM
40972013-09-18 Alan Mackenzie <acm@muc.de>
4098
4099 Fix fontification of type when followed by "const".
4100 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4101 "known" types from fontification.
4102
ec9177ba
GM
41032013-09-18 Glenn Morris <rgm@gnu.org>
4104
7bb3e768
GM
4105 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4106 (chart-face-list): Drop Emacsen without display-color-p.
4107
5148da15
GM
4108 * net/eww.el (libxml-parse-html-region): Declare.
4109 (eww-display-html): Explicit error if no libxml2 support.
4110
2f68e157
GM
4111 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4112
9019d095
GM
4113 * image.el (image-type-from-buffer, image-multi-frame-p):
4114 Remove --without-x warning/error.
67645389 4115
5f30349b 4116 * mouse.el (mouse-yank-primary):
45069b2e 4117 * term.el (term-mouse-paste):
5f30349b
GM
4118 Reorder to silence --without-x compilation.
4119
cd8edbbe
GM
4120 * mpc.el (doc-view-mode): Silence --without-x compilation.
4121
8a78544e
GM
4122 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4123 Silence --without-x compilation.
4124
12679bfd
GM
4125 * progmodes/gud.el (gud-find-file, gud-mode):
4126 Silence --without-x compilation.
4127 (tooltip-mode): Declare.
30810a05 4128
f0047cb9
GM
4129 * wdired.el (dired-backup-overwrite): Remove declaration.
4130 (wdired-mode-map): Add doc string.
4131
e740f9d2
GM
4132 * custom.el (x-get-resource): Declare.
4133
92d77c89
GM
4134 * eshell/em-glob.el (ange-cache):
4135 * eshell/em-unix.el (ange-cache): Declare.
4136
76e69577
GM
4137 * faces.el (x-display-list, x-open-connection, x-get-resource):
4138 Declare.
7e58af4b
GM
4139
4140 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4141 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4142 Declare.
76e69577 4143
4bd4c0af 4144 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4145
ffb82dbd
GM
4146 * net/gnutls.el (gnutls-log-level): Declare.
4147
986ed135
GM
4148 * net/shr.el (image-size, image-animate): Declare.
4149
e740f9d2
GM
4150 * simple.el (font-info): Declare.
4151
d2f3e9f8
GM
4152 * subr.el (x-popup-dialog): Declare.
4153
047a1a4c
GM
4154 * term/common-win.el (x-select-enable-primary)
4155 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4156 Declare.
4157
f4a1d572
GM
4158 * term/ns-win.el (x-handle-args): Declare.
4159
e843de77
GM
4160 * term/x-win.el (x-select-enable-clipboard): Declare.
4161
5fa89513
GM
4162 * term/w32-win.el (create-default-fontset): Declare.
4163
38702b5b
GM
4164 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4165 Declare.
4166
e740f9d2
GM
4167 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4168 (fit-frame-to-buffer): Explicit error if --without-x.
4169 (mouse-autoselect-window-select): Silence compiler.
4170
49a053fc
GM
4171 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4172
4173 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4174 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4175 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4176 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4177 Remove unused local variables.
4178
4179 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4180
ec9177ba
GM
4181 * textmodes/two-column.el: Make 2C-split work for --without-x.
4182 (scroll-bar-columns): Autoload.
4183 (top-level): Require fringe when compiling.
4184
9f25cb77
LL
41852013-09-18 Leo Liu <sdl.web@gmail.com>
4186
4187 * subr.el (add-hook): Robustify to handle closure as well.
4188
2b42da98
GM
41892013-09-17 Glenn Morris <rgm@gnu.org>
4190
4191 * simple.el (messages-buffer-mode-map): Unbind "g".
4192
e8b66a6a
SM
41932013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4194
9c0ad4f7
SM
4195 * help-mode.el (help-mode-finish): Use derived-mode-p.
4196 Remove obsolete highlighting.
4197
7a806dfb
SM
4198 * play/life.el (life-mode): Use define-derived-mode. Derive from
4199 special-mode.
4200 (life): Let-bind inhibit-read-only.
4201 (life-setup): Avoid `setq'. Use `life-mode'.
4202
96dbf5a8
SM
4203 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4204 which should not be needed any more.
4205 (package-menu-refresh, package-menu-describe-package): Use user-error.
4206
e8b66a6a
SM
4207 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4208 (eshell-post-rewrite-command-hook): Make obsolete.
4209 (eshell-parse-command): Simplify.
4210 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4211 (eshell--cmd): Declare.
4212 (eshell-parse-pipeline): Remove unused var `final-p'.
4213 Pass a dynvar to eshell-post-rewrite-command-hook.
4214 Implement the new eshell-post-rewrite-command-function.
4215 (eshell-invoke-directly): Remove unused arg `input'.
4216 * eshell/esh-io.el (eshell-io-initialize):
4217 Use eshell-post-rewrite-command-function (bug#15399).
4218 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4219 adjust to new calling convention.
4220 (eshell-create-handles): Rename args to avoid clashing with dynvar
4221 `standard-output'.
4222
90582f05
GM
42232013-09-17 Glenn Morris <rgm@gnu.org>
4224
4225 * simple.el (messages-buffer-mode): New major mode.
4226 (messages-buffer): New function.
4227 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4228 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4229 (ert-run-test): Use `messages-buffer' function.
90582f05 4230 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4231 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4232 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4233
39eb0cb5 42342013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4235
4236 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4237
1d42e5b6 4238 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4239
70568a90
SM
42402013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4241
504a0381
SM
4242 * icomplete.el (icomplete-in-buffer): New var.
4243 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4244 vars and replace them with functions.
4245 (icomplete-minibuffer-setup): Adjust accordingly.
4246 (icomplete--completion-table, icomplete--completion-predicate)
4247 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4248 New functions.
4249 (icomplete-forward-completions, icomplete-backward-completions)
4250 (icomplete-simple-completing-p, icomplete-exhibit)
4251 (icomplete-completions): Use them.
4252 (icomplete--in-region-buffer): New var.
4253 (icomplete--in-region-setup): New function.
4254 (icomplete-mode): Use it.
4255
70568a90
SM
4256 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4257 (bug#15379).
4258 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4259 return args and options.
4260 (eshell-eval-using-options): Use the new return value of
4261 eshell--do-opts to set the options's vars in their scope.
4262 (eshell--set-option): Rename from eshell-set-option.
4263 Add arg `opt-vals'.
4264 (eshell--process-option): Rename from eshell-process-option.
4265 Add arg `opt-vals'.
4266 (eshell--process-args): Use an `opt-vals' alist to store the options's
4267 values during their processing and return them additionally to the
4268 remaining args.
4269
578c21bc
DG
42702013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4271
4272 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4273 continuation character an operator, as far as indentation is
4274 concerned (Bug#15369).
4275
c089653d
MR
42762013-09-15 Martin Rudalics <rudalics@gmx.at>
4277
4278 * window.el (window--state-put-2): Don't process buffer state
4279 when buffer doesn't exist any more (Bug#15382).
4280
1e53bb4b
GM
42812013-09-15 Glenn Morris <rgm@gnu.org>
4282
30753242
GM
4283 * eshell/em-unix.el (eshell/rm):
4284 Make -f ignore missing files. (Bug#15373)
4285
1e53bb4b
GM
4286 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4287 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4288 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4289
0d8863b3
GM
42902013-09-14 Glenn Morris <rgm@gnu.org>
4291
4292 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4293
d3fc6549
GM
42942013-09-13 Glenn Morris <rgm@gnu.org>
4295
4296 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4297 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4298
fcd42c11
DA
42992013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4300
4301 * frame.el (x-focus-frame): Mark as declared in frame.c.
4302
7830899f
SM
43032013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4304
4305 * ls-lisp.el: Use advice-add.
4306 (original-insert-directory): Remove.
4307 (ls-lisp--insert-directory): Rename from insert-directory; add
4308 `orig-fun' argument.
4309 (insert-directory): Advise.
4310
84387cd2
EZ
43112013-09-13 Eli Zaretskii <eliz@gnu.org>
4312
4313 * term.el (term-emulate-terminal): Decode the command string
4314 before passing it to term-command-hook. (Bug#15337)
4315
35ffc6ba
GM
43162013-09-13 Glenn Morris <rgm@gnu.org>
4317
5c3f9bcc
GM
4318 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4319
2ada368a
GM
4320 * eshell/esh-ext.el (eshell-search-path): Declare.
4321
fcef2e13
GM
4322 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4323 Otherwise an error occurs if eshell-dirs module not loaded.
4324
35ffc6ba
GM
4325 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4326
35c3d36e
MA
43272013-09-13 Michael Albinus <michael.albinus@gmx.de>
4328
4329 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4330 `tramp-check-proper-host'. Check for a valid method name.
4331
4332 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4333 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4334 * net/tramp-sh.el (tramp-maybe-open-connection):
4335 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4336
4337 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4338 also for hash values.
4339
ae5e4c48
SM
43402013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4341
379add74
SM
4342 * term/ns-win.el (parameters): Don't declare as dynamic.
4343 (before-make-frame-hook): Don't add ineffective function.
4344
ae5e4c48
SM
4345 * eshell/*.el: Use lexical-binding (bug#15231).
4346
b5623270
KH
43472013-09-12 Kenichi Handa <handa@gnu.org>
4348
ae5e4c48 4349 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4350
30213927
GM
43512013-09-12 Glenn Morris <rgm@gnu.org>
4352
be94d713 4353 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4354 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4355
44915370
GM
4356 * subr.el (do-after-load-evaluation): Also give compiler warnings
4357 when obsolete files are used (except by obsolete files).
4358
a6ae021f
GM
4359 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4360 in the status output, assume `filename' is the first. (Bug#15322)
4361
40e64f0c
GM
4362 * vc/vc.el (vc-deduce-fileset): Doc fix.
4363
16d9f896
GM
4364 * calc/calc-help.el (Info-goto-node):
4365 * progmodes/cperl-mode.el (Info-find-node):
4366 * vc/ediff.el (Info-goto-node): Update declarations.
4367
dea01c6e
GM
4368 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4369
759880bf 4370 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4371 (vc-bzr-pull): Require vc-dispatcher.
4372 * vc/vc-git.el (vc-compilation-mode): Declare.
4373 (vc-git-pull): Require vc-dispatcher.
4374
08d66420
GM
4375 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4376
30b626e9
GM
4377 * progmodes/octave.el (help-button-action): Declare.
4378
8c05cb10
GM
4379 * shell.el (shell-directory-tracker): Output error as a message
4380 rather than just returning it as a string.
4381 (shell-process-pushd): Remove useless use of message.
4382
30213927
GM
4383 * dframe.el (dframe-timer-fn):
4384 * files.el (dir-locals-read-from-file):
4385 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4386 (mpc-format):
4387 * reveal.el (reveal-post-command):
4388 * saveplace.el (load-save-place-alist-from-file):
4389 * shell.el (shell-resync-dirs):
4390 * w32-common-fns.el (x-get-selection-value):
4391 * emacs-lisp/copyright.el (copyright-find-copyright):
4392 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4393 * emulation/tpu-edt.el (tpu-copy-keyfile):
4394 * play/bubbles.el (bubbles--mark-neighbourhood):
4395 * progmodes/executable.el
4396 (executable-make-buffer-file-executable-if-script-p):
4397 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4398
d3b049e6
SM
43992013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4400
170266d0
SM
4401 Cleanup Eshell to rely less on dynamic scoping.
4402 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4403 last-value, and ext-command here. Bind `args' closer to `body'.
4404 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4405 (eshell--args): Declare new dynamic var.
4406 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4407 last-value, and ext-command. Pass `args' to `body'.
4408 (eshell-process-args): Bind eshell--args.
4409 (eshell-set-option): Use eshell--args.
4410 * eshell/eshell.el (eshell): Use derived-mode-p.
4411 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4412 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4413 (eshell-glob-function): Declare.
4414 * eshell/esh-util.el: Require cl-lib.
4415 (eshell-read-hosts-file): Avoid add-to-list.
4416 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4417 `err'.
4418 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4419 Declare.
4420 (eshell/diff): Remove unused var `err'.
4421 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4422 `killflag'.
4423 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4424 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4425 first use.
4426 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4427 Move declaration before first use.
4428 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4429 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4430 rely on cl-return.
4431
56834f3b
GM
44322013-09-12 Glenn Morris <rgm@gnu.org>
4433
4434 * term/ns-win.el (global-map): Remove binding for ispell-next,
4435 deleted 1999-05-29. (Bug#15357)
4436
5c91a2b8
GM
44372013-09-11 Glenn Morris <rgm@gnu.org>
4438
da712f22
GM
4439 * echistory.el (electric-command-history): Remove call to deleted func.
4440
512e4cdc
GM
4441 * play/landmark.el (landmark-mode): Fix typos.
4442
d3506ca5
GM
4443 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4444 Check cvs-sort-ignore-file is bound.
4445
5c91a2b8
GM
4446 * savehist.el: No need for cl when compiling on Emacs.
4447
feeff482
SM
44482013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4449
656bd483
SM
4450 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4451 (bug#15338).
d3b049e6
SM
4452 (eshell-self-insert-command, eshell-send-invisible):
4453 Remove unused argument.
656bd483
SM
4454 (eshell-handle-control-codes): Remove unused var `orig'.
4455 Avoid delete-backward-char.
4456
feeff482
SM
4457 * files.el (set-auto-mode): Simplify a bit further.
4458
2a08047a
GM
44592013-09-11 Glenn Morris <rgm@gnu.org>
4460
4461 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4462 (set-auto-mode): Don't regexp-quote elements.
4463 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4464 * progmodes/cc-mode.el (interpreter-mode-alist):
4465 * progmodes/ruby-mode.el (interpreter-mode-alist):
4466 Revert previous change.
4467
34675540
SM
44682013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4469
1b3b87df
SM
4470 * play/snake.el (snake-mode):
4471 * play/mpuz.el (mpuz-mode):
4472 * play/landmark.el (lm-mode):
4473 * play/blackbox.el (blackbox-mode):
4474 * play/5x5.el (5x5-mode):
4475 * obsolete/options.el (Edit-options-mode):
4476 * net/quickurl.el (quickurl-list-mode):
4477 * net/newst-treeview.el (newsticker-treeview-mode):
4478 * mail/rmailsum.el (rmail-summary-mode):
4479 * mail/mspools.el (mspools-mode):
4480 * locate.el (locate-mode):
4481 * ibuffer.el (ibuffer-mode):
4482 * emulation/ws-mode.el (wordstar-mode):
4483 * emacs-lisp/debug.el (debugger-mode):
4484 * array.el (array-mode):
4485 * net/eudc.el (eudc-mode): Use define-derived-mode.
4486 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4487 Move initialization into declaration.
4488 (mairix-searches-mode): Use define-derived-mode.
4489 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4490 (eudc-edit-hotlist): Use dolist.
4491 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4492 (Man-mode): Use define-derived-mode.
4493 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4494 (Info-edit-mode): Use define-derived-mode.
4495 (Info-cease-edit): Use Info-mode.
4496 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4497 into declaration.
4498 (eshell-mode): Use define-derived-mode.
4499 * chistory.el (command-history-mode-map): Rename from
4500 command-history-map.
4501 (command-history-mode): Use define-derived-mode.
da712f22 4502 (Command-history-setup): Remove function.
1b3b87df
SM
4503 * calc/calc.el (calc-trail-mode-map): New var.
4504 (calc-trail-mode): Use define-derived-mode.
4505 (calc-trail-buffer): Set calc-main-buffer manually.
4506 * bookmark.el (bookmark-insert-annotation): New function.
4507 (bookmark-edit-annotation): Use it.
4508 (bookmark-edit-annotation-mode): Make it a proper major mode.
4509 (bookmark-send-edited-annotation): Use derived-mode-p.
4510 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4511 closer to its ideal place. Use \' to match EOS.
4512
34675540
SM
4513 * profiler.el (profiler-calltree-find): Use function-equal.
4514
6a5c15d9
GM
45152013-09-10 Glenn Morris <rgm@gnu.org>
4516
1af4c220
GM
4517 * files.el (interpreter-mode-alist): Convert to regexps.
4518 (set-auto-mode): Adapt for this. (Bug#15306)
4519 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4520 Comment out unused variable.
4521 * progmodes/cc-mode.el (interpreter-mode-alist):
4522 * progmodes/python.el (interpreter-mode-alist):
4523 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4524 * progmodes/sh-script.el (sh-set-shell):
4525 No longer use interpreter-mode-alist to get list of shells.
4526
6a5c15d9
GM
4527 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4528
8c27f5ff
SM
45292013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4530
02ef6c1a 4531 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4532 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4533 Bind switch-frame explicitly. Replace universal-argument-minus with
4534 a conditional binding.
4535 (universal-argument-num-events, saved-overriding-map): Remove.
4536 (restore-overriding-map): Remove.
4537 (universal-argument--mode): Rename from save&set-overriding-map,
4538 and rewrite.
4539 (universal-argument, universal-argument-more, negative-argument)
4540 (digit-argument): Adjust accordingly.
4541 (universal-argument-minus): Remove.
4542 (universal-argument-other-key): Remove.
4543
8c27f5ff
SM
4544 * subr.el (with-demoted-errors): Add `format' argument.
4545
6480194c
MA
45462013-09-10 Michael Albinus <michael.albinus@gmx.de>
4547
4548 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4549 `tramp-cleanup-connection'.
4550
4551 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4552 parameters KEEP-DEBUG and KEEP-PASSWORD.
4553
4554 * net/tramp.el (tramp-file-name-handler):
4555 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4556 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4557 (tramp-maybe-open-connection):
8c27f5ff
SM
4558 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4559 Use `tramp-cleanup-connection'.
6480194c 4560
8c27f5ff
SM
4561 * net/tramp-sh.el (tramp-maybe-open-connection):
4562 Catch 'uname-changed inside the progress reporter.
6480194c 4563
e5e916d8
GM
45642013-09-10 Glenn Morris <rgm@gnu.org>
4565
9a2c9b47
GM
4566 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4567
e5e916d8
GM
4568 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4569 returns "alternate access method" in mode (eg "-rw-r--r--.").
4570
144e38fe
GM
45712013-09-08 Glenn Morris <rgm@gnu.org>
4572
4573 * saveplace.el (load-save-place-alist-from-file):
4574 Demote errors. (Bug#15305)
4575
af9ff9e8
MA
45762013-09-08 Michael Albinus <michael.albinus@gmx.de>
4577
4578 Improve compatibility with older Emacsen, and XEmacs.
4579
4580 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4581 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4582 (with-tramp-progress-reporter): Do not let-bind `result'.
4583 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4584 (tramp-handle-make-auto-save-file-name): New function, moved from
4585 tramp-sh.el.
4586
4587 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4588 for `make-auto-save-file-name'.
8c27f5ff
SM
4589 (tramp-adb--gnu-switches-to-ash):
4590 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4591
4592 * net/tramp-cache.el (tramp-cache-print): Call
4593 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4594
4595 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4596 bound. It isn't for XEmacs.
4597
8c27f5ff
SM
4598 * net/tramp-compat.el (tramp-compat-copy-file):
4599 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4600 (tramp-compat-replace-regexp-in-string): New defun.
4601
4602 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4603 for `make-auto-save-file-name'.
4604 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4605 `copy-file'.
4606 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4607 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4608 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4609
8c27f5ff
SM
4610 * net/tramp-gw.el (tramp-gw-open-network-stream):
4611 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4612
8c27f5ff
SM
4613 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4614 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4615 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4616 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4617 (tramp-sh-file-inotifywait-process-filter):
4618 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4619 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4620
4621 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4622 for `make-auto-save-file-name'.
8c27f5ff
SM
4623 (tramp-smb-handle-copy-directory):
4624 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4625 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4626 (tramp-smb-handle-copy-file): Improve error message.
4627 (tramp-smb-handle-rename-file): Rename directly only in case
4628 `newname' does not exist yet. This is a restriction of smbclient.
4629 (tramp-smb-maybe-open-connection): Rerun the function only when
4630 `auth-sources' is non-nil.
4631
0ca754d0
KH
46322013-09-08 Kenichi Handa <handa@gnu.org>
4633
e0eb0550 4634 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4635 more characters.
4636
e8dd0787
AM
46372013-09-07 Alan Mackenzie <acm@muc.de>
4638
4639 Correctly fontify Java class constructors.
4640 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4641 in Java Mode.
4642 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4643 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4644 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4645 "typeless" declaration there.
4646
f2f248e7
RW
46472013-09-07 Roland Winkler <winkler@gnu.org>
4648
4649 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4650 field subtitle for entry type book.
4651
67982e2b
SM
46522013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * minibuffer.el: Make minibuffer-complete call completion-in-region
4655 rather than other way around.
4656 (completion--some, completion-pcm--find-all-completions):
4657 Don't delay signals when debugging.
4658 (minibuffer-completion-contents): Beware fields within the
4659 minibuffer contents.
4660 (completion-all-sorted-completions): Use defvar-local.
4661 (completion--do-completion, completion--cache-all-sorted-completions)
4662 (completion-all-sorted-completions, minibuffer-force-complete):
4663 Add args `beg' and `end'.
4664 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4665 (minibuffer-complete): Use completion-in-region.
4666 (completion-complete-and-exit): New fun, extracted from
4667 minibuffer-complete-and-exit.
4668 (minibuffer-complete-and-exit): Use it.
4669 (completion--complete-and-exit): Rename from
4670 minibuffer--complete-and-exit.
4671 (completion-in-region--single-word): New function, extracted from
4672 minibuffer-complete-word.
4673 (minibuffer-complete-word): Use it.
4674 (display-completion-list): Make `common-substring' argument obsolete.
4675 (completion--in-region): Call completion--in-region-1 instead of
4676 minibuffer-complete.
4677 (completion-help-at-point): Pass boundaries to
4678 minibuffer-completion-help as args rather than via an overlay.
4679 (completion-pcm--string->pattern): Use `any-delim'.
4680 (completion-pcm--optimize-pattern): New function.
4681 (completion-pcm--pattern->regex): Handle `any-delim'.
4682 * icomplete.el (icomplete-forward-completions)
4683 (icomplete-backward-completions, icomplete-completions):
4684 Adjust calls to completion-all-sorted-completions and
4685 completion--cache-all-sorted-completions.
4686 (icomplete-with-completion-tables): Default to t.
4687 * emacs-lisp/crm.el (crm--current-element): Rename from
4688 crm--select-current-element. Don't put an overlay but return the
4689 boundaries instead.
4690 (crm--completion-command): Take two new args to bind to the boundaries.
4691 (crm-completion-help): Adjust accordingly.
4692 (crm-complete): Use completion-in-region.
4693 (crm-complete-word): Use completion-in-region--single-word.
4694 (crm-complete-and-exit): Use completion-complete-and-exit.
4695
e17d94a5
SM
46962013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4697
4698 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4699 than dynamically.
4700
96727100
JL
47012013-09-06 Juri Linkov <juri@jurta.org>
4702
4703 * info.el (Info-display-images-node): When image file doesn't exist
4704 display text version of the image if it's provided in the Info file.
4705 Otherwise, display the location of missing image from SRC attribute.
4706 Add help-echo text property from ALT attribute. (Bug#15279)
4707
86cf7329
SM
47082013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4709
4710 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4711 (edit-abbrevs-mode): Use define-derived-mode.
4712
4713 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4714 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4715 that it's defined.
4716 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4717 Use define-derived-mode.
4718
4719 * epg.el (epg-start-encrypt): Minor CSE simplification.
4720
816244a2
WX
47212013-09-06 William Xu <william.xwl@gmail.com>
4722
4723 * arc-mode.el: Add support for 7za (bug#15264).
4724 (archive-7z-program): New var.
4725 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4726 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4727 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4728
1486fa31
MA
47292013-09-06 Michael Albinus <michael.albinus@gmx.de>
4730
4731 Remove URL syntax.
4732
4733 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4734 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4735 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4736 (tramp-postfix-host-format, tramp-file-name-regexp)
4737 (tramp-completion-file-name-regexp)
4738 (tramp-completion-dissect-file-name)
4739 (tramp-handle-substitute-in-file-name): Remove 'url case.
4740 (tramp-file-name-regexp-url)
4741 (tramp-completion-file-name-regexp-url): Remove constants.
4742
39785324
GM
47432013-09-06 Glenn Morris <rgm@gnu.org>
4744
4745 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4746
1f896cb7
DG
47472013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4748
4749 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4750 keywords" below "here-doc beginnings" (Bug#15270).
4751
c0458e0b
SM
47522013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4753
4754 * subr.el (pop): Use `car-safe'.
4755 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4756 to detect unused `pop' return value.
4757
4758 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4759 var `block-regexp'.
4760 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4761 (python-fill-string): Remove unused var `marker'.
4762 (python-skeleton-add-menu-items): Remove unused var `items'.
4763
4764 * international/mule-cmds.el: Require CL.
4765 (find-coding-systems-for-charsets): Avoid add-to-list.
4766 (sanitize-coding-system-list): New function, extracted from
4767 select-safe-coding-system-interactively.
4768 (select-safe-coding-system-interactively): Use it.
4769 (read-input-method-name): Accept symbols for `default'.
4770
4771 * emacs-lisp/advice.el (defadvice): Add indent rule.
4772
6c42fc3e
DH
47732013-09-05 Daniel Hackney <dan@haxney.org>
4774
4775 * dired-x.el:
4776 * net/ange-ftp.el:
4777 * net/browse-url.el:
4778 * net/dbus.el:
4779 * net/eudc.el:
4780 * net/eudcb-ldap.el:
4781 * net/eww.el:
4782 * net/imap.el:
4783 * printing.el:
4784 * vc/ediff-diff.el:
4785 * vc/ediff-init.el:
4786 * vc/ediff-merg.el:
4787 * vc/ediff-mult.el:
4788 * vc/ediff-util.el:
4789 * vc/ediff-wind.el:
4790 * vc/ediff.el:
4791 * vc/emerge.el:
4792 * vc/pcvs.el:
4793 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4794 byte compiler. Remove some unused let-bound variables.
4795
4c528aab
SM
47962013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4797
4798 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4799 a "ref-cell", since it gets better optimized (bug#14883).
4800
bd15c390
GM
48012013-09-05 Glenn Morris <rgm@gnu.org>
4802
4803 * progmodes/cc-awk.el (c-forward-sws): Declare.
4804
1c3ac2e5
GM
48052013-09-04 Glenn Morris <rgm@gnu.org>
4806
4807 * generic-x.el [rul-generic-mode]: Require cc-mode.
4808 (c++-mode-syntax-table): Declare.
4809 (rul-generic-mode-syntax-table): Init in the defvar.
4810
52b1cc79
SM
48112013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4812
c828af56
SM
4813 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4814 (vc-do-command, vc-set-async-update):
4815 * vc/vc-mtn.el (vc-mtn-dir-status):
4816 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4817 (vc-hg-pull, vc-hg-merge-branch):
4818 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4819 (vc-git-merge-branch):
4820 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4821 (vc-cvs-dir-status-files):
4822 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4823 (vc-bzr-dir-status-files):
4824 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4825 * vc/vc-annotate.el: Use lexical-binding.
4826 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4827 (vc-sentinel-movepoint): Declare.
4828 (vc-annotate): Don't use `goto-line'.
4829 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4830 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4831 (vc-sentinel-movepoint): Declare.
4832 * vc/vc-svn.el: Use lexical-binding.
4833 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4834 * vc/vc-sccs.el:
4835 * vc/vc-rcs.el: Use lexical-binding.
4836
abae272c
SM
4837 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4838 `deleted'. Don't drop errors silently.
4839
52b1cc79
SM
4840 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4841
63191d9f
XF
48422013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4843
4844 * vc/vc.el (vc-ignore): Rewrite.
4845 (vc-default-ignore): New function.
4846 (vc-default-ignore-completion-table): Use find-ignore-file.
4847
4848 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4849 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4850 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4851 Remove. Most code moved to vc.el.
4852
9d3f707c
SM
48532013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4854
abae272c 4855 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4856 * net/tramp-smb.el (tramp-smb-get-file-entries):
4857 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4858 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4859
fde38d49
SM
4860 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4861 Update call to it.
4862 (eww-change-select): Remove unused var `properties'.
4863 (eww-make-unique-file-name): Remove unused var `base'.
4864
4865 * finder.el (finder-compile-keywords): Don't mess with windows.
4866
84032db7
SM
4867 * calculator.el (calculator-funcall): Fix typo in last change.
4868
724f5e41
SM
4869 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4870
14b511d4
SM
4871 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4872 <pkg>-autoloads.el file stop us.
4873
9d3f707c 4874 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4875 warnings, and factor out common code.
9d3f707c 4876
88527bc0
DG
48772013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4878
4879 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4880 two-character operators and whether the character preceding them
4881 changes their meaning (Bug#15208).
4882
96edb677
FEG
48832013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4884
4885 Format code sent to Python shell for robustness.
9d3f707c
SM
4886 * progmodes/python.el (python-shell-buffer-substring):
4887 New function.
96edb677
FEG
4888 (python-shell-send-region, python-shell-send-buffer): Use it.
4889
95beaef3
MA
48902013-09-02 Michael Albinus <michael.albinus@gmx.de>
4891
4892 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4893 * net/tramp.el (tramp-user-error): ... here.
4894 (tramp-find-method, tramp-check-proper-host)
4895 (tramp-dissect-file-name, tramp-debug-message)
4896 (tramp-handle-shell-command):
4897 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4898 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4899
4900 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4901
f167c27b
MR
49022013-09-02 Martin Rudalics <rudalics@gmx.at>
4903
4904 * avoid.el (mouse-avoidance-point-position)
4905 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4906 returns nil.
4907
cd16c5f1
FEG
49082013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4909
4910 * progmodes/python.el (python-shell-completion-get-completions):
4911 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4912 (python-nav-if-name-main): New command.
cd16c5f1 4913
e73c3a0d
GM
49142013-09-01 Glenn Morris <rgm@gnu.org>
4915
f8ccce03
GM
4916 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4917 Avoid leading space in $wins. Otherwise the sed command used by
4918 eg compile-main ends up containing "/*.el". (Bug#15170)
4919
e73c3a0d
GM
4920 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4921
415f808e
GM
49222013-08-30 Glenn Morris <rgm@gnu.org>
4923
4924 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4925 Fix is-this-a-directory logic. (Bug#15220)
4926
f069bba8
SM
49272013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4928
112798c1
SM
4929 * textmodes/css-mode.el: Use SMIE.
4930 (css-smie-grammar): New var.
4931 (css-smie--forward-token, css-smie--backward-token)
4932 (css-smie-rules): New functions.
4933 (css-mode): Use them.
4934 (css-navigation-syntax-table): Remove var.
4935 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4936 (css-indent-calculate, css-indent-line): Remove functions.
4937
4938 Misc changes to reduce use of `(lambda...); and other cleanups.
4939 * cus-edit.el: Use lexical-binding.
4940 (customize-push-and-save, customize-apropos)
4941 (custom-buffer-create-internal): Use closures.
4942 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4943 * progmodes/ada-xref.el: Use setq.
4944 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4945 * dframe.el: Use lexical-binding.
4946 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4947 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4948 * descr-text.el: Use lexical-binding.
4949 (describe-text-widget, describe-text-sexp, describe-property-list):
4950 Use closures.
4951 * comint.el (comint-history-isearch-push-state): Use a closure.
4952 * calculator.el: Use lexical-binding.
4953 (calculator-number-to-string): Make it work with lexical-binding.
4954 (calculator-funcall): Same and use cl-letf.
4955
2da4c3ab
SM
4956 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4957 (lisp--company-doc-string, lisp--company-location): New functions.
4958 (lisp-completion-at-point): Use them to improve Company support.
4959
f069bba8
SM
4960 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4961 params of lambda expressions.
4962 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4963 (ruby-smie--opening-pipe-p): New function.
4964 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4965 symbols and matched |...| for formal params.
4966 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4967 from being treated as hanging. Handle "rescue".
4968
6758b6a8
GM
49692013-08-29 Glenn Morris <rgm@gnu.org>
4970
4971 * progmodes/cc-engine.el (c-pull-open-brace):
4972 Move definition before use.
4973
e8dfd197
SM
49742013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4975
4976 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4977 are immutable. Don't use `unsafe' any more.
4978 (cl--defsubst-expand): Don't substitute at the same time as keeping
4979 a residual unused let-binding. Don't use `unsafe' any more.
4980
cc585c96
GM
49812013-08-29 Glenn Morris <rgm@gnu.org>
4982
ba579ea6
GM
4983 * calendar/cal-china.el (calendar-chinese-year-cache):
4984 Recenter on 2015.
4985
8201a87e
GM
4986 * nxml/nxml-util.el (nxml-debug-clear-inside):
4987 Use cl-loop rather than loop.
4988
6ee877c7
GM
4989 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4990
cc585c96
GM
4991 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4992
27be8d39
GM
49932013-08-28 Glenn Morris <rgm@gnu.org>
4994
397440a1
GM
4995 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4996
2bb762d4
GM
4997 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4998
27be8d39
GM
4999 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5000
2d69b99e
SM
50012013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5002
f663baa7
SM
5003 * simple.el (repeat-complex-command--called-interactively-skip):
5004 New function.
5005 (repeat-complex-command): Use it (bug#14136).
5006
dd4f8b74
SM
5007 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5008 (c-define-abbrev-table): Add `doc' argument.
5009 (c-mode-abbrev-table, c++-mode-abbrev-table)
5010 (objc-mode-abbrev-table, java-mode-abbrev-table)
5011 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5012 (awk-mode-abbrev-table): Use it.
5013 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5014 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5015 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5016 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5017 Move initialization into the declaration; and remove any
5018 autoload cookie.
5019
b58969f7
SM
5020 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5021 and dynamic let binding.
5022
4021d6a6
SM
5023 * vc/smerge-mode.el: Remove redundant :group args.
5024
2d69b99e
SM
5025 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5026 to load-path.
5027
274919fd
JL
50282013-08-28 Juri Linkov <juri@jurta.org>
5029
5030 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5031 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5032 (isearch-other-meta-char): Handle an undefined shifted printing
5033 character by downshifting it. (Bug#15200)
5034
121f8c95
JL
50352013-08-28 Juri Linkov <juri@jurta.org>
5036
5037 * isearch.el (isearch-search): Change regexp error message for
5038 non-regexp searches. (Bug#15166)
5039
50b13cde
PE
50402013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5041
5042 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5043 for portability to hosts where /bin/sh has problems.
5044
95888bca
SM
50452013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5046
5047 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5048
bbe558f1
JL
50492013-08-27 Juri Linkov <juri@jurta.org>
5050
5051 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5052 in the keyboard macro. (Bug#15126)
5053
26f98a7d
JL
50542013-08-27 Juri Linkov <juri@jurta.org>
5055
5056 * isearch.el (isearch-quote-char): Comment out converting unibyte
5057 to multibyte, thus syncing with its `quoted-insert' counterpart.
5058 (Bug#15166)
5059
7c97d35e
MR
50602013-08-27 Martin Rudalics <rudalics@gmx.at>
5061
5062 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5063 argument in call of get-largest-window (Bug#15185).
5064 Reported by Stephen Leake.
7c97d35e 5065
a0b5606e 50662013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5067
5068 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5069
9e89d835
SM
50702013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5071
5072 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5073 from a matcher-function unless there's no more matches (bug#15161).
5074
78fc2530
MA
50752013-08-26 Michael Albinus <michael.albinus@gmx.de>
5076
5077 * minibuffer.el: Revert change from 2013-08-20.
5078
5079 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5080 with text property `tramp-default', if appropriate.
5081 (tramp-check-proper-host): New defun.
5082 (tramp-dissect-file-name): Do not check hostname. Revert change
5083 of 2013-03-18.
5084 (tramp-backtrace): Make VEC-OR-PROC optional.
5085
5086 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5087 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5088 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5089 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5090 Apply `tramp-check-proper-host'.
78fc2530 5091
edca97cd
TH
50922013-08-26 Tassilo Horn <tsdh@gnu.org>
5093
5094 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5095 lambda expression in order to have `describe-variable' display it.
5096
df54bcbd
MA
50972013-08-26 Michael Albinus <michael.albinus@gmx.de>
5098
5099 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5100 BUF can be optional. (Bug#15186)
5101
eed99101
XF
51022013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5103
5104 * progmodes/flymake.el (flymake-get-real-file-name-function):
5105 Fix broken customization. (Bug#15184)
5106
b5eb9035
AM
51072013-08-25 Alan Mackenzie <acm@muc.de>
5108
8a51e842
AM
5109 Improve indentation of bracelists defined by macros (without "=").
5110
5111 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5112 expansion begins with "{", regard it as bracelist when it doesn't
5113 contain a ";".
5114
869455d4
AM
5115 Parse C++ inher-intro when there's a template split over 2 lines.
5116
5117 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5118 rigorously the search for "class" etc. followed by ":".
5119
5120 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5121 random languages a regexp which never matches rather than nil.
5122
b5eb9035
AM
5123 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5124
5125 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5126 (c-awk-regexp-one-line-possibly-open-char-list-re)
5127 (c-awk-one-line-possibly-open-regexp-re)
5128 (c-awk-one-line-non-syn-ws*-re): Remove.
5129 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5130 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5131 (c-awk-space*-unclosed-regexp-/-re): New constants.
5132 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5133 aren't regexp delimiters.
5134
5135 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5136 handling for a rare situation in AWK Mode involving unterminated
5137 strings/regexps.
5138
61611d54
GM
51392013-08-23 Glenn Morris <rgm@gnu.org>
5140
2d85dc34
GM
5141 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5142
cb8d2612
GM
5143 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5144
bb35f42f
GM
5145 * files.el (create-file-buffer): If the result would begin with
5146 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5147
b9808e77
SM
51482013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5149
e3a66363
SM
5150 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5151 text-properties (bug#15155).
5152
b9808e77
SM
5153 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5154 exist any more.
5155 (calc-keypad-redraw): Remove unused var `pad'.
5156 (calc-keypad-press): Remove unused var `menu'.
5157
7fd5f65e
MR
51582013-08-23 Martin Rudalics <rudalics@gmx.at>
5159
b9808e77
SM
5160 * window.el (display-buffer-pop-up-frame):
5161 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5162 use it as the new frame's buffer (Bug#15133).
5163
8352b530
SM
51642013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5165
5166 * calendar/timeclock.el: Minor cleanups.
5167 (timeclock-ask-before-exiting, timeclock-use-display-time):
5168 Use `symbol'.
5169 (timeclock-modeline-display): Define as alias before the
5170 actual definition.
5171 (timeclock-mode-line-display): Use define-minor-mode.
5172 (timeclock-day-list-template): Make it a function, add an argument.
5173 (timeclock-day-list-required, timeclock-day-list-length)
5174 (timeclock-day-list-debt, timeclock-day-list-span)
5175 (timeclock-day-list-break): Adjust calls accordingly.
5176
9f7b1925
SM
51772013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5180 Use read--expression so that completion works again.
5181
6e50e983
SS
51822013-08-21 Sam Steingold <sds@gnu.org>
5183
5184 Add rudimentary inferior shell interaction
5185 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5186 (sh-set-shell): Reset it.
9f7b1925
SM
5187 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5188 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5189
dbb0d350
SM
51902013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5191
5192 * align.el: Use lexical-binding.
5193 (align-region): Simplify accordingly.
5194
c88586a9
MA
51952013-08-20 Michael Albinus <michael.albinus@gmx.de>
5196
5197 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5198
5199 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5200 `non-essential' up.
5201
f95527c8
MA
52022013-08-17 Michael Albinus <michael.albinus@gmx.de>
5203
5204 * net/tramp.el:
5205 * net/tramp-adb.el:
5206 * net/tramp-cmds.el:
5207 * net/tramp-ftp.el:
5208 * net/tramp-gvfs.el:
5209 * net/tramp-gw.el:
5210 * net/tramp-sh.el: Don't wrap external variable declarations by
5211 `eval-when-compile'.
5212
4b5fe4ee
LMI
52132013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5214
5215 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5216 now that Emacs supports ImageMagick animations.
5217
13c366c9
MA
52182013-08-16 Michael Albinus <michael.albinus@gmx.de>
5219
5220 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5221 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5222
3dfc5cd6
MR
52232013-08-16 Martin Rudalics <rudalics@gmx.at>
5224
5225 * window.el (mouse-autoselect-window-select): Do autoselect when
5226 mouse pointer is on margin.
5227
4bbb4381
WP
52282013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5229
5230 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5231
3a2ddc2d
GM
52322013-08-16 Glenn Morris <rgm@gnu.org>
5233
e8bedf5a
GM
5234 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5235 Handle "Remote Directory" response of some clients. (Bug#15058)
5236
58c4682f
GM
5237 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5238 Tweak warning. (Bug#14926)
5239
57953f49
GM
5240 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5241 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5242
3a2ddc2d
GM
5243 * image-mode.el (image-mode-map): Add menu items to reverse,
5244 increase, decrease, reset animation speed.
5245 (image--set-speed, image-increase-speed, image-decrease-speed)
5246 (image-reverse-speed, image-reset-speed): New functions.
5247 (image-mode-map): Add bindings for speed commands.
5248
5249 * image.el (image-animate-get-speed, image-animate-set-speed):
5250 New functions.
5251 (image-animate-timeout): Respect image :speed property.
5252
10fa0ed3
SM
52532013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5254
5255 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5256 previous line (bug#15101).
5257 (debugger-eval-expression, debugger-record-expression):
5258 Use read--expression (bug#15102).
5259
5d89d9d2
MA
52602013-08-15 Michael Albinus <michael.albinus@gmx.de>
5261
5262 Remove byte compiler warnings, visible when compiling with
5263 `byte-compile-force-lexical-warnings' set to t.
5264
5265 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5266 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5267 (tramp-handle-unhandled-file-name-directory)
5268 (tramp-handle-file-notify-add-watch, tramp-action-login)
5269 (tramp-action-succeed, tramp-action-permission-denied)
5270 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5271 arguments with "_".
5272
5273 * net/tramp-adb.el (tramp-adb-parse-device-names)
5274 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5275 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5276 (tramp-adb-handle-file-truename): Remove unused arguments.
5277
5278 * net/tramp-cache.el (tramp-flush-directory-property)
5279 (tramp-flush-connection-property, tramp-list-connections)
5280 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5281
10fa0ed3
SM
5282 * net/tramp-compat.el (tramp-compat-make-temp-file):
5283 Rename FILENAME to F.
5d89d9d2
MA
5284
5285 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5286 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5287 (tramp-zeroconf-parse-workstation-device-names)
5288 (tramp-zeroconf-parse-webdav-device-names)
5289 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5290
5291 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5292 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5293
5294 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5295 arguments.
5296 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5297 (tramp-sh-handle-insert-file-contents-literally)
5298 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5299 with "_".
5300 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5301 Remove unused variables.
5302
5303 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5304 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5305 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5306
5307 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5308 Make them a defconst.
5309 (tramp-uuencode-region): Remove unused variable.
5310
62f33bae
JB
53112013-08-14 Juanma Barranquero <lekktu@gmail.com>
5312
5313 * frameset.el (frameset--prop-setter): New function.
5314 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5315 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5316 parameter was already set in FILTERED. Doc fix.
5317 (frameset--record-minibuffer-relationships): Allow saving a
5318 minibufferless frame without its corresponding minibuffer frame.
5319 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5320 frame, if the frame id matches.
5321 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5322 frames before orphaned ones.
5323 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5324
c660a885
MR
53252013-08-14 Martin Rudalics <rudalics@gmx.at>
5326
5327 * window.el (window-make-atom): Don't overwrite parameter
5328 already present.
5329 (display-buffer-in-atom-window): Handle special case where we
5330 split an already atomic window.
5331 (window--major-non-side-window, display-buffer-in-side-window)
5332 (window--side-check): Ignore minibuffer window when walking
5333 window tree.
5334 (window-deletable-p): Return 'frame only if no other frame uses
5335 our minibuffer window.
5336 (record-window-buffer): Run buffer-list-update-hook.
5337 (split-window): Make sure window--check-frame won't destroy an
5338 existing atomic window in case the new window gets nested
5339 inside.
5340 (display-buffer-at-bottom): Ignore minibuffer window when
5341 walking window tree. Don't split a side window.
5342 (pop-to-buffer): Don't set-buffer here, the select-window call
5343 should do that.
5344 (mouse-autoselect-window-select): Autoselect only if we are in the
5345 text portion of the window.
5346
8259030d
LMI
53472013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5348
21c58ae2
LMI
5349 * net/shr.el (shr-parse-image-data): New function to grab both the
5350 data itself and the Content-Type.
5351 (shr-put-image): Use it.
5352
5353 * net/eww.el (eww-display-image): Ditto.
5354
8259030d
LMI
5355 * image.el (image-content-type-suffixes): New variable.
5356
ad756449
FEG
53572013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5358
5359 * progmodes/python.el (python-imenu--build-tree)
5360 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5361
f73f4ce6
XF
53622013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5363
5364 * simple.el (backward-word): Mention the optional argument.
5365
1f585e65
SM
53662013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * frameset.el (frameset--make): Rename constructor from make-frameset.
5369 (frameset-p, frameset-valid-p): Don't autoload.
5370 (frameset-valid-p): Use normal accessors.
5371
af1c6c84
GM
53722013-08-13 Glenn Morris <rgm@gnu.org>
5373
55e47f95
GM
5374 * progmodes/compile.el (compile-command): Tweak example in doc.
5375 * obsolete/scribe.el (scribe-mode):
5376 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5377
f0024d8c
GM
5378 * mail/feedmail.el (feedmail-confirm-outgoing)
5379 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5380
5381 * cus-start.el (truncate-partial-width-windows): Fix type.
5382
5383 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5384
af1c6c84
GM
5385 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5386
5514cc4c
SM
53872013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5388
5389 * emacs-lisp/timer.el (timer--time-setter): New function.
5390 (timer--time): Use it as gv-setter.
5391
5392 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5393 setter is not a symbol.
5394
7997a2f1
GJ
53952013-08-12 Grégoire Jadi <daimrod@gmail.com>
5396
5397 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5398 if sending fails. This makes debugging easier.
5399
01f1a9ab
JB
54002013-08-12 Juanma Barranquero <lekktu@gmail.com>
5401
5402 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5403 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5404 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5405
594a4307
EZ
54062013-08-12 Eli Zaretskii <eliz@gnu.org>
5407
5408 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5409
7a22490f 54102013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5411
5412 * format.el (format-annotate-function):
5413 Handle read-only text properties in the source. (Bug#14887)
5414
3e41a054
LMI
54152013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5416
5514cc4c
SM
5417 * net/eww.el (eww-display-html): Ignore coding system errors.
5418 One web site uses "utf-8lias" as the coding system.
3e41a054 5419
7ec326db
JB
54202013-08-11 Juanma Barranquero <lekktu@gmail.com>
5421
5422 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5423
5660113b
JB
54242013-08-10 Juanma Barranquero <lekktu@gmail.com>
5425
9a4ebc74
JB
5426 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5427 (tutorial--detailed-help): Remove unused local variables.
5428 (tutorial--save-tutorial-to): Use ignore-errors.
5429 (help-with-tutorial): Use looking-at-p.
5430
5431 * view.el (view-buffer-other-window, view-buffer-other-frame):
5432 Mark unused arguments.
5433
5434 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5435 (woman-select-symbol-fonts, woman, woman-find-file)
5436 (woman-insert-file-contents, woman-non-underline-faces):
5437 Use string-match-p.
5438 (woman1-unquote): Move declaration.
5439
5440 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5441 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5442 argument. Remove unused local variable.
5443 (xml-parse-elem-type): Use string-match-p.
5444 (xml-substitute-numeric-entities): Use ignore-errors.
5445
45fdb482
JB
5446 * calculator.el (calculator): Mark unused argument.
5447 (calculator-paste, calculator-quit, calculator-integer-p):
5448 Use ignore-errors.
5449 (calculator-string-to-number, calculator-decimal, calculator-exp)
5450 (calculator-op-or-exp): Use string-match-p.
5451
5452 * dired.el (dired-buffer-more-recently-used-p): Declare.
5453 (dired-insert-set-properties, dired-insert-old-subdirs):
5454 Use ignore-errors.
5455
5456 * dired-aux.el (dired-compress): Use ignore-errors.
5457 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5458 (dired-do-async-shell-command, dired-do-shell-command)
5459 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5460 (dired-insert-subdir-validate): Use string-match-p.
5461 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5462 (dired-add-entry): Use string-match-p, looking-at-p.
5463 (dired-insert-subdir-newpos): Remove unused local variable.
5464
5465 * filenotify.el (file-notify-callback): Remove unused local variable.
5466
5467 * filesets.el (filesets-error): Mark unused argument.
5468 (filesets-which-command-p, filesets-filter-dir-names)
5469 (filesets-directory-files, filesets-get-external-viewer)
5470 (filesets-ingroup-get-data): Use string-match-p.
5471
5472 * find-file.el (ff-other-file-name, ff-other-file-name)
5473 (ff-find-the-other-file, ff-cc-hh-converter):
5474 Remove unused local variables.
5475 (ff-get-file-name): Use string-match-p.
5476 (ff-all-dirs-under): Use ignore-errors.
5477
5478 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5479 (follow-select-if-visible): Remove unused local variable.
5480
5481 * forms.el (read-file-filter): Move declaration.
5482 (forms--make-format, forms--make-parser, forms-insert-record):
5483 Quote function with #'.
5484 (forms--update): Use string-match-p. Quote function with #'.
5485
5486 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5487 (help-make-xrefs): Use looking-at-p.
5488 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5489
5490 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5491 (ibuffer-confirm-operation-on): Use string-match-p.
5492
5493 * msb.el (msb-item-handler, msb-dired-item-handler):
5494 Mark unused arguments.
5495
5496 * ses.el (ses-decode-cell-symbol)
5497 (ses-kill-override): Remove unused local variable.
5498 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5499 (ses-load): Use ignore-errors, looking-at-p.
5500 (ses-jump-safe): Use ignore-errors.
5501 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5502
5503 * tabify.el (untabify, tabify): Mark unused arguments.
5504
5505 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5506 Mark unused argument.
5507 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5508 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5509
c880af52
JB
5510 * emacs-lisp/timer.el (timer--time): Define setter with
5511 gv-define-setter to avoid deprecation warning.
5512
5660113b 5513 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5514 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5515 (cmpl-statistics-block): Remove (body was commented out).
5516 All callers changed.
5517 (add-completions-from-buffer, load-completions-from-file):
5518 Remove unused variables.
5519
156aab80
JB
55202013-08-09 Juanma Barranquero <lekktu@gmail.com>
5521
5c5dee78
JB
5522 * filecache.el (file-cache-delete-file-list):
5523 Print message only when told so.
5524 (file-cache-files-matching): Use #' in mapconcat argument.
5525
156aab80
JB
5526 * ffap.el (ffap-url-at-point): Fix reference to variable
5527 thing-at-point-default-mail-uri-scheme.
5528
ad9dcd70
SM
55292013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5530
54bd972f
SM
5531 * subr.el (define-error): New function.
5532 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5533 error-file-not-found and define with define-error.
5534 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5535 and define with define-error.
5536 * userlock.el (file-locked, file-supersession):
5537 * simple.el (mark-inactive):
5538 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5539 * progmodes/ada-mode.el (ada-mode-errors):
5540 * play/life.el (life-extinct):
5541 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5542 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5543 * nxml/rng-util.el (rng-error):
5544 * nxml/rng-uri.el (rng-uri-error):
5545 * nxml/rng-match.el (rng-compile-error):
5546 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5547 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5548 * nxml/nxml-rap.el (nxml-scan-error):
5549 * nxml/nxml-outln.el (nxml-outline-error):
5550 * net/soap-client.el (soap-error):
5551 * net/gnutls.el (gnutls-error):
5552 * net/ange-ftp.el (ftp-error):
5553 * mpc.el (mpc-proc-error):
5554 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5555 (json-number-format, json-string-escape, json-string-format)
5556 (json-key-format, json-object-format):
5557 * jka-compr.el (compression-error):
5558 * international/quail.el (quail-error):
5559 * international/kkc.el (kkc-error):
5560 * emacs-lisp/ert.el (ert-test-failed):
5561 * calc/calc.el (calc-error, inexact-result, math-overflow)
5562 (math-underflow):
5563 * bookmark.el (bookmark-error-no-filename):
5564 * epg.el (epg-error): Define with define-error.
5565
0ea9e53a
SM
5566 * time.el (display-time-event-handler)
5567 (display-time-next-load-average): Don't call sit-for since it seems
5568 unnecessary (bug#15045).
5569
b0429158
SM
5570 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5571 Use #' instead of ' to quote functions.
5572 (checkdoc-output-mode): Use setq-local.
5573 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5574 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5575 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5576 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5577 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5578 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5579 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5580 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5581
ad9dcd70
SM
5582 * ido.el (ido-completion-help): Fix up compiler warning.
5583
77187e6f
JB
55842013-08-09 Juanma Barranquero <lekktu@gmail.com>
5585
5586 * frameset.el (frameset-p): Add autoload cookie.
5587 (frameset--jump-to-register): New function, based on code moved from
5588 register.el.
5589 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5590
5591 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5592 (frameset-restore, frameset-save, frameset-session-filter-alist):
5593 Remove declarations.
5594 (register-alist): Doc fix.
5595 (frameset-to-register): Move to frameset.el.
5596 (jump-to-register, describe-register-1): Remove frameset-specific code.
5597
9d3aa82c
JB
55982013-08-08 Juanma Barranquero <lekktu@gmail.com>
5599
5600 * allout-widgets.el (allout-widgets-pre-command-business)
5601 (allout-widgets-post-command-business)
5602 (allout-widgets-after-change-handler)
5603 (allout-decorate-item-and-context, allout-set-boundary-marker)
5604 (allout-body-modification-handler)
5605 (allout-graphics-modification-handler): Mark ignored arguments.
5606 (allout-widgets-post-command-business)
5607 (allout-widgets-exposure-change-processor)
5608 (allout-widgets-exposure-undo-processor)
5609 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5610 (allout-parse-item-at-point, allout-decorate-item-guides)
5611 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5612 * allout.el (epa-passphrase-callback-function): Declare.
5613 (allout-overlay-insert-in-front-handler)
5614 (allout-overlay-interior-modification-handler)
5615 (allout-isearch-end-handler, allout-chart-siblings)
5616 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5617 (allout-yank-processing, allout-process-exposed)
5618 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5619 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5620 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5621 (lisp-indent-defform): Mark ignored arguments.
5622 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5623 (calculate-lisp-indent): Remove unused variables.
5624 * international/characters.el (indian-2-column, arabic-2-column)
5625 (tibetan): Mark ignored arguments.
5626 (use-cjk-char-width-table): Mark ignored arguments.
5627 Remove unused variables.
5628 * international/fontset.el (build-default-fontset-data)
5629 (x-compose-font-name, create-fontset-from-fontset-spec):
5630 Mark ignored arguments.
5631 (fontset-plain-name): Remove unused variables.
5632 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5633 (keyboard-coding-system): Mark ignored arguments.
5634 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5635 * help.el (resize-temp-buffer-window):
5636 * window.el (display-buffer-in-major-side-window)
5637 (display-buffer-in-side-window, display-buffer-in-previous-window):
5638 Remove unused variables.
5639 * isearch.el (isearch-forward-symbol):
5640 * version.el (emacs-bzr-version-bzr):
5641 * international/mule-cmds.el (current-language-environment):
5642 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5643 (x-handle-display):
5644 * term/pc-win.el (x-list-fonts, x-display-planes)
5645 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5646 (x-server-version, x-display-screens, x-display-mm-height)
5647 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5648 (x-selection-owner-p, x-own-selection-internal)
5649 (x-disown-selection-internal, x-get-selection-internal)
5650 (msdos-initialize-window-system):
5651 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5652 * term/x-win.el (x-handle-no-bitmap-icon):
5653 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5654 (vc-default-find-file-hook, vc-default-extra-menu):
5655 Mark ignored arguments.
5656
0ca3f70e
SM
56572013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5658
5659 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5660 break-condition in the context of the debugged code (bug#12685).
5661
74c5d24c
CS
56622013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5663
5664 * comint.el:
5665 Do not use an overlay to highlight the last prompt. (Bug#14744)
5666 (comint-mode): Make comint-last-prompt buffer local.
5667 (comint-last-prompt): New variable.
5668 (comint-last-prompt-overlay): Remove. Superseded by
5669 comint-last-prompt.
0ca3f70e
SM
5670 (comint-snapshot-last-prompt, comint-output-filter):
5671 Use comint-last-prompt.
74c5d24c 5672
c03c02ee
JB
56732013-08-08 Juanma Barranquero <lekktu@gmail.com>
5674
a3738d20 5675 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5676 (frameset-save): Check validity of the resulting frameset.
5677
04263d23
XF
56782013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5679
5680 * ido.el (ido-record-command): Add doc string.
5681
76c5e5ab
JB
56822013-08-08 Juanma Barranquero <lekktu@gmail.com>
5683
5684 * frameset.el (frameset): Do not disable creation of the default
5685 frameset-p predicate. Doc fix.
5686 (frameset-valid-p): New function, copied from the old predicate-p.
5687 Add additional checks.
5688 (frameset-restore): Check with frameset-valid-p.
5689 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5690 (frameset-name, frameset-description, frameset-properties)
5691 (frameset-states): Add docstring.
f9dbf1cb
JB
5692 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5693 (frameset-filter-alist): Doc fixes.
76c5e5ab 5694
bd0c3c0b
JB
56952013-08-08 Juanma Barranquero <lekktu@gmail.com>
5696
5697 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5698
c735544c
SM
56992013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5700
5701 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5702 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5703 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5704 (byte-compile-normal-call): Remove obsolescence check.
5705
2805a651
JB
57062013-08-08 Juanma Barranquero <lekktu@gmail.com>
5707
3677ffeb
JB
5708 * frameset.el (frameset-restore): Doc fix.
5709
2805a651
JB
5710 * register.el (frameset-frame-id, frameset-frame-with-id)
5711 (frameset-p, frameset-restore, frameset-save): Declare.
5712 (register-alist): Document framesets.
5713 (frameset-session-filter-alist): Declare.
5714 (frameset-to-register): New function.
5715 (jump-to-register): Implement jumping to framesets. Doc fix.
5716 (describe-register-1): Describe framesets.
5717
5718 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5719
a912c016
JB
57202013-08-07 Juanma Barranquero <lekktu@gmail.com>
5721
5722 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5723 Use lexical-binding.
5724
5725 * frameset.el (frameset): Use type vector, not list (incompatible
5726 change). Do not declare a new constructor, use the default one.
5727 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5728 `name' and `description', respectively, and add read-only slot
5729 `timestamp'. Doc fixes.
5730 (frameset-copy, frameset-persistent-filter-alist)
5731 (frameset-filter-alist, frameset-switch-to-gui-p)
5732 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5733 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5734 (frameset-filter-iconified, frameset-keep-original-display-p):
5735 Doc fixes.
5736 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5737 Rename from frameset-filter-(save|restore)-param. All callers changed.
5738 Doc fix.
5739 (frameset-p): Adapt to change to vector and be more thorough.
5740 Change arg name to OBJECT. Doc fix.
5741 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5742 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5743 All callers changed.
5744 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5745 All callers changed.
5746 (frameset--record-minibuffer-relationships): Rename from
5747 frameset--process-minibuffer-frames. All callers changed.
5748 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5749 Use new default constructor (again). Doc fix.
5750 (frameset--find-frame-if): Rename from `frameset--find-frame.
5751 All callers changed.
5752 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5753 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5754 Doc fix.
5755 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5756 PARAMETERS and WINDOW-STATE, respectively.
5757 (frameset-restore): Add new keyword argument PREDICATE.
5758 Reset frameset--target-display to nil. Doc fix.
5759
bb41480a
SM
57602013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5761
f001e98e
SM
5762 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5763 (bat-mode): Use it.
5764 (bat-mode-syntax-table): Mark \n as end-of-comment.
5765 (bat-font-lock-keywords): Remove comment rule.
5766
7679edb1
SM
5767 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5768 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5769
bb41480a
SM
5770 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5771 (byte-compile-callargs-warn): Use `push'.
5772 (byte-compile-arglist-warn): Ignore higher-order "calls".
5773 (byte-compile-file-form-autoload): Use `pcase'.
5774 (byte-compile-function-form): If quoting a symbol, check that it exists.
5775
cdc1ebb9
EZ
57762013-08-07 Eli Zaretskii <eliz@gnu.org>
5777
5778 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5779 and add a few popular commands found in batch files.
5780 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5781 (dos-mode): Doc fixes.
5782
312b1740
SM
57832013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5786 (dos-mode): Use setq-local. Add space after "rem".
5787 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5788 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5789
400a3178
AM
57902013-08-07 Arni Magnusson <arnima@hafro.is>
5791
5792 * progmodes/dos.el: New file.
5793 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5794 dos-mode.
5795
3b5c03d3
GM
57962013-08-06 Glenn Morris <rgm@gnu.org>
5797
5798 * calendar/calendar.el: Add new faces, and day-header-array.
5799 (calendar-weekday-header, calendar-weekend-header)
5800 (calendar-month-header): New faces.
5801 (calendar-day-header-construct): New function.
5802 (calendar-day-header-width): Also :set calendar-day-header-array.
5803 (calendar-american-month-header, calendar-european-month-header)
5804 (calendar-iso-month-header): Use calendar- faces.
5805 (calendar-generate-month):
5806 Use calendar-day-header-array for day headers; apply faces to them.
5807 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5808 (calendar-abbrev-construct): Add optional maxlen argument.
5809 (calendar-day-name-array): Doc fix.
5810 (calendar-day-name-array, calendar-abbrev-length)
5811 (calendar-day-abbrev-array):
5812 Also :set calendar-day-header-array, and maybe redraw.
5813 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5814 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5815 (calendar-day-name): Add option to use header array.
5816
ec6a2d7a
LMI
58172013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5818
5819 * net/shr.el (shr-render-td): Remove debugging.
5820 (shr-render-td): Make width computation consistent by defaulting
5821 all zero-width columns to 10 characters. This may not be optimal,
5822 but it's at least consistent.
2122cb6d
LMI
5823 (shr-make-table-1): Redo last change to fix the real problem in
5824 colspan handling.
ec6a2d7a 5825
ed4fd9c5
DA
58262013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5827
0ca3f70e
SM
5828 * files.el (cache-long-line-scans):
5829 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5830
64e22afe
JB
58312013-08-06 Juanma Barranquero <lekktu@gmail.com>
5832
024b38fc
JB
5833 * frameset.el (frameset, frameset-filter-alist)
5834 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5835 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5836 (frameset-compute-pos): Rename from frameset--compute-pos,
5837 and add docstring.
5838 (frameset-move-onscreen): Use frameset-compute-pos.
5839 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5840
64e22afe
JB
5841 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5842 Fix typos in docstrings.
5843
c8c2aca8
DA
58442013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5845
5846 * frame.el (get-other-frame): Tiny cleanup.
5847
1d237bba
JB
58482013-08-06 Juanma Barranquero <lekktu@gmail.com>
5849
8951efef
JB
5850 * vc/vc.el (vc-default-ignore-completion-table):
5851 Silence byte-compiler warning.
5852
307764cc
JB
5853 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5854 slot , which can indeed be nil.
5855 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5856 Move entry for `left' from persistent to live filter alist.
5857 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5858 Doc fixes.
5859 (frameset-filter-params): When restoring a frame, copy items added to
5860 `filtered', to avoid unwittingly modifying the original parameters.
5861 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5862 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5863
1d237bba
JB
5864 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5865 to use looking-at-p instead of looking-at. (Bug#15028)
5866
dc6c0eda
SM
58672013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 Revert introduction of isearch-filter-predicates (bug#14714).
5870 Rely on add-function instead.
5871 * isearch.el (isearch-filter-predicates): Rename it back to
5872 isearch-filter-predicate.
5873 (isearch-message-prefix): Use advice-function-mapc and advice
5874 properties to get the isearch-message-prefix.
5875 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5876 instead of run-hook-with-args-until-failure.
5877 (isearch-filter-visible): Not obsolete any more.
5878 * loadup.el: Preload nadvice.
5879 * replace.el (perform-replace): Revert to funcall
5880 instead of run-hook-with-args-until-failure.
5881 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5882 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5883 dired-isearch-filenames-toggle; make it into a proper minor mode.
5884 Use add/remove-function.
5885 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5886 Call the minor-mode rather than add/remove-hook.
5887 (dired-isearch-filter-filenames):
5888 Remove isearch-message-prefix property.
5889 * info.el (Info--search-loop): New function, extracted from Info-search.
5890 Funcall isearch-filter-predicate instead of
5891 run-hook-with-args-until-failure isearch-filter-predicates.
5892 (Info-search): Use it.
5893 (Info-mode): Use isearch-filter-predicate instead of
5894 isearch-filter-predicates.
5895
290d5b58
DA
58962013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5897
5898 Do not call to `selected-window' where it is assumed by default.
5899 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5900 `window-hscroll', `window-width', `window-height', `window-buffer',
5901 `window-frame', `window-start', `window-point', `next-window'
5902 and `window-display-table'.
5903 * abbrev.el (abbrev--default-expand):
5904 * bs.el (bs--show-with-configuration):
5905 * buff-menu.el (Buffer-menu-mouse-select):
5906 * calc/calc.el (calc):
5907 * calendar/calendar.el (calendar-generate-window):
5908 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5909 (diary-make-entry):
5910 * comint.el (send-invisible, comint-dynamic-complete-filename)
5911 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5912 * completion.el (complete):
5913 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5914 * disp-table.el (describe-current-display-table):
5915 * doc-view.el (doc-view-insert-image):
5916 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5917 * ehelp.el (with-electric-help):
5918 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5919 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5920 * emacs-lisp/helper.el (Helper-help-scroller):
5921 * emulation/cua-base.el (cua--post-command-handler-1):
5922 * eshell/esh-mode.el (eshell-output-filter):
5923 * ffap.el (ffap-gnus-wrapper):
5924 * help-macro.el (make-help-screen):
5925 * hilit-chg.el (highlight-compare-buffers):
5926 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5927 * hl-line.el (global-hl-line-highlight):
5928 * icomplete.el (icomplete-simple-completing-p):
5929 * isearch.el (isearch-done):
5930 * jit-lock.el (jit-lock-stealth-fontify):
5931 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5932 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5933 * mpc.el (mpc-tagbrowser, mpc):
5934 * net/rcirc.el (rcirc-any-buffer):
5935 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5936 * play/landmark.el (landmark-max-width, landmark-max-height):
5937 * play/zone.el (zone):
5938 * progmodes/compile.el (compilation-goto-locus):
5939 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5940 * progmodes/etags.el (find-tag-other-window):
5941 * progmodes/fortran.el (fortran-column-ruler):
5942 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5943 * progmodes/verilog-mode.el (verilog-point-text):
5944 * reposition.el (reposition-window):
5945 * rot13.el (toggle-rot13-mode):
5946 * server.el (server-switch-buffer):
5947 * shell.el (shell-dynamic-complete-command)
5948 (shell-dynamic-complete-environment-variable):
5949 * simple.el (insert-buffer, set-selective-display)
5950 (delete-completion-window):
5951 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5952 (speedbar-recenter):
5953 * startup.el (fancy-splash-head):
5954 * textmodes/ispell.el (ispell-command-loop):
5955 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5956 * tutorial.el (help-with-tutorial):
5957 * vc/add-log.el (add-change-log-entry):
5958 * vc/compare-w.el (compare-windows):
5959 * vc/ediff-help.el (ediff-indent-help-message):
5960 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5961 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5962 (ediff-setup-control-frame):
5963 * vc/emerge.el (emerge-position-region):
5964 * vc/pcvs-util.el (cvs-bury-buffer):
5965 * window.el (walk-windows, mouse-autoselect-window-select):
5966 * winner.el (winner-set-conf, winner-undo): Related users changed.
5967
38276e01
JB
59682013-08-05 Juanma Barranquero <lekktu@gmail.com>
5969
5970 * frameset.el (frameset--set-id): Doc fix.
5971 (frameset-frame-id, frameset-frame-id-equal-p)
5972 (frameset-locate-frame-id): New functions.
5973 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5974 (frameset-restore): Use them.
5975
12b4c0ea
DA
59762013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5977
5978 Do not call to `selected-frame' where it is assumed by default.
5979 Affected functions are `raise-frame', `redraw-frame',
5980 `frame-first-window', `frame-terminal' and `delete-frame'.
5981 * calendar/appt.el (appt-disp-window):
5982 * epg.el (epg-wait-for-completion):
5983 * follow.el (follow-delete-other-windows-and-split)
5984 (follow-avoid-tail-recenter):
5985 * international/mule.el (set-terminal-coding-system):
5986 * mail/rmail.el (rmail-mail-return):
5987 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5988 * progmodes/f90.el (f90-add-imenu-menu):
5989 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5990 * server.el (server-switch-buffer):
5991 * simple.el (delete-completion-window):
5992 * talk.el (talk):
5993 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5994 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5995 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5996 * vc/ediff.el (ediff-documentation): Related users changed.
5997 * frame.el (selected-terminal): Remove the leftover.
5998
17f25e76
GM
59992013-08-05 Glenn Morris <rgm@gnu.org>
6000
6001 * calendar/calendar.el (calendar-generate-month):
6002 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6003 (calendar-generate-month, calendar-font-lock-keywords):
6004 Fix for calendar-day-header-width > length of any day name.
17f25e76 6005
063233c3
JB
60062013-08-05 Juanma Barranquero <lekktu@gmail.com>
6007
6008 * desktop.el (desktop-clear): Use new name of sort predicate.
6009
6010 * frameset.el (frameset): Add docstring. Move :version property to its
6011 own `version' slot.
6012 (frameset-copy): Rename from copy-frameset.
6013 (frameset-p): Check more thoroughly.
6014 (frameset-prop): Do not check for :version, which is no longer a prop.
6015 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6016 Use new :never value instead of t.
6017 (frameset-filter-alist): Expand and clarify docstring.
6018 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6019 (frameset-filter-minibuffer, frameset-filter-save-param)
6020 (frameset-filter-restore-param, frameset-filter-iconified):
6021 Add pointer to docstring of frameset-filter-alist.
6022 (frameset-filter-params): Rename filter values to be more meaningful:
6023 :never instead of t, and reverse the meanings of :save and :restore.
6024 (frameset--process-minibuffer-frames): Clarify error message.
6025 (frameset-save): Avoid unnecessary and confusing call to framep.
6026 Use new BOA constructor for framesets.
6027 (frameset--reuse-list): Doc fix.
6028 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6029 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6030 (frameset-minibufferless-first-p): Doc fix.
6031 Rename from frameset-sort-frames-for-deletion.
6032 (frameset-restore): Doc fixes. Use new function names.
6033 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6034
d5671a82
JB
60352013-08-04 Juanma Barranquero <lekktu@gmail.com>
6036
6037 * desktop.el (desktop-restore-forces-onscreen)
6038 (desktop-restore-reuses-frames): Document :keyword constant values.
6039 (desktop-filter-parameters-alist): Remove, now identical to
6040 frameset-filter-alist.
6041 (desktop--filter-tty*): Remove, moved to frameset.el.
6042 (desktop-save-frameset, desktop-restore-frameset):
6043 Do not pass :filters argument.
6044
6045 * frameset.el (frameset-live-filter-alist)
6046 (frameset-persistent-filter-alist): New variables.
6047 (frameset-filter-alist): Use them. Add autoload cookie.
6048 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6049 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6050 `frameset--id' (it's supposed to be internal to frameset.el).
6051 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6052 (frameset--initial-params): New function.
6053 (frameset--get-frame): Use it. Doc fix.
6054 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6055 Accept :all, not 'all.
6056 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6057 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6058 with fbound symbols. Fix frame id matching, and remove matching ids if
6059 the frame being restored is deleted. Obey :delete.
6060
671d5c16
SM
60612013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6062
6063 * subr.el (macrop): New function.
6064 (text-clone--maintaining): New var.
6065 (text-clone--maintain): Rename from text-clone-maintain. Use it
6066 instead of inhibit-modification-hooks.
6067
6068 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6069 a proxy, so as handle autoloads and redefinitions of the target.
6070 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6071
6072 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6073 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6074 (pcase--mutually-exclusive-p): New function.
6075 (pcase--split-consp): Use it.
6076 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6077 mutually exclusive with the current predicate.
6078
6079 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6080 (edebug-macrop): Remove. Use `macrop' instead.
6081 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6082 (ad-macro-p):
6083 * eshell/esh-cmd.el (eshell-macrop):
6084 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6085
1d44e9dc
SM
60862013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6087
6088 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6089 (advice-mapc): New function, using it.
6090 (advice-function-member-p): New function.
6091 (advice--normalize): Store the cdr in advice--saved-rewrite since
6092 that's the part that will be changed.
6093 (advice--symbol-function): New function.
6094 (advice-remove): Handle removal before the function is defined.
6095 Adjust to new advice--saved-rewrite.
6096 (advice-member-p): Use advice-function-member-p and
6097 advice--symbol-function.
6098
5414a283
JB
60992013-08-04 Juanma Barranquero <lekktu@gmail.com>
6100
51d30f2c
JB
6101 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6102 (frameset-filter-minibuffer): Doc fix.
6103 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6104 (frameset--set-id, frameset--process-minibuffer-frames)
6105 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6106 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6107
5414a283
JB
6108 * desktop.el (desktop-clear): Only delete frames when called
6109 interactively and desktop-restore-frames is non-nil. Doc fix.
6110 (desktop-read): Set desktop-saved-frameset to nil.
6111
ab419665
XF
61122013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6113
6114 * vc/vc.el (vc-ignore): Rewrite.
6115 (vc-default-ignore-completion-table):
6116 (vc--read-lines):
6117 (vc--add-line, vc--remove-regexp): New functions.
6118
6119 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6120 (vc-svn-ignore-completion-table): New function.
6121
6122 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6123 (vc-hg-ignore-completion-table):
6124 (vc-hg-find-ignore-file): New functions.
6125
6126 * vc/vc-git.el (vc-git-ignore): Rewrite.
6127 (vc-git-ignore-completion-table):
6128 (vc-git-find-ignore-file): New functions.
6129
6130 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6131
6132 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6133 (vc-bzr-ignore-completion-table):
6134 (vc-bzr-find-ignore-file): New functions.
6135
2613dea2
JB
61362013-08-03 Juanma Barranquero <lekktu@gmail.com>
6137
6138 * frameset.el (frameset-prop): New function and setter.
6139 (frameset-save): Do not modify frame list passed by the caller.
6140
9c959872
SM
61412013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6142
6143 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6144
a104f656
SM
61452013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6146
70122acf
SM
6147 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6148 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6149
a104f656
SM
6150 * custom.el (custom-initialize-default, custom-initialize-set)
6151 (custom-initialize-reset, custom-initialize-changed): Affect the
6152 toplevel-default-value (bug#6275, bug#14586).
6153 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6154 for bug#6275.
6155
f078d570
JB
61562013-08-02 Juanma Barranquero <lekktu@gmail.com>
6157
185e3b5a
JB
6158 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6159 Add cl-def* expressions.
6160
f078d570
JB
6161 * frameset.el (frameset-filter-params): Fix order of arguments.
6162
9421876d
JB
61632013-08-02 Juanma Barranquero <lekktu@gmail.com>
6164
6165 Move code related to saving frames to frameset.el.
6166 * desktop.el: Require frameset.
6167 (desktop-restore-frames): Doc fix.
6168 (desktop-restore-reuses-frames): Rename from
6169 desktop-restoring-reuses-frames.
6170 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6171 (desktop-clear): Clear frames too.
6172 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6173 (desktop--filter-tty*, desktop-save, desktop-read):
6174 Use frameset functions.
6175 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6176 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6177 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6178 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6179 (desktop--process-minibuffer-frames, desktop-save-frames)
6180 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6181 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6182 (desktop--sort-states, desktop-restoring-frames-p)
6183 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6184 (desktop-restoring-frameset-p, desktop-restore-frameset)
6185 (desktop--check-dont-save, desktop-save-frameset): New functions.
6186 (desktop--app-id): New constant.
6187 (desktop-first-buffer, desktop-buffer-ok-count)
6188 (desktop-buffer-fail-count): Move before first use.
6189 * frameset.el: New file.
6190
76dc5996
SM
61912013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 * files.el: Use lexical-binding.
6194 (dir-locals-read-from-file): Remove unused `err' variable.
6195 (hack-dir-local-variables--warned-coding): New var.
6196 (hack-dir-local-variables): Use it to avoid repeated warnings.
6197 (make-backup-file-name--default-function): New function.
6198 (make-backup-file-name-function): Use it as default.
6199 (buffer-stale--default-function): New function.
6200 (buffer-stale-function): Use it as default.
6201 (revert-buffer-insert-file-contents--default-function): New function.
6202 (revert-buffer-insert-file-contents-function): Use it as default.
6203 (insert-directory): Avoid add-to-list.
6204
6205 * autorevert.el (auto-revert-handler): Simplify.
6206 Use buffer-stale--default-function.
6207
06d36e2b
TH
62082013-08-01 Tassilo Horn <tsdh@gnu.org>
6209
5f648ab4
TH
6210 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6211
06d36e2b
TH
6212 * whitespace.el (whitespace-ensure-local-variables): New function.
6213 (whitespace-cleanup-region): Call it.
6214 (whitespace-turn-on): Call it.
6215
a43dc424
MA
62162013-08-01 Michael Albinus <michael.albinus@gmx.de>
6217
6218 Complete file name handlers.
6219
6220 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6221 (tramp-handle-verify-visited-file-modtime)
6222 (tramp-handle-file-notify-rm-watch): New functions.
6223 (tramp-call-process): Do not bind `default-directory'.
6224
44e18199
JB
6225 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6226 Order alphabetically.
a43dc424
MA
6227 [access-file, add-name-to-file, dired-call-process]:
6228 [dired-compress-file, file-acl, file-notify-rm-watch]:
6229 [file-ownership-preserved-p, file-selinux-context]:
6230 [make-directory-internal, make-symbolic-link, set-file-acl]:
6231 [set-file-selinux-context, set-visited-file-modtime]:
6232 [verify-visited-file-modtime]: Add handler.
6233 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6234
6235 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6236 [file-notify-add-watch, file-notify-rm-watch]:
6237 [set-file-times, set-visited-file-modtime]:
6238 [verify-visited-file-modtime]: Add handler.
6239 (with-tramp-gvfs-error-message)
6240 (tramp-gvfs-handle-set-visited-file-modtime)
6241 (tramp-gvfs-fuse-file-name): Remove.
6242 (tramp-gvfs-handle-file-notify-add-watch)
6243 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6244 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6245
44e18199
JB
6246 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6247 Order alphabetically.
a43dc424
MA
6248 [file-notify-rm-watch ]: Use default Tramp handler.
6249 [executable-find]: Remove private handler.
6250 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6251 `default-directory'.
6252 (tramp-sh-handle-executable-find)
6253 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6254 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6255 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6256 Do not use `format' in `tramp-message'.
6257
6258 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6259 [file-notify-rm-watch, set-visited-file-modtime]:
6260 [verify-visited-file-modtime]: Add handler.
6261 (tramp-smb-call-winexe): Do not bind `default-directory'.
6262
7188b515
XF
62632013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6264
6265 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6266
2412ee1a
DG
62672013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6268
6269 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6270 use it.
6271 (log-view-diff-changeset): Same.
6272 (log-view-diff-common): Call backend command `previous-revision'
6273 to find out the previous revision, in both cases. Swap the
6274 variables `to' and `fr', so that `fr' usually refers to the
6275 earlier revision (Bug#14989).
6276
5002a754
KRC
62772013-07-31 Kan-Ru Chen <kanru@kanru.info>
6278
6279 * ibuf-ext.el (ibuffer-filter-by-filename):
6280 Make it work with dired buffers too.
6281
44e18199 62822013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6283
6284 * emacs-lisp/re-builder.el (reb-color-display-p):
6285 * files.el (save-buffers-kill-terminal):
6286 * net/browse-url.el (browse-url):
6287 * server.el (server-save-buffers-kill-terminal):
6288 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6289 Prefer nil to selected-frame for the first arg of frame-parameter.
6290
aeca3fbb
XF
62912013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6292
6293 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6294
158bc55c
SB
62952013-07-30 Stephen Berman <stephen.berman@gmx.net>
6296
6297 * minibuffer.el (completion--twq-all): Try and preserve each
6298 completion's case choice (bug#14907).
6299
d50fceab
LMI
63002013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6301
ac38e731
LMI
6302 * net/network-stream.el (open-network-stream): Mention the new
6303 :nogreeting parameter.
6304 (network-stream-open-starttls): Use the :nogreeting parameter
6305 (bug#14938).
6306
1211de50
LMI
6307 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6308
997798bf
LMI
6309 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6310 more natural than popping.
6311
d50fceab 6312 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6313 (shr-urlify): Highlight under mouse.
d50fceab 6314
5c09de04
XF
63152013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6316
207d1d04
XF
6317 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6318
6319 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6320
5c09de04
XF
6321 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6322 buffer for output.
6323
3cd51eaa
XF
6324 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6325 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6326
44e18199 6327 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6328 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6329
6330 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6331
6332 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6333 buffer for output.
6334
35a89bdd
EZ
63352013-07-29 Eli Zaretskii <eliz@gnu.org>
6336
6337 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6338 initial frame is minibuffer-less. (Bug#14841)
6339
78822e94
MA
63402013-07-29 Michael Albinus <michael.albinus@gmx.de>
6341
6342 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6343 option.
6344
6345 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6346 (tramp-maybe-open-connection): Use it.
6347
9503c190
JB
63482013-07-28 Juanma Barranquero <lekktu@gmail.com>
6349
6350 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6351 minimal set of parameters passed when creating a frame, because
6352 the minibuffer status of a frame cannot be changed later.
6353
d5a845b4
SB
63542013-07-28 Stephen Berman <stephen.berman@gmx.net>
6355
6356 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6357 replace-regexp-in-string and inadvertent omissions in previous change.
6358 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6359 name of filtered items buffer.
d5a845b4 6360
ddeffb17
JB
63612013-07-28 Juanma Barranquero <lekktu@gmail.com>
6362
6363 * desktop.el: Optionally force offscreen frames back onscreen.
6364 (desktop-restoring-reuses-frames): New option.
6365 (desktop--compute-pos, desktop--move-onscreen): New functions.
6366 (desktop--make-frame): Use desktop--move-onscreen.
6367
f5950f7a
AM
63682013-07-27 Alan Mackenzie <acm@muc.de>
6369
6370 Fontify a Java generic method as a function.
6371 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6372 value to t.
6373
ae43b66a
SB
63742013-07-27 Stephen Berman <stephen.berman@gmx.net>
6375
6376 * calendar/todo-mode.el: Add command to rename todo files.
6377 (todo-rename-file): New command.
6378 (todo-key-bindings-t): Add key binding for it. Change the
6379 bindings of todo-filter-regexp-items(-multifile) to use `x'
6380 instead of `r', since the latter is better suited to the new
6381 renaming command.
6382
5ab78d3d
AM
63832013-07-27 Alan Mackenzie <acm@muc.de>
6384
6385 Make Java try-with-resources statement parse properly.
6386 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6387 (c-block-stmt-1-2-key): New language constants/variables.
6388 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6389 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6390 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6391 with c-block-stmt-1-2-key.
5ab78d3d 6392
d85c4d50
JB
63932013-07-27 Juanma Barranquero <lekktu@gmail.com>
6394
6395 * desktop.el (desktop--make-frame): Apply most frame parameters after
6396 creating the frame to force (partially or totally) offscreen frames to
6397 be restored as such.
6398
e4c467f9
XF
63992013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6400
6401 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6402 (Bug#14948)
e4c467f9 6403
7ced0d04
SM
64042013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6405
6406 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6407 `base' arg of backtrace-frame.
6408
fec92060
EZ
64092013-07-26 Eli Zaretskii <eliz@gnu.org>
6410
6411 * simple.el (list-processes): Doc fix.
6412
d58d31fb
JB
64132013-07-26 Juanma Barranquero <lekktu@gmail.com>
6414
6415 * desktop.el (desktop--select-frame):
d85c4d50 6416 Try harder to reuse existing frames.
d58d31fb 6417
53ff3e77
SM
64182013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6419
6420 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6421 (edebug-eval): Use backtrace-eval.
6422 (edebug--display, edebug--recursive-edit): Don't let-bind the
6423 edebug-outer-* vars that keep track of variables we locally let-bind.
6424 (edebug-outside-excursion): Don't restore outside values of locally
6425 let-bound vars.
6426 (edebug--display): Use user-error.
6427 (cl-lexical-debug, cl-debug-env): Remove.
6428
045f7a53
JB
64292013-07-26 Juanma Barranquero <lekktu@gmail.com>
6430
6431 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6432 are restored to be sure that they are visible before deleting any
6433 remaining ones.
6434
59070b32
MM
64352013-07-26 Matthias Meulien <orontee@gmail.com>
6436
742a3501
XF
6437 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6438 vc-print-root-log. (Bug#14948)
59070b32 6439
b1fb3596
RS
64402013-07-26 Richard Stallman <rms@gnu.org>
6441
6442 Add aliases for encrypting mail.
6443 * epa.el (epa-mail-aliases): New option.
6444 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6445 Bind inhibit-read-only so read-only text doesn't ruin everything.
6446 (epa-mail-default-recipients): New subroutine broken out.
6447 Handle epa-mail-aliases.
6448
56ea7291
SM
64492013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 Add support for lexical variables to the debugger's `e' command.
6452 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6453 vars, except for debugger-outer-match-data.
6454 (debugger-frame-number): Move check for "on a function call" from
6455 callers into it. Add `skip-base' argument.
6456 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6457 (debugger-env-macro): Only reset the state stored in non-variables,
6458 i.e. current-buffer and match-data.
6459 (debugger-eval-expression): Rewrite using backtrace-eval.
6460 * subr.el (internal--called-interactively-p--get-frame): Remove.
6461 (called-interactively-p):
6462 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6463 `base' arg of backtrace-frame instead.
6464
15ac32d5
GM
64652013-07-26 Glenn Morris <rgm@gnu.org>
6466
8358a09d
GM
6467 * align.el (align-regexp): Doc fix. (Bug#14857)
6468 (align-region): Explicit error if subexpression missing/does not match.
6469
15ac32d5
GM
6470 * simple.el (global-visual-line-mode):
6471 Do not duplicate the mode lighter. (Bug#14858)
6472
f47ad11b
MR
64732013-07-25 Martin Rudalics <rudalics@gmx.at>
6474
6475 * window.el (display-buffer): In display-buffer bind
6476 split-window-keep-point to t, bug#14829.
6477
02530987
JB
64782013-07-25 Juanma Barranquero <lekktu@gmail.com>
6479
6480 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6481 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6482 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6483 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6484 Change accordingly.
f63ebeb5
JB
6485 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6486 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6487
6ccb9cab 64882013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6489
6ccb9cab 6490 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6491
cb3a56d2
JB
64922013-07-25 Juanma Barranquero <lekktu@gmail.com>
6493
6494 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6495 parameter to modify-frame-parameters if the value has not changed;
6496 this is a workaround for bug#14949.
6497 (desktop--make-frame): On cl-delete-if call, check parameter name,
6498 not full parameter.
6499
7aa7fff0
XF
65002013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6501
6502 * vc/vc.el (vc-ignore): New function.
6503
6504 * vc/vc-svn.el (vc-svn-ignore): New function.
6505
6506 * vc/vc-hg.el (vc-hg-ignore): New function.
6507
6508 * vc/vc-git.el (vc-git-ignore): New function.
6509
6510 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6511 (vc-dir-ignore): New function.
6512
6513 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6514 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6515
6516 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6517
6518 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6519
889acc5c
JB
65202013-07-24 Juanma Barranquero <lekktu@gmail.com>
6521
6522 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6523 (desktop-restore-frames): Warn when deleting an existing frame failed.
6524
86c40970
GM
65252013-07-24 Glenn Morris <rgm@gnu.org>
6526
6527 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6528
d5d3c58a
MA
65292013-07-24 Michael Albinus <michael.albinus@gmx.de>
6530
6531 * filenotify.el (file-notify-supported-p):
6532 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6533 Remove functions.
6534
6535 * autorevert.el (auto-revert-use-notify):
6536 (auto-revert-notify-add-watch):
6537 * net/tramp.el (tramp-file-name-for-operation):
6538 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6539 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6540 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6541 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6542 Remove `file-notify-supported-p' entry.
6543
d100084b
GM
65442013-07-24 Glenn Morris <rgm@gnu.org>
6545
6546 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6547 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6548
ac93e56b
SM
65492013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6550
249eea30
SM
6551 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6552 checked with memq (bug#14935).
6553
ac93e56b
SM
6554 * files.el (revert-buffer-function): Use a non-nil default.
6555 (revert-buffer-preserve-modes): Declare var to
6556 provide access to the `preserve-modes' argument.
6557 (revert-buffer): Let-bind it.
6558 (revert-buffer--default): New function, extracted from revert-buffer.
6559
2cdeb903
SM
65602013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6561
6562 * lpr.el: Signal print errors more prominently.
6563 (print-region-function): Don't default to nil.
6564 (lpr-print-region): New function, extracted from print-region-1.
6565 Check lpr's return value and signal an error in case of problem.
6566 (print-region-1): Use it.
6567 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6568 versions instead.
6569 (ps-printer-name): Default to nil.
6570 (ps-printer-name-option): Default to lpr-printer-switch.
6571 (ps-print-region-function): Don't default to nil.
6572 (ps-postscript-code-directory): Simplify default.
6573 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6574 (ps-string-list, ps-eval-switch, ps-flatten-list)
6575 (ps-flatten-list-1): Remove.
6576 (ps-multibyte-buffer): Avoid setq.
6577 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6578 (print-region-function, ps-print-region-function): Don't set them here.
6579
73600831
XF
65802013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6581
0e55c076
XF
6582 * ido.el (ido-fractionp):
6583 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6584 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6585 (ido-max-directory-size, ido-max-dir-file-cache)
6586 (ido-decorations): Doc fix.
6587
73600831
XF
6588 * ansi-color.el: Fix old URL.
6589
3d012865
MM
65902013-07-23 Michael R. Mauger <michael@mauger.com>
6591
e903c210 6592 * progmodes/sql.el: Version 3.3
3d012865
MM
6593 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6594 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6595 (sql-interactive-remove-continuation-prompt): Rewrite, use
6596 functions above. Fix continuation prompt and complete output line
6597 handling.
6598 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6599 redirected output buffer.
6600 (sql-mode): Restore deleted code (Bug#13591).
6601
da77a2e2
JB
66022013-07-23 Juanma Barranquero <lekktu@gmail.com>
6603
6604 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6605
80ff0c71
MA
66062013-07-23 Michael Albinus <michael.albinus@gmx.de>
6607
6608 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6609
6610 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6611 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6612 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6613
b61d71e4
JB
66142013-07-23 Juanma Barranquero <lekktu@gmail.com>
6615
6616 * desktop.el (desktop-clear): Simplify; remove useless checks
6617 against invalid buffer names.
6618 (desktop-list*): Use cl-list*.
6619 (desktop-buffer-info, desktop-create-buffer): Simplify.
6620
c3512092
LL
66212013-07-23 Leo Liu <sdl.web@gmail.com>
6622
6623 * bookmark.el (bookmark-make-record): Restore NAME as a default
6624 value. (Bug#14933)
6625
0ac26976
SM
66262013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6627
7d22ce18
SM
6628 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6629 extracted from autoload--insert-text.
6630 (autoload--insert-text): Remove.
6631 (autoload--print-cookie-text): New function, extracted from
6632 autoload--insert-cookie-text.
6633 (autoload--insert-cookie-text): Remove.
6634 (autoload-generate-file-autoloads): Adjust calls accordingly.
6635
9b2607e8
SM
6636 * winner.el (winner-hook-installed-p): Remove.
6637 (winner-mode): Simplify accordingly.
6638
c43a8618
SM
6639 * subr.el (add-to-list): Fix compiler-macro when `append' is
6640 not constant. Don't use `cl-member' for the base case.
6641
0ac26976
SM
6642 * progmodes/subword.el: Fix boundary case (bug#13758).
6643 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6644 own group.
6645 (subword-backward-regexp): Make it a constant.
6646 (subword-forward-internal): Don't treat a trailing capital as the
6647 beginning of a word.
6648
6874724a
AR
66492013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6650
6651 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6652 global value of tabulated-list-revert-hook (bug#14930).
6653
70f1b5e8
JB
66542013-07-22 Juanma Barranquero <lekktu@gmail.com>
6655
a1c80d9d
JB
6656 * desktop.el: Require 'cl-lib.
6657 (desktop-before-saving-frames-functions): New hook.
6658 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6659 for frames being saved. Rename from desktop--save-minibuffer-frames.
6660 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6661 Do not save frames with non-nil `desktop-dont-save' parameter.
6662 Filter out deleted frames.
a1c80d9d
JB
6663 (desktop--find-frame): Use cl-find-if.
6664 (desktop--select-frame): Use cl-(first|second|third) to access values
6665 of desktop-mini.
6666 (desktop--make-frame): Use cl-delete-if.
6667 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6668 (desktop-restore-frames): Use cl-(first|second|third) to access values
6669 of desktop-mini. Look for visible frame at the end, not while
6670 restoring frames.
6671
70f1b5e8
JB
6672 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6673 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6674 Use string-match-p, looking-at-p (bug#14927).
6675
728dc3cc
JB
66762013-07-21 Juanma Barranquero <lekktu@gmail.com>
6677
56bc453c
JB
6678 * desktop.el (desktop-saved-frame-states):
6679 Rename from desktop--saved-states; all users changed.
6680 (desktop-save-frames): Rename from desktop--save-frames.
6681 Do not save state to desktop file.
6682 (desktop-save): Save desktop-saved-frame-states to desktop file
6683 and reset to nil.
6684 (desktop-restoring-frames-p): New function.
6685 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6686 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6687 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6688
728dc3cc
JB
6689 * desktop.el: Correctly restore iconified frames.
6690 (desktop--filter-iconified-position): New function.
6691 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6692
862f1c9c
GM
66932013-07-20 Glenn Morris <rgm@gnu.org>
6694
c4074c9f
GM
6695 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6696 Let `message' do the formatting.
6697 (def-gdb-preempt-display-buffer): Add explicit format.
6698
d828e5f9
GM
6699 * image-dired.el (image-dired-track-original-file):
6700 Use with-current-buffer.
6701 (image-dired-track-thumbnail): Use with-current-buffer.
6702 Avoid changing point of wrong window.
6703
862f1c9c
GM
6704 * image-dired.el (image-dired-track-original-file):
6705 Avoid changing point of wrong window. (Bug#14909)
6706
f0398ec1 67072013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6708
6709 * progmodes/gdb-mi.el (gdb-done-or-error):
6710 Guard against "%" in gdb output. (Bug#14127)
6711
1451928f
AS
67122013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6713
763a086d
JB
6714 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6715 (Bug#14826)
f7a03897 6716
1451928f
AS
6717 * international/mule.el (coding-system-iso-2022-flags): Fix last
6718 change.
6719
99107004
KH
67202013-07-20 Kenichi Handa <handa@gnu.org>
6721
763a086d
JB
6722 * international/mule.el (coding-system-iso-2022-flags):
6723 Add `8-bit-level-4'. (Bug#8522)
99107004 6724
48494e06
LMI
67252013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6726
8ba8eec5
LMI
6727 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6728 (bug#14815).
6729
dfbc66e3
LMI
6730 * net/eww.el (eww-process-text-input): Allow inputting when the
6731 point is at the start of the line, as the properties aren't
6732 front-sticky.
6733
48494e06
LMI
6734 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6735 degenerate widths.
6736
77c92cb9
RS
67372013-07-19 Richard Stallman <rms@gnu.org>
6738
aec7da77
RS
6739 * epa.el (epa-popup-info-window): Doc fix.
6740
77c92cb9
RS
6741 * subr.el (split-string): New arg TRIM.
6742
945c5bb1
JB
67432013-07-18 Juanma Barranquero <lekktu@gmail.com>
6744
6745 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6746 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6747
e06ec67f
MA
67482013-07-18 Michael Albinus <michael.albinus@gmx.de>
6749
c7064f05 6750 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6751 `file-notify-support'. Do not autoload. Adapt all uses.
6752 (file-notify-supported-p): New defun.
6753
c7064f05
JB
6754 * autorevert.el (auto-revert-use-notify):
6755 Use `file-notify-supported-p' instead of `file-notify-support'.
6756 Adapt docstring.
e06ec67f
MA
6757 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6758
6759 * net/tramp.el (tramp-file-name-for-operation):
6760 Add `file-notify-supported-p'.
6761
6762 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6763 New defun.
6764 (tramp-sh-file-name-handler-alist): Add it as handler for
6765 `file-notify-supported-p '.
6766
6767 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6768 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6769 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6770 Add `ignore' as handler for `file-notify-*' functions.
6771
5dc8a629
EZ
67722013-07-17 Eli Zaretskii <eliz@gnu.org>
6773
6774 * simple.el (line-move-partial, line-move): Don't start vscroll or
6775 scroll-up if the current line is not taller than the window.
6776 (Bug#14881)
6777
77aea2fb
DG
67782013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6779
6780 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6781 highlight question marks in the method names as strings.
ac72c08d
DG
6782 (ruby-block-beg-keywords): Inline.
6783 (ruby-font-lock-keyword-beg-re): Extract from
6784 `ruby-font-lock-keywords'.
77aea2fb 6785
18c26d81
JD
67862013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6787
6788 * frame.el (blink-cursor-blinks): New defcustom.
6789 (blink-cursor-blinks-done): New defvar.
6790 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6791 (blink-cursor-timer-function): Check if number of blinks has been
6792 done on X and NS.
6793 (blink-cursor-suspend, blink-cursor-check): New defuns.
6794
da48522e
GM
67952013-07-15 Glenn Morris <rgm@gnu.org>
6796
6797 * edmacro.el (edmacro-format-keys): Fix previous change.
6798
0463c1ef
PE
67992013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6800
6801 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6802 The hack didn't work outside English locales anyway.
6803
b43f6451
JB
68042013-07-15 Juanma Barranquero <lekktu@gmail.com>
6805
6806 * simple.el (define-alternatives): Rename from alternatives-define,
6807 per RMS' suggestion.
6808
b958c0ad
JB
68092013-07-14 Juanma Barranquero <lekktu@gmail.com>
6810
6811 * desktop.el (desktop-restore-frames): Change default to t.
6812 (desktop-restore-in-current-display): Now offer more options.
6813 (desktop-restoring-reuses-frames): New customization option.
6814 (desktop--saved-states): Doc fix.
6815 (desktop-filter-parameters-alist): New variable, renamed and expanded
6816 from desktop--excluded-frame-parameters.
6817 (desktop--target-display): New variable.
6818 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6819 (desktop--filter-tty*, desktop--filter-*-color)
6820 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6821 (desktop--filter-save-desktop-parm)
6822 (desktop-restore-in-original-display-p): New functions.
6823 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6824 (desktop--save-minibuffer-frames): New function, inspired by a similar
6825 function from Martin Rudalics.
6826 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6827 (desktop--restore-in-this-display-p): Remove.
6828 (desktop--find-frame): Rename from desktop--find-frame-in-display
6829 and add predicate argument.
6830 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6831 (desktop--reuse-list): New variable.
6832 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6833 New functions.
6834 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6835
f6dd8b36
MA
68362013-07-14 Michael Albinus <michael.albinus@gmx.de>
6837
6838 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6839
2ce3c565
DG
68402013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6841
763a086d
JB
6842 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6843 Highlight conversion methods on Kernel.
2ce3c565 6844
2cdb7698
AM
68452013-07-13 Alan Mackenzie <acm@muc.de>
6846
6847 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6848 and comment it out. This out-commenting enables certain C++
6849 declarations to be parsed correctly.
6850
1a67b811
EZ
68512013-07-13 Eli Zaretskii <eliz@gnu.org>
6852
1b796d6b
EZ
6853 * international/mule.el (define-coding-system): Doc fix.
6854
1a67b811
EZ
6855 * simple.el (default-font-height): Don't call font-info if the
6856 frame's default font didn't change since the frame was created.
6857 (Bug#14838)
6858
58fbe886
LL
68592013-07-13 Leo Liu <sdl.web@gmail.com>
6860
6861 * ido.el (ido-read-file-name): Guard against non-symbol value.
6862
1f0480d4
FEG
68632013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6864
6865 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6866 in nested defuns.
6867
97ead0e5
LL
68682013-07-13 Leo Liu <sdl.web@gmail.com>
6869
6870 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6871 ido-set-matches call. (Bug#6852)
6872
0880a952
DG
68732013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6874
6875 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6876 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6877 Ruby 2.0.
6878 (ruby-font-lock-keywords): Distinguish calls to functions with
6879 module-like names from module references. Highlight character
6880 literals.
6881
a7d8babb
SDJ
68822013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6883
6884 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6885 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6886
acfcc8c5
JB
68872013-07-12 Juanma Barranquero <lekktu@gmail.com>
6888
6889 * desktop.el (desktop--v2s): Remove unused local variable.
6890 (desktop-save-buffer): Make defvar-local; adjust docstring.
6891 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6892 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6893
051f2775
AS
68942013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6895
6896 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6897
f24e7572
GM
68982013-07-12 Eli Zaretskii <eliz@gnu.org>
6899
6900 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6901 (Bug#14842)
6902
539a920c
GM
69032013-07-12 Glenn Morris <rgm@gnu.org>
6904
6905 * doc-view.el: Require cl-lib at runtime too.
6906 (doc-view-remove-if): Remove.
6907 (doc-view-search-next-match, doc-view-search-previous-match):
6908 Use cl-remove-if.
6909
6910 * edmacro.el: Require cl-lib at runtime too.
6911 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6912 (edmacro-mismatch, edmacro-subseq): Remove.
6913
6914 * shadowfile.el: Require cl-lib.
6915 (shadow-remove-if): Remove.
6916 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6917 Use cl-remove-if.
6918
6919 * wid-edit.el: Require cl-lib.
6920 (widget-choose): Use cl-remove-if.
6921 (widget-remove-if): Remove.
6922
6923 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6924 (ebrowse-delete-if-not): Remove.
6925 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6926 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6927 Use cl-delete-if-not.
6928
1048af7c
JB
69292013-07-12 Juanma Barranquero <lekktu@gmail.com>
6930
6931 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6932 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6933
6c0674ee
LL
69342013-07-12 Leo Liu <sdl.web@gmail.com>
6935
6936 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6937
a19b3c2d
GM
69382013-07-11 Glenn Morris <rgm@gnu.org>
6939
4582a01c
GM
6940 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6941 (edebug-gensym-index, edebug-gensym):
6942 Remove reimplementation of cl-gensym.
6943 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6944
6945 * thumbs.el: Require cl-lib at run-time too.
6946 (thumbs-gensym-counter, thumbs-gensym):
6947 Remove reimplementation of cl-gensym.
6948 (thumbs-temp-file): Use cl-gensym.
6949
a19b3c2d
GM
6950 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6951 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6952 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6953 (ert--union, ert--gensym-counter, ert--gensym-counter)
6954 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6955 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6956 (ert-make-test-unbound, ert--expand-should-1)
6957 (ert--expand-should, ert--should-error-handle-error)
6958 (should-error, ert--explain-equal-rec)
6959 (ert--plist-difference-explanation, ert-select-tests)
6960 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6961 Use cl-lib functions rather than reimplementations.
6962
88f6a933
MA
69632013-07-11 Michael Albinus <michael.albinus@gmx.de>
6964
6965 * net/tramp.el (tramp-methods): Extend docstring.
6966 (tramp-connection-timeout): New defcustom.
6967 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6968 (with-tramp-progress-reporter): Simplify.
6969 (tramp-process-actions): Improve messages.
6970
6971 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6972 * net/tramp-sh.el (tramp-maybe-open-connection):
6973 Use `tramp-connection-timeout'.
6974 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6975 (Bug#14808)
6976
a43d577e
LL
69772013-07-11 Leo Liu <sdl.web@gmail.com>
6978
6979 * ido.el (ido-read-file-name): Conform to the requirements of
6980 read-file-name. (Bug#11861)
6981 (ido-read-directory-name): Conform to the requirements of
6982 read-directory-name.
6983
d77974bf
JB
69842013-07-11 Juanma Barranquero <lekktu@gmail.com>
6985
6986 * subr.el (delay-warning): New function.
6987
35cb8a3e
EZ
69882013-07-10 Eli Zaretskii <eliz@gnu.org>
6989
6990 * simple.el (default-line-height): New function.
6991 (line-move-partial, line-move): Use it instead of computing the
6992 line height inline.
6993 (line-move-partial): Always compute ROWH. If the last line is
6994 partially-visible, but its text is completely visible, allow
6995 cursor to enter such a partially-visible line.
6996
525c5c77
MA
69972013-07-10 Michael Albinus <michael.albinus@gmx.de>
6998
6999 Improve error messages. (Bug#14808)
7000
7001 * net/tramp.el (tramp-current-connection): New defvar, moved from
7002 tramp-sh.el.
0ac26976 7003 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7004 needed anymore.
0ac26976
SM
7005 (tramp-error-with-buffer): Show message in minibuffer.
7006 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7007 (with-tramp-progress-reporter): Improve messages.
7008 (tramp-process-actions): Use progress reporter. Delete process in
7009 case of error. Improve messages.
7010
763a086d
JB
7011 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7012 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7013 (tramp-current-connection): Remove.
525c5c77
MA
7014 (tramp-maybe-open-connection): The car of
7015 `tramp-current-connection' are the first 3 slots of the vector.
7016
c7a4d368
TZ
70172013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7018
7019 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7020 inside continued strings.
7021
954b166e
PE
70222013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7023
7024 Timestamp fixes for undo (Bug#14824).
7025 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7026
56973319
LL
70272013-07-10 Leo Liu <sdl.web@gmail.com>
7028
7029 * files.el (require-final-newline): Allow safe local value.
7030 (Bug#14834)
7031
5550a72c
LL
70322013-07-09 Leo Liu <sdl.web@gmail.com>
7033
7034 * ido.el (ido-read-directory-name): Handle fallback.
7035 (ido-read-file-name): Update DIR to ido-current-directory.
7036 (Bug#1516)
c28b9050 7037 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7038
70c46b28
DG
70392013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7040
7041 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7042 "autoload". Remove "warn lower camel case" section, previously
7043 commented out. Highlight negation char. Do not highlight the
7044 target in singleton method definitions.
7045
0b64b838
SM
70462013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7047
7fd72e2c
SM
7048 * faces.el (tty-setup-hook): Declare the hook.
7049
0b64b838
SM
7050 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7051 and detect when a guard/pred depends on local vars (bug#14773).
7052 (pcase--u1): Adjust caller.
7053
ab49d60b
EZ
70542013-07-08 Eli Zaretskii <eliz@gnu.org>
7055
7056 * simple.el (line-move-partial, line-move): Account for
7057 line-spacing.
701d79aa
EZ
7058 (line-move-partial): Avoid setting vscroll when the last
7059 partially-visible line in window is of default height.
ab49d60b 7060
2d756ae0
LMI
70612013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7062
7063 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7064 been used a while.
7065
ed095bd7
JB
70662013-07-07 Juanma Barranquero <lekktu@gmail.com>
7067
7068 * subr.el (read-quoted-char): Remove unused local variable `char'.
7069
f1e6674b
MK
70702013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7071
584ee3fc
GM
7072 * ediff.el (ediff-version): Version update.
7073 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7074 (ediff-merge-with-ancestor-command, ediff-directories-command)
7075 (ediff-directories3-command, ediff-merge-directories-command)
7076 (ediff-merge-directories-with-ancestor-command): New functions.
7077 All are command-line interfaces to ediff: to facilitate calling
7078 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7079
7080 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7081 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7082
584ee3fc
GM
7083 * viper.el (viper-version): Version update.
7084 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7085
584ee3fc
GM
70862013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7087
7088 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7089 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7090 (viper-intercept-ESC-key): Simplify.
7091 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7092 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7093 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7094 (viper-setup-ESC-to-escape): New functions.
7095 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7096 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7097
9aff9b38
EZ
70982013-07-07 Eli Zaretskii <eliz@gnu.org>
7099
5165d44a
JB
7100 * simple.el (default-font-height, window-screen-lines):
7101 New functions.
9aff9b38
EZ
7102 (line-move, line-move-partial): Use them instead of
7103 frame-char-height and window-text-height. This makes scrolling
7104 text smoother when the buffer's default face uses a font that is
7105 different from the frame's default font.
7106
1afb1d07
JD
71072013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7108
7109 * files.el (write-file): Do not display confirm dialog for NS,
7110 it does its own dialog, which can't be cancelled (Bug#14578).
7111
23de972a
EZ
71122013-07-06 Eli Zaretskii <eliz@gnu.org>
7113
7114 * simple.el (line-move-partial): Adjust the row returned by
7115 posn-at-point for the current window-vscroll. (Bug#14567)
7116
54a42486
MA
71172013-07-06 Michael Albinus <michael.albinus@gmx.de>
7118
7119 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7120 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7121 spaces.
7122
34ada5f4
MR
71232013-07-06 Martin Rudalics <rudalics@gmx.at>
7124
7125 * window.el (window-state-put-stale-windows): New variable.
7126 (window--state-put-2): Save list of windows without matching buffer.
7127 (window-state-put): Remove "bufferless" windows if possible.
7128
11e03d89
JB
71292013-07-06 Juanma Barranquero <lekktu@gmail.com>
7130
7131 * simple.el (alternatives-define): Remove leftover :group keyword.
7132 Tweak docstring.
7133
3504a4be
LL
71342013-07-06 Leo Liu <sdl.web@gmail.com>
7135
7136 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7137 (ido-enable-virtual-buffers): New variable.
7138 (ido-buffer-internal, ido-toggle-virtual-buffers)
7139 (ido-make-buffer-list): Use it.
7140 (ido-exhibit): Support turning on and off virtual buffers
7141 automatically.
7142
61e56e2c
JB
71432013-07-06 Juanma Barranquero <lekktu@gmail.com>
7144
7145 * simple.el (alternatives-define): New macro.
7146
321e1a9c
SM
71472013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7148
7149 * subr.el (read-quoted-char): Use read-key.
7150 (sit-for): Let read-event decode tty input (bug#14782).
7151
d610f6dd
SB
71522013-07-05 Stephen Berman <stephen.berman@gmx.net>
7153
7154 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7155 mode command and externally. Fix various related bugs.
7156 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7157 (todo-delete-file): New command.
7158 (todo-check-file): New function.
7159 (todo-show): Handle external deletion of the file we're trying to
7160 show (bug#14688). Replace called-interactively-p by an optional
7161 prefix argument to avoid problematic interaction with catch form
7162 when byte compiled (bug#14702).
7163 (todo-quit): Handle external deletion of the archive's todo file.
7164 Make sure the buffer that was visiting the archive file is still
7165 live before trying to bury it.
7166 (todo-category-completions): Handle external deletion of any
7167 category completion files.
7168 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7169 of todo files, in case of external deletion.
7170 (todo-add-file): Replace unnecessary setq by let-binding.
7171 (todo-find-archive): Check whether there are any archives.
7172 Replace unnecessary setq by let-binding.
7173 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7174 archive buffer whether or not the archive already exists.
7175 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7176 check if the archive is new; if it is, update list of archives.
7177 (todo-default-todo-file): Allow nil to be a valid value for when
7178 there are no todo files.
7179 (todo-reevaluate-default-file-defcustom): Use corrected definition
7180 of todo-default-todo-file.
7181 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7182 (todo-delete-category, todo-show-categories-table)
7183 (todo-category-number): Clarify comment.
7184 (todo-filter-items): Clarify documentation string.
7185 (todo-show-current-file, todo-display-as-todo-file)
7186 (todo-reset-and-enable-done-separator): Tweak documentation string.
7187 (todo-done-separator): Make separator length window-width, since
7188 bug#2749 is now fixed.
7189
ddbdfd6f
MA
71902013-07-05 Michael Albinus <michael.albinus@gmx.de>
7191
321e1a9c
SM
7192 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7193 Support both "gvfs-monitor-dir" and "inotifywait".
7194 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7195 `tramp-sh-file-notify-process-filter'.
7196 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7197 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7198
96eb829a
LL
71992013-07-05 Leo Liu <sdl.web@gmail.com>
7200
7201 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7202
cf13177e
YM
72032013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7204
7205 * frame.el (display-pixel-height, display-pixel-width)
7206 (display-mm-height, display-mm-width): Mention behavior on
7207 multi-monitor setups in docstrings.
7208 (w32-display-monitor-attributes-list): Declare function.
7209 (display-monitor-attributes-list): Use it.
7210
864c58ca
MA
72112013-07-04 Michael Albinus <michael.albinus@gmx.de>
7212
7213 * filenotify.el: New package.
7214
7215 * autorevert.el (top): Require filenotify.el.
7216 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7217 instead.
7218 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7219 (auto-revert-notify-handler): Use `file-notify-*' functions.
7220
7221 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7222
321e1a9c
SM
7223 * net/tramp.el (tramp-file-name-for-operation):
7224 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7225
7226 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7227 for `file-notify-add-watch' and `file-notify-rm-watch'.
7228 (tramp-process-sentinel): Improve trace.
7229 (tramp-sh-handle-file-notify-add-watch)
7230 (tramp-sh-file-notify-process-filter)
7231 (tramp-sh-handle-file-notify-rm-watch)
7232 (tramp-get-remote-inotifywait): New defuns.
7233
96673afe
JL
72342013-07-03 Juri Linkov <juri@jurta.org>
7235
7236 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7237 call of `occur-read-primary-args' to interactive spec.
7238
7239 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7240 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7241
924494f4
MM
72422013-07-03 Matthias Meulien <orontee@gmail.com>
7243
7244 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7245 `Buffer-menu-multi-occur'. Add it to the menu.
7246 (Buffer-menu-mode): Document it in docstring.
7247 (Buffer-menu-multi-occur): New command. (Bug#14673)
7248
56f75efc
DG
72492013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7250
7251 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7252 keywords and built-ins.
7253
9b057d61
GM
72542013-07-03 Glenn Morris <rgm@gnu.org>
7255
208dee4d
GM
7256 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7257
9b057d61
GM
7258 Make info-xref checks case-sensitive by default
7259 * info.el (Info-find-node, Info-find-in-tag-table)
7260 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7261 Add option for exact case matching of nodes.
7262 * info-xref.el (info-xref): New custom group.
7263 (info-xref-case-fold): New option.
7264 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7265
e01aa29c
LL
72662013-07-03 Leo Liu <sdl.web@gmail.com>
7267
7268 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7269
3086ca2e
DG
72702013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7271
7272 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7273 middle of block statement initially, lower the depth. Remove
7274 FIXME comment, not longer valid. Remove middle of block statement
7275 detection, no need to do that anymore since we've been using
7276 `ruby-parse-region' here.
7277
a3b49114
JD
72782013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7279
7280 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7281
08e5c823 72822013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7283
7284 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7285
2addf922
JB
72862013-07-01 Juanma Barranquero <lekktu@gmail.com>
7287
7288 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7289 (desktop-restore-in-current-display): New customization option.
7290 (desktop--excluded-frame-parameters): Add `font'.
7291 (desktop--save-frames): Rename from desktop--save-windows.
7292 (desktop--restore-in-this-display-p): New function.
7293 (desktop--make-full-frame): Remove unwanted width/height from
7294 full(width|height) frames.
7295 (desktop--restore-frames): Rename from desktop--restore-windows.
7296 Obey desktop-restore-current-display. Do not delete old frames or
7297 select a new frame unless we were able to restore at least one frame.
7298
ef099a94
MN
72992013-06-30 Michal Nazarewicz <mina86@mina86.com>
7300
7301 * files.el (find-file-noselect): Simplify conditional expression.
7302
7303 * remember.el (remember-append-to-file):
7304 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7305
7306 Add `remember-notes' function to store random notes across Emacs
7307 restarts.
7308 * remember.el (remember-data-file): Add :set callback to affect
7309 notes buffer (if any).
7310 (remember-notes): New command.
7311 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7312 New defcustoms for the `remember-notes' function.
7313 (remember-notes-save-and-bury-buffer): New command.
7314 (remember-notes-mode-map): New variable.
7315 (remember-mode): New minor mode.
7316 (remember-notes--kill-buffer-query): New function.
7317 * startup.el (initial-buffer-choice): Add notes to custom type.
7318
0865d506
EZ
73192013-06-30 Eli Zaretskii <eliz@gnu.org>
7320
0ba54312
EZ
7321 * bindings.el (right-char, left-char): Don't call sit-for, this is
7322 no longer needed. Use arithmetic comparison only for numerical
7323 arguments.
7324
ef099a94
MN
7325 * international/mule-cmds.el (select-safe-coding-system):
7326 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7327
2fae38e5
LMI
73282013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7329
7330 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7331 progression on degenerate tables.
ef099a94 7332 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7333
a47cbd64
JB
73342013-06-30 Juanma Barranquero <lekktu@gmail.com>
7335
7336 Some fixes and improvements for desktop frame restoration.
7337 It is still experimental and disabled by default.
7338 * desktop.el (desktop--save-windows): Put the selected frame at
7339 the head of the list.
7340 (desktop--make-full-frame): New function.
7341 (desktop--restore-windows): Try to re-select the frame that was
7342 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7343 just show an error message and continue. Set up maximized frames
7344 so they have default non-maximized dimensions.
a47cbd64 7345
6dbafa30
DG
73462013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7347
ef099a94
MN
7348 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7349 Don't start heredoc inside a string or comment.
6dbafa30 7350
4c672a0f
EZ
73512013-06-29 Eli Zaretskii <eliz@gnu.org>
7352
7353 * bindings.el (visual-order-cursor-movement): New defcustom.
7354 (right-char, left-char): Provide visual-order cursor motion by
7355 calling move-point-visually. Update the doc strings.
7356
50960f36
KH
73572013-06-28 Kenichi Handa <handa@gnu.org>
7358
7359 * international/mule.el (define-coding-system): New coding system
7360 properties :inhibit-null-byte-detection,
7361 :inhibit-iso-escape-detection, and :prefer-utf-8.
7362 (set-buffer-file-coding-system): If :charset-list property of
7363 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7364 appropriate for setting.
7365
c1ea3abf
JB
7366 * international/mule-cmds.el (select-safe-coding-system):
7367 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7368 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7369
7370 * international/mule-conf.el (prefer-utf-8): New coding system.
7371 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7372 files.
7373
75dbaf9d
IK
73742013-06-28 Ivan Kanis <ivan@kanis.fr>
7375
eadb6068
IK
7376 * net/shr.el (shr-render-region): New function.
7377
75dbaf9d
IK
7378 * net/eww.el: Autoload `eww-browse-url'.
7379
9ea5cf9f
DG
73802013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7381
c1ea3abf
JB
7382 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7383 Adapt to `package-desc-version' being a list.
7384 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7385 archive element.
7386
39c0e36f
JB
73872013-06-27 Juanma Barranquero <lekktu@gmail.com>
7388
7389 New experimental feature to save&restore window and frame setup.
7390 * desktop.el (desktop-save-windows): New defcustom.
7391 (desktop--saved-states): New var.
7392 (desktop--excluded-frame-parameters): New defconst.
7393 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7394 (desktop--restore-windows, desktop--save-windows): New functions.
7395 (desktop-save): Call `desktop--save-windows'.
7396 (desktop-read): Call `desktop--restore-windows'.
7397
7f13406b
LMI
73982013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7399
ef099a94 7400 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7401
1e072639
SB
74022013-06-27 Stephen Berman <stephen.berman@gmx.net>
7403
7404 * info.el (Info-try-follow-nearest-node): Move search for footnote
7405 above search for node name to prevent missing a footnote (bug#14717).
7406
f3e2cbde
SB
74072013-06-27 Stephen Berman <stephen.berman@gmx.net>
7408
7409 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7410
99906aa0
LL
74112013-06-27 Leo Liu <sdl.web@gmail.com>
7412
7413 * net/eww.el (eww-read-bookmarks): Check file size.
7414
539f75f4
SM
74152013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7416
7417 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7418 advice--pending if newdef is nil or an autoload (bug#13820).
7419 (advice-mapc): New function.
7420
843571cb
LMI
74212013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7422
7423 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7424 probably.
23a75d7f 7425 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7426 (eww-add-bookmark): New command.
7427 (eww-bookmark-mode): New mode and commands.
a285ce99 7428 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7429 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7430
f2136e1e
GM
74312013-06-26 Glenn Morris <rgm@gnu.org>
7432
eab35f39
GM
7433 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7434 (hfy-size): Handle ttys. (Bug#14668)
7435
f2136e1e
GM
7436 * info-xref.el: Update for Texinfo 5 change in *note format.
7437 (info-xref-node-re, info-xref-note-re): New constants.
7438 (info-xref-check-buffer): Use info-xref-note-re.
7439
a49ff80c
SM
74402013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7441
a343d218
SM
7442 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7443
a49ff80c
SM
7444 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7445 nil terminate the loop (bug#14718).
7446
8308f184
LMI
74472013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7448
7449 * net/eww.el: Rework history traversal. When going forward/back,
7450 put these actions into the history, too, so that they can be
7451 replayed.
26bf2b82 7452 (eww-render): Move the history reset to the correct buffer.
8308f184 7453
ec64c273
JL
74542013-06-25 Juri Linkov <juri@jurta.org>
7455
7456 * files-x.el (modify-dir-local-variable): Change the header comment
7457 in the file with directory local variables. (Bug#14692)
7458
e080a9d7
JL
7459 * files-x.el (read-file-local-variable-value): Add `default'.
7460 (Bug#14710)
7461
bfbc93a1
IK
74622013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7463
7464 * net/eww.el (eww-make-unique-file-name): Create a unique file
7465 name before saving to entering `y' accidentally asynchronously.
7466
74672013-06-25 Ivan Kanis <ivan@kanis.fr>
7468
7469 * net/eww.el (eww-download): New command and keystroke.
7470
16f74f10
LMI
74712013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7472
a49ff80c 7473 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7474
7475 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7476 be more consistent with Info and dired.
7477
7478 * net/eww.el (eww-mode-map): Ditto.
7479
12059709
SM
74802013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7481
7482 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7483 packages from archives.
7484 (package-archive-contents): Change format; include obsolete packages.
7485 (package-desc): Use `dir' to mark builtin packages.
7486 (package--from-builtin): Set the `dir' field to `builtin'.
7487 (generated-autoload-file, version-control): Declare.
7488 (package-compute-transaction): Change first arg and return value to be
7489 lists of package-descs. Adjust to new package-archive-contents format.
7490 (package--add-to-archive-contents): Adjust to new
7491 package-archive-contents format.
7492 (package-download-transaction): Arg is now a list of package-descs.
7493 (package-install): If `pkg' is a package name, pass it as
7494 a requirement, so it is subject to the usual (e.g. disabled) checks.
7495 (describe-package): Accept package-desc as well.
7496 (describe-package-1): Describe a specific package-desc. Add links to
7497 other package-descs for the same package name.
7498 (package-menu-describe-package): Pass the actual package-desc.
7499 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7500 works correctly.
7501 (package-desc-status): New function.
7502 (package-menu--refresh): New function, extracted
7503 from package-menu--generate.
7504 (package-menu--generate): Use it.
7505 (package-delete): Update package-alist.
7506 (package-menu-execute): Don't call package-initialize.
7507
7508 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7509 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7510 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7511 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7512 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7513 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7514
8bbdea0f
MR
75152013-06-25 Martin Rudalics <rudalics@gmx.at>
7516
7517 * window.el (window--state-get-1): Workaround for bug#14527.
7518 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7519
e82b0991
LMI
75202013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7521
7522 * net/eww.el (eww-back-url): Implement the history by stashing all
7523 the data into a list.
d3f0f918 7524 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7525
c763842b
SM
75262013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7527
7528 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7529 for values and use read--expression for expressions (bug#14710).
7530 (read-file-local-variable): Avoid setq.
7531 (read-file-local-variable-mode): Use minor-mode-list.
7532
bceff189
RW
75332013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7534
864c58ca 7535 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7536 for DOI URLs.
7537
45f431c6
RW
75382013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7539
864c58ca 7540 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7541 Update imenu-support when dialect changes.
7542
f42d8237
LL
75432013-06-25 Leo Liu <sdl.web@gmail.com>
7544
7545 * ido.el (ido-read-internal): Allow forward slash on windows.
7546
be549ce6
LMI
75472013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7548
7549 * net/eww.el (eww): Start of strings is \\`, not ^.
7550
71d4c19d
IK
75512013-06-24 Ivan Kanis <ivan@kanis.fr>
7552
5196f88a
IK
7553 * net/shr.el (shr-browse-url): Fix interactive spec.
7554
71d4c19d
IK
7555 * net/eww.el (eww): Add a trailing slash to domain names.
7556
ae36ca55
JB
75572013-06-24 Juanma Barranquero <lekktu@gmail.com>
7558
7559 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7560
0ebd92a3
LMI
75612013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7562
bdaa086b
LMI
7563 * net/shr.el (shr-browse-url): Use an external browser if given a
7564 prefix.
7565
c763842b 7566 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7567
b89fc156
IK
75682013-06-24 Ivan Kanis <ivan@kanis.fr>
7569
7570 * net/eww.el (eww): Work more correctly for file: URLs.
7571 (eww-detect-charset): Allow quoted charsets.
7572 (eww-yank-page-url): New command and keystroke.
7573
18eb4bca
DU
75742013-06-24 Daiki Ueno <ueno@gnu.org>
7575
7576 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7577 file name of gpg executable.
7578 (epg-context-program): New function.
7579 (epg-context-home-directory): New function.
7580 (epg-context-set-program): New function.
7581 (epg-context-set-home-directory): New function.
7582 (epg--start): Use `epg-context-program' instead of
7583 'epg-gpg-program'.
7584 (epg--list-keys-1): Likewise.
7585
6c6268c8
LL
75862013-06-24 Leo Liu <sdl.web@gmail.com>
7587
7588 * ido.el (ido-read-internal): Fix bug#14620.
7589
5e400cb3
JB
75902013-06-23 Juanma Barranquero <lekktu@gmail.com>
7591
7592 * faces.el (face-documentation): Simplify.
7593 (read-face-attribute, tty-find-type, x-resolve-font-name):
7594 Use `string-match-p'.
7595 (list-faces-display): Use `string-match-p'. Simplify.
7596 (face-spec-recalc): Check face to avoid face alias loops.
7597 (read-color): Use `string-match-p' and non-capturing parenthesis.
7598
f3f9606c
LMI
75992013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7600
7601 * net/shr.el (shr-rescale-image): Use the new
7602 :max-width/:max-height functionality.
7603
a3ca09b9
IK
76042013-06-23 Ivan Kanis <ivan@kanis.fr>
7605
7606 * net/eww.el (eww-search-prefix): New variable.
7607 (eww): Use it.
f865b474
IK
7608 (eww-external-browser): New variable.
7609 (eww-mode-map): New keystroke.
7610 (eww-browse-with-external-browser): New command.
a3ca09b9 7611
e854cfc7
IK
7612 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7613
18bb9e21
JB
76142013-06-23 Juanma Barranquero <lekktu@gmail.com>
7615
7616 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7617 Don't skip aligning the next header field when padding is 0;
7618 otherwise, field width is not respected unless the title is as
7619 wide as the field.
7620
5b165ade
SM
76212013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7622
7623 * emacs-lisp/package.el (package-el-version): Remove.
7624 (package-process-define-package): Fix inf-loop.
7625 (package-install): Allow symbols as arguments again.
7626
12adebe9
DG
76272013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7628
7629 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7630 add some more keyword-like methods.
7631 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7632
388573ee
JB
76332013-06-22 Juanma Barranquero <lekktu@gmail.com>
7634
7635 * bs.el (bs-buffer-show-mark): Make defvar-local.
7636 (bs-mode): Use setq-local.
7637
7638 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7639 (emacs-lock--try-unlocking): Make defvar-local.
7640
4582a01c 76412013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7642
2663dd23
GM
7643 * play/cookie1.el (cookie-apropos): Minor simplification.
7644
3d94f3ad
GM
7645 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7646
f72e2fdb
DG
76472013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7648
7649 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7650 `regexp-opt', it breaks the build during dumping.
7651
73eab938
DG
76522013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7653
c763842b
SM
7654 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7655 Highlight keyword-like methods on Kernel and Module with
73eab938 7656 font-lock-builtin-face.
5cf8176d
DG
7657 (auto-mode-alist): Consolidate different entries into one regexp
7658 and add more *file-s.
73eab938 7659
d26255f6
SB
76602013-06-21 Stephen Berman <stephen.berman@gmx.net>
7661
7662 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7663
7664 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7665 (diary-entry): Use it in the action of this button type instead of
7666 diary-goto-entry.
7667
7668 * calendar/todo-mode.el: New version.
7669 (todo-add-category): Append new category to end of file and give
7670 it the highest number, instead of putting it at the beginning and
7671 giving it 0. Incorporate noninteractive functionality.
7672 (todo-forward-category): Adapt to 1-based category numbering.
7673 Allow skipping over archived categories.
7674 (todo-backward-category): Derive from todo-forward-category.
7675 (todo-backward-item, todo-forward-item): Make noninteractive and
7676 delegate interactive part to new commands. Make sensitive to done items.
7677 (todo-categories): Make value an alist of category names and
7678 vectors of item counts.
7679 (todo-category-beg): Make a defconst.
7680 (todo-category-number): Use 1 instead of 0 as initial value.
7681 (todo-category-select): Make sensitive to overlays, optional item
7682 highlighting and done items.
7683 (todo-delete-item): Make sensitive to overlays and marked and done items.
7684 (todo-edit-item): Make sensitive to overlays and editing of
7685 date/time header optional. Add format checks.
7686 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7687 no-op if point is not on an item. Advertise using todo-edit-quit.
7688 (todo-edit-mode): Make sensitive to new format, font-locking, and
7689 multiple todo files.
7690 (todo-insert-item, todo-insert-item-here): Derive from
7691 todo-basic-insert-item and extend functionality.
7692 (todo-item-end, todo-item-start): Make sensitive to done items.
7693 (todo-item-string): Don't return text properties. Restore point.
7694 (todo-jump-to-category): Make sensitive to multiple todo files and
7695 todo archives. Use extended category completion.
7696 (todo-lower-item, todo-raise-item): Rename to *-priority and
7697 derive from todo-set-item-priority.
7698 (todo-mode): Derive from special-mode. Make sensitive to new
7699 format, font-locking and multiple todo files. Make read-only.
7700 (todo-mode-map): Don't suppress digit keys, so they can supply
7701 prefix arguments. Add many new key bindings.
7702 (todo-prefix): Insert as an overlay instead of file text.
7703 Change semantics from diary date expression to purely visual mark.
7704 (todo-print): Rename to todo-print-buffer. Make buffer display
7705 features printable. Remove option to restrict number of items
7706 printed. Add option to print to file.
7707 (todo-print-function): Rename to todo-print-buffer-function.
7708 (todo-quit): Extend to handle exiting new todo modes.
7709 (todo-remove-item): Make sensitive to overlays.
7710 (todo-save): Extend to buffers of filtered items.
7711 (todo-show): Make sensitive to done items, multiple todo files and
7712 new todo modes. Offer to convert legacy todo file before creating
7713 first new todo file.
7714 (todo-show-priorities): Rename to todo-top-priorities.
7715 Change semantics of value 0.
7716 (todo-top-priorities): Rename to todo-filter-top-priorities,
7717 derive from todo-filter-items and extend functionality.
7718 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7719 and extend functionality to other types of filtered items.
7720 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7721 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7722 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7723 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7724 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7725 (todo-edit-mode-hook, todo-entry-prefix-function)
7726 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7727 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7728 (todo-initials, todo-insert-threshold, todo-item-string-start)
7729 (todo-line-string, todo-menu, todo-mode-hook)
7730 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7731 (todo-print-priorities, todo-remove-separator)
7732 (todo-save-top-priorities-too, todo-string-count-lines)
7733 (todo-string-multiline-p, todo-time-string-format)
7734 (todo-tmp-buffer-name): Remove.
7735 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7736 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7737 (todo-edit-category-diary-inclusion)
7738 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7739 (todo-edit-file, todo-edit-item-date-day)
7740 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7741 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7742 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7743 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7744 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7745 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7746 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7747 (todo-filter-top-priorities-multifile, todo-find-archive)
7748 (todo-find-filtered-items-file, todo-go-to-source-item)
7749 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7750 (todo-jump-to-archive-category, todo-lower-category)
7751 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7752 (todo-move-category, todo-move-item, todo-next-button)
7753 (todo-next-item, todo-padded-string, todo-powerset)
7754 (todo-previous-button, todo-previous-item)
7755 (todo-print-buffer-to-file, todo-raise-category)
7756 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7757 (todo-set-category-number, todo-set-item-priority)
7758 (todo-set-top-priorities-in-category)
7759 (todo-set-top-priorities-in-file, todo-show-categories-table)
7760 (todo-sort-categories-alphabetically-or-numerically)
7761 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7762 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7763 (todo-toggle-item-header, todo-toggle-item-highlighting)
7764 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7765 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7766 (todo-unarchive-items, todo-unmark-category): New commands.
7767 (todo-absolute-file-name, todo-add-to-buffer-list)
7768 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7769 (todo-basic-insert-item, todo-category-completions)
7770 (todo-category-number, todo-category-string-matcher-1)
7771 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7772 (todo-check-format, todo-clear-matches)
7773 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7774 (todo-current-category, todo-date-string-matcher)
7775 (todo-define-insertion-command, todo-diary-expired-matcher)
7776 (todo-diary-goto-entry, todo-diary-item-p)
7777 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7778 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7779 (todo-done-item-section-p, todo-done-separator)
7780 (todo-done-string-matcher, todo-files, todo-filter-items)
7781 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7782 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7783 (todo-insert-category-line, todo-insert-item-from-calendar)
7784 (todo-insert-sort-button, todo-insert-with-overlays)
7785 (todo-insertion-command-name, todo-insertion-key-bindings)
7786 (todo-label-to-key, todo-longest-category-name-length)
7787 (todo-make-categories-list, todo-mode-external-set)
7788 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7789 (todo-modes-set-3, todo-multiple-filter-files)
7790 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7791 (todo-read-category, todo-read-date, todo-read-dayname)
7792 (todo-read-file-name, todo-read-time)
7793 (todo-reevaluate-category-completions-files-defcustom)
7794 (todo-reevaluate-default-file-defcustom)
7795 (todo-reevaluate-filelist-defcustoms)
7796 (todo-reevaluate-filter-files-defcustom)
7797 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7798 (todo-reset-done-separator, todo-reset-done-separator-string)
7799 (todo-reset-done-string, todo-reset-global-current-todo-file)
7800 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7801 (todo-reset-prefix, todo-set-categories)
7802 (todo-set-date-from-calendar, todo-set-show-current-file)
7803 (todo-set-top-priorities, todo-short-file-name)
7804 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7805 (todo-total-item-counts, todo-update-buffer-list)
7806 (todo-update-categories-display, todo-update-categories-sexp)
7807 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7808 New functions.
7809 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7810 New major modes.
7811 (todo-categories, todo-display, todo-edit, todo-faces)
7812 (todo-filtered): New defgroups.
7813 (todo-archived-only, todo-button, todo-category-string, todo-date)
7814 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7815 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7816 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7817 (todo-add-item-if-new-category, todo-always-add-time-string)
7818 (todo-categories-align, todo-categories-archived-label)
7819 (todo-categories-category-label, todo-categories-diary-label)
7820 (todo-categories-done-label, todo-categories-number-separator)
7821 (todo-categories-todo-label, todo-categories-totals-label)
7822 (todo-category-completions-files, todo-completion-ignore-case)
7823 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7824 (todo-done-separator-string, todo-done-string)
7825 (todo-files-function, todo-filter-done-items, todo-filter-files)
7826 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7827 (todo-initial-category, todo-initial-file, todo-item-mark)
7828 (todo-legacy-date-time-regexp, todo-mode-line-function)
7829 (todo-nondiary-marker, todo-number-prefix)
7830 (todo-print-buffer-function, todo-show-current-file)
7831 (todo-show-done-only, todo-show-first, todo-show-with-done)
7832 (todo-skip-archived-categories, todo-top-priorities-overrides)
7833 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7834 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7835 New defcustoms.
7836 (todo-category-done, todo-date-pattern, todo-date-string-start)
7837 (todo-diary-items-buffer, todo-done-string-start)
7838 (todo-filtered-items-buffer, todo-item-start)
7839 (todo-month-abbrev-array, todo-month-name-array)
7840 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7841 (todo-top-priorities-buffer): New defconsts.
7842 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7843 (todo-categories-with-marks, todo-category-string-face)
7844 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7845 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7846 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7847 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7848 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7849 (todo-font-lock-keywords, todo-global-current-todo-file)
7850 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7851 (todo-insertion-commands-args)
7852 (todo-insertion-commands-args-genlist)
7853 (todo-insertion-commands-names, todo-insertion-map)
7854 (todo-key-bindings-t, todo-key-bindings-t+a)
7855 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7856 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7857 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7858 (todo-visited): New variables.
7859
cad5d1cb
GM
78602013-06-21 Glenn Morris <rgm@gnu.org>
7861
7862 * play/cookie1.el (cookie-apropos): Add optional display argument.
7863 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7864 (psychoanalyze-pinhead): Use cookie-doctor.
7865
9e277302
JB
78662013-06-21 Juanma Barranquero <lekktu@gmail.com>
7867
7868 * emacs-lisp/package.el (tar-get-file-descriptor)
7869 (tar--extract): Declare.
7870
c5b0993e
EW
78712013-06-21 Eduard Wiebe <usenet@pusto.de>
7872
7873 Extend flymake's warning predicate to be a function (bug#14217).
7874 * progmodes/flymake.el (flymake-warning-predicate): New.
7875 (flymake-parse-line): Use it.
7876 (flymake-warning-re): Make obsolete alias to
7877 `flymake-warning-predicate'.
7878
a7d2d465
SM
78792013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7880
7881 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7882 (package-obsolete-list): Remove.
7883 (package-activate): Remove min-version argument. Add `force' argument.
7884 Adjust to new package-alist format.
7885 (package-mark-obsolete): Remove.
7886 (package-unpack): Force reload of the package's autoloads.
7887 (package-installed-p): Check builtins if the installed package is not
7888 recent enough.
7889 (package-initialize): Don't reset package-obsolete-list.
7890 Don't specify which package version to activate.
7891 (package-process-define-package, describe-package-1)
7892 (package-menu--generate): Adjust to new package-alist format.
7893
cedf5c9d
JB
78942013-06-21 Juanma Barranquero <lekktu@gmail.com>
7895
7896 * allout-widgets.el (allout-widgets-mode-off)
7897 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7898 (allout-widgets-post-command-business)
7899 (allout-widgets-after-copy-or-kill-function)
7900 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7901 (allout-decorate-item-and-context)
7902 (allout-graphics-modification-handler): Fix typos in docstrings.
7903 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7904
7905 * cmuscheme.el (scheme-start-file): Doc fix.
7906 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7907 (scheme-input-filter): Use `string-match-p'.
7908
7909 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7910
7911 * dired-x.el: Use Dired consistently in docstrings.
7912
7913 * dired.el: Use Dired consistently in docstrings.
7914 (dired-readin, dired-mode): Use `setq-local'.
7915 (dired-switches-alist): Make defvar-local.
7916 (dired-buffers-for-dir): Use `zerop'.
7917 (dired-safe-switches-p, dired-switches-escape-p)
7918 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7919 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7920 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7921 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7922 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7923 (dired-toggle-marks, dired-mark-files-containing-regexp)
7924 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7925 (dired-flag-auto-save-files, dired-flag-backup-files):
7926 Use `looking-at-p'.
7927 (dired-mark-files-regexp, dired-build-subdir-alist):
7928 Use `string-match-p', `looking-at-p'.
7929
7930 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7931 (direct-print-region-helper): Use `string-match-p'.
7932
aed838b5
LL
79332013-06-21 Leo Liu <sdl.web@gmail.com>
7934
cedf5c9d
JB
7935 * comint.el (comint-redirect-results-list-from-process):
7936 Fix infinite loop.
aed838b5 7937
d80a808f
LMI
79382013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7939
7940 * net/eww.el (eww-update-header-line-format): Quote % characters.
7941
e7a526e3
GM
79422013-06-21 Glenn Morris <rgm@gnu.org>
7943
7944 * play/cookie1.el (cookie): New custom group.
7945 (cookie-file): New option.
7946 (cookie-check-file): New function.
7947 (cookie): Make it interactive. Make start and end messages optional.
7948 Interactively, display the result. Default to cookie-file.
7949 (cookie-insert): Default to cookie-file.
7950 (cookie-snarf): Make start and end messages optional.
7951 Default to cookie-file. Use with-temp-buffer.
7952 (cookie-read): Rename from read-cookie.
7953 Make start and end messages optional. Default to cookie-file.
7954 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7955 Do not autoload it.
e7a526e3
GM
7956 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7957 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7958
62efb35e
LL
79592013-06-21 Leo Liu <sdl.web@gmail.com>
7960
7961 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7962
21e3f963
GM
79632013-06-21 Glenn Morris <rgm@gnu.org>
7964
7965 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7966
fd846ab4
SM
79672013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7968 Daniel Hackney <dan@haxney.org>
7969
7970 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7971 Consolidate the single-file vs tarball code.
7972 (package-desc-suffix): New function.
7973 (package-desc-full-name): Don't bother inlining it.
7974 (package-load-descriptor): Return the new package-desc.
7975 (package-mark-obsolete): Remove unused arg `package'.
7976 (package-unpack): Make it work for single files as well.
7977 Make it update package-alist.
7978 (package--make-autoloads-and-stuff): Rename from
7979 package--make-autoloads-and-compile. Don't compile any more.
7980 (package--compile): New function.
7981 (package-generate-description-file): New function, extracted from
7982 package-unpack-single.
7983 (package-unpack-single): Remove.
7984 (package--with-work-buffer): Add indentation and debugging info.
7985 (package-download-single): Remove.
7986 (package-install-from-archive): Rename from package-download-tar, make
7987 it take a pkg-desc, and make it work for single files as well.
7988 (package-download-transaction): Simplify.
7989 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7990 external tar program.
7991 (package-install-from-buffer): Remove `pkg-desc' argument.
7992 Use package-tar-file-info for tar-mode buffers.
7993 (package-install-file): Simplify accordingly.
7994 (package-archive-base): Change to take a pkg-desc.
7995 * tar-mode.el (tar--check-descriptor): New function, extracted from
7996 tar-get-descriptor.
7997 (tar-get-descriptor): Use it.
7998 (tar-get-file-descriptor): New function.
7999 (tar--extract): New function, extracted from tar-extract.
8000 (tar--extract): Use it.
8001 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8002 case the summary uses non-ascii. Adjust to new calling convention of
8003 package-tar-file-info.
8004
b7deae5e
LL
80052013-06-21 Leo Liu <sdl.web@gmail.com>
8006
fd846ab4
SM
8007 * comint.el (comint-redirect-results-list-from-process):
8008 Fix random delay. (Bug#14681)
b7deae5e 8009
7a65a0b2
JB
80102013-06-21 Juanma Barranquero <lekktu@gmail.com>
8011
8012 * profiler.el (profiler-format-number): Use log, not log10.
8013
1493c2af
JB
80142013-06-20 Juanma Barranquero <lekktu@gmail.com>
8015
8016 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8017
aff6371e
SM
80182013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8019
8020 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8021 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8022 yet available.
8023 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8024 (AUTOGENEL): ... here.
8025 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8026 (cl--defsubst-expand): Use it.
8027
89561f72
PE
80282013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8029
8030 * subr.el (log10): Move here from C code, and declare as obsolete.
8031 All uses of (log10 X) replaced with (log X 10).
8032
47199123
JB
80332013-06-20 Juanma Barranquero <lekktu@gmail.com>
8034
8035 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8036 Declare with `defvar-local'.
8037 (tabulated-list-use-header-line, tabulated-list-entries)
8038 (tabulated-list-padding, tabulated-list-printer)
8039 (tabulated-list-sort-key): Declare with `defvar-local'.
8040 (tabulated-list-init-header, tabulated-list-print-fake-header):
8041 Use `setq-local'.
8042
4a172eab
MA
80432013-06-20 Michael Albinus <michael.albinus@gmx.de>
8044
47199123
JB
8045 * arc-mode.el (archive-mode): Add `archive-write-file' to
8046 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8047
5fc0acc0
JB
80482013-06-20 Juanma Barranquero <lekktu@gmail.com>
8049
d5b27848
JB
8050 * cus-edit.el (custom-commands): Fix typos.
8051 (custom-display): Fix tooltip text.
8052 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8053 Fix typos in docstrings.
8054 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8055 (custom-unlispify-menu-entry, custom-magic-value-create)
8056 (custom-add-see-also, custom-group-value-create): Use ?\s.
8057 (custom-guess-type, customize-apropos, editable-field)
8058 (custom-face-value-create): Use `string-match-p'.
8059 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8060
8061 * custom.el (custom-load-symbol): Use `string-match-p'.
8062
a5c581d8
JB
8063 * ansi-color.el: Convert to lexical binding.
8064 (ansi-colors): Fix URL.
8065 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8066 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8067 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8068
970ad972
G
80692013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8070
8071 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8072
8073 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8074
80752013-06-19 Tom Tromey <tromey@redhat.com>
8076
8077 * net/eww.el (eww-top-url): Remove.
8078 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8079 (eww-render): Set new variables. Don't set eww-top-url.
8080 (eww-handle-link): Handle "prev", "home", and "contents".
8081 Downcase the rel text.
8082 (eww-top-url): Choose best top URL.
8083
80842013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8085
8086 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8087 relying in widget.el. Using widget.el leads to too many
8088 user interface inconsistencies.
8089 (eww-self-insert): Implement entering commands in text fields.
8090 (eww-process-text-input): New function to make text input field editing
8091 work.
8092 (eww-submit): Rewrite to use the new-style form methods.
8093 (eww-select-display): Display the correct selected item.
8094 (eww-change-select): Implement changing the select value.
8095 (eww-toggle-checkbox): Implement radio/checkboxes.
8096 (eww-update-field): Fix compilation error.
8097 (eww-tag-textarea): Implement <textarea>.
8098
8099 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8100 we don't shadow mode-specific bindings.
8101
8102 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8103 nothing to push.
8104
8105 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8106
4582a01c 81072013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8108
8109 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8110
15b263dc
MA
81112013-06-19 Michael Albinus <michael.albinus@gmx.de>
8112
8113 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8114 not needed.
8115
8116 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8117
8f5297f7
LMI
81182013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8119
8120 * net/browse-url.el (browse-url-browser-function):
8121 `eww-browse-url' has the right calling signature, `eww' does not.
8122
011c4552
GM
81232013-06-19 Glenn Morris <rgm@gnu.org>
8124
2285bd27
GM
8125 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8126 Only eval autoloaded macros.
8127 (byte-compile-autoload): Only give the macro warning for macros.
8128
1d653303
GM
8129 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8130 (ps-underlined-faces): Declare.
8131
bdd779ec
GM
8132 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8133 (speedbar-add-supported-extension): Declare.
8134
011c4552
GM
8135 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8136 Don't include a date stamp in the header of the generated file;
8137 it leads to needless differences between output files.
8138
e59dfb0e
MA
81392013-06-19 Michael Albinus <michael.albinus@gmx.de>
8140
c763842b
SM
8141 * net/secrets.el (secrets-struct-secret-content-type):
8142 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8143 Some servers do not offer introspection.
e59dfb0e 8144
102626e2
SM
81452013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8146
8147 * electric.el (electric-pair-mode): Improve interaction with
8148 electric-layout-mode.
8149 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8150 (electric-pair-syntax): Use text-mode-syntax-table in comments
8151 and strings.
8152 (electric-pair--insert): New function.
8153 (electric-pair-post-self-insert-function): Use it and
8154 electric--after-char-pos.
8155
ad528125
LL
81562013-06-19 Leo Liu <sdl.web@gmail.com>
8157
8158 * progmodes/octave.el (octave-help): Fix regexp.
8159
924d6997
G
81602013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8161
8162 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8163 (shr-table-horizontal-line): Allow nil as a value, and change the
8164 default.
8165 (shr-insert-table-ruler): Respect the nil value.
8166
81672013-06-18 Tom Tromey <tromey@barimba>
8168
8169 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8170 New defvars.
8171 (eww-open-file): New defun.
8172 (eww-render): Initialize new variables.
8173 (eww-display-html): Handle "link" and "a".
8174 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8175 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8176 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8177 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8178 New defuns.
924d6997 8179
d1bbba4f
DG
81802013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8181
8182 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8183 Distinguish ternary operator tokens from slash symbol and slash
8184 char literal.
8185
14dd22d2
JB
81862013-06-18 Juanma Barranquero <lekktu@gmail.com>
8187
8188 Convert symbol prettification into minor mode and global minor mode.
8189
8190 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8191 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8192 (prettify-symbols--keywords): Rename from
8193 `prog-prettify-symbols-alist' and make a local defvar.
8194 (prettify-symbols--compose-symbol): Rename from
8195 `prog--prettify-font-lock-compose-symbol'.
8196 (prettify-symbols--make-keywords): Rename from
8197 `prog-prettify-font-lock-symbols-keywords' and simplify.
8198 (prog-prettify-install): Remove.
8199 (prettify-symbols-mode): New minor mode, based on
8200 `prog-prettify-install'.
8201 (turn-on-prettify-symbols-mode): New function.
8202 (global-prettify-symbols-mode): New globalized minor mode.
8203
8204 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8205 * progmodes/cfengine.el (cfengine3-mode):
8206 * progmodes/perl-mode.el (perl-mode): Don't call
8207 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8208
292c880c
JL
82092013-06-18 Juri Linkov <juri@jurta.org>
8210
8211 * files-x.el (modify-file-local-variable-message): New function.
8212 (modify-file-local-variable)
8213 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8214 and call `modify-file-local-variable-message' when it's non-nil.
8215 (add-file-local-variable, delete-file-local-variable)
8216 (add-file-local-variable-prop-line)
8217 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8218 and use it. (Bug#9820)
8219
0950aa27
JL
82202013-06-18 Juri Linkov <juri@jurta.org>
8221
8222 * emulation/vi.el (vi-shell-op):
8223 * emulation/vip.el (vip-execute-com, ex-command):
8224 * emulation/viper-cmd.el (viper-exec-bang):
8225 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8226 the call of `shell-command-on-region'. (Bug#14637)
8227
8228 * simple.el (shell-command-on-region): Doc fix.
8229
8fbcca16
SM
82302013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8231
8232 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8233 (bug#14633).
8234
dd7426ea
GM
82352013-06-18 Glenn Morris <rgm@gnu.org>
8236
4ba54f7d
GM
8237 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8238
dd7426ea
GM
8239 * newcomment.el (comment-search-forward, comment-search-backward):
8240 Doc fix. (Bug#14376)
8241
58aa805b
JB
82422013-06-18 Juanma Barranquero <lekktu@gmail.com>
8243
8244 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8245 (buffer-face-mode-invoke): Doc fix.
8246
9a08a617
MM
82472013-06-18 Matthias Meulien <orontee@gmail.com>
8248
8249 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8250 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8251
f2f426ca
GM
82522013-06-18 Glenn Morris <rgm@gnu.org>
8253
9445f99b
GM
8254 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8255 Replace obsolete function generic-make-keywords with its expansion.
8256
e0df2d14
GM
8257 * progmodes/python.el (ffap-alist): Declare.
8258
f2f426ca
GM
8259 * textmodes/reftex.el (bibtex-mode-map): Declare.
8260
f7f9a720
SM
82612013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8262
8263 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8264 (package-unpack, package-unpack-single): Return the pkg-dir.
8265 (package-download-transaction): Use it to update package-alist.
8266
57ff04e0
LMI
82672013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8268
8269 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8270 possible choice.
8271
c048c022
JL
82722013-06-17 Juri Linkov <juri@jurta.org>
8273
8274 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8275
b5bcaee5
DG
82762013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8277
a020afb9
JB
8278 * emacs-lisp/package.el (package-load-descriptor):
8279 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8280 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8281
551e07e5
JB
82822013-06-17 Juanma Barranquero <lekktu@gmail.com>
8283
8284 * startup.el (command-line): Expand package name returned by
8285 `package--description-file' (bug#14639).
8286
d363bffb
DG
82872013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8288
8289 * emacs-lisp/package.el (package-load-descriptor): Do not call
8290 `emacs-lisp-mode', just use its syntax table.
8291
f612933b
JB
82922013-06-17 Juanma Barranquero <lekktu@gmail.com>
8293
8294 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8295 `font-lock-extra-managed-props' if any prettifying keyword is added.
8296 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8297 (prog-mode): Use `setq-local'.
8298
db3b7db5
SM
82992013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8300
8301 * international/characters.el (standard-case-table): Set syntax of ?»
8302 and ?« to punctuation.
8303
f3d674df
JB
83042013-06-16 Juanma Barranquero <lekktu@gmail.com>
8305
8306 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8307 Save relevant match data before calling `syntax-ppss' (bug#14595).
8308
31489a32
JL
83092013-06-15 Juri Linkov <juri@jurta.org>
8310
8311 * files-x.el (modify-file-local-variable-prop-line): Add local
8312 variables to the end of the existing comment on the first line.
8313 Use `file-auto-mode-skip' to skip interpreter magic line,
8314 and also skip XML declaration.
8315
66bd25ab
SM
83162013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * startup.el (package--builtin-versions): New var.
8319 (package-subdirectory-regexp): Remove.
8320 (package--description-file): Hard code its value instead.
8321
8322 * emacs-lisp/package.el: Don't activate packages older than builtin.
8323 (package-obsolete-list): Rename from package-obsolete-alist, and make
8324 it into a simple list of package-desc.
8325 (package-strip-version): Remove.
8326 (package-built-in-p): Use package--builtin-versions.
8327 (package-mark-obsolete): Simplify.
8328 (package-process-define-package): Mark it obsolete if older than the
8329 builtin version.
8330 (package-handle-response): Use line-end-position.
8331 (package-read-archive-contents, package--download-one-archive):
8332 Simplify.
8333 (package--add-to-archive-contents): Skip if older than the builtin or
8334 installed version.
8335 (package-menu-describe-package): Fix last change.
8336 (package-list-unversioned): New var.
8337 (package-menu--generate): Use it.
8338
8339 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8340 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8341 (autoload-builtin-package-versions): New variable.
8342 (autoload-generate-file-autoloads): Use them.
8343 Remove the list of autoloaded functions/macros from the
8344 (autoload...) comments.
8345
8346 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8347
9583ec36
EZ
83482013-06-15 Eli Zaretskii <eliz@gnu.org>
8349
8350 * simple.el (line-move-partial): Don't jump to the next screen
8351 line as soon as it becomes visible. Instead, continue enlarging
8352 the vscroll until the portion of a tall screen line that's left on
8353 display is about the height of the frame's default font.
8354 (Bug#14567)
8355
f0100d8a
GM
83562013-06-15 Glenn Morris <rgm@gnu.org>
8357
b86a85ca
GM
8358 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8359 compilation-error-regexp-alist void, or local while let-bound.
8360
f0100d8a
GM
8361 * progmodes/make-mode.el (makefile-mode-syntax-table):
8362 Treat "=" as punctuation. (Bug#14614)
8363
05e7ce90
JB
83642013-06-15 Juanma Barranquero <lekktu@gmail.com>
8365
8366 * help-fns.el (describe-variable):
8367 Add extra line for permanent-local variables.
8368
12e5e86e
SH
83692013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8370
8371 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8372 Add export, import, library. (Bug#9164)
8373 (library): Set indent function.
8374
230dcbaf
GM
83752013-06-14 Glenn Morris <rgm@gnu.org>
8376
8377 * term/xterm.el (xterm--query):
8378 Stop after first matching handler. (Bug#14615)
8379
e36b2d20 83802013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8381
8382 Add support for dired in saveplace.
8383 * dired.el (dired-initial-position-hook): New variable.
8384 (dired-initial-position): Call hook to place cursor position.
8385 * saveplace.el (save-place-to-alist): Add dired position.
8386 (save-place-dired-hook): New function.
8387
0b31660d
SM
83882013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8389
bf1e6ae8
SM
8390 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8391 through a symbol rather than letrec.
8392
1b8dff23
SM
8393 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8394 (package-desc): Add `dir' field.
8395 (package-desc-full-name): New function.
8396 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8397 (package-maybe-load-descriptor): Remove.
8398 (package-load-all-descriptors): Just call package-load-descriptor.
8399 (package--disabled-p): New function.
8400 (package-desc-vers, package-desc-doc): Remove aliases.
8401 (package--dir): Remove function.
8402 (package-activate): Check if a package is disabled.
8403 (package-process-define-package): New function, extracted from
8404 define-package.
8405 (define-package): Turn into a place holder.
8406 (package-unpack-single, package-tar-file-info):
8407 Use package--description-file.
8408 (package-compute-transaction): Use package--disabled-p.
8409 (package-download-transaction): Don't call
8410 package-maybe-load-descriptor since they're all loaded anyway.
8411 (package-install): Change argument to be a pkg-desc.
8412 (package-delete): Use a single pkg-desc argument.
8413 (describe-package-1): Use package-desc-dir instead of package--dir.
8414 Use package-desc property instead of package-symbol.
8415 (package-install-button-action): Adjust accordingly.
8416 (package--push): Rewrite.
8417 (package-menu--print-info): Adjust accordingly. Change the ID format
8418 to be a pkg-desc.
8419 (package-menu-describe-package, package-menu-get-status)
8420 (package-menu--find-upgrades, package-menu-mark-upgrades)
8421 (package-menu-execute, package-menu--name-predicate):
8422 Adjust accordingly.
8423 * startup.el (package--description-file): New function.
8424 (command-line): Use it.
8425 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8426 Use package-desc-version.
8427
0b31660d
SM
8428 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8429 (byte-compile-preprocess): Use it.
8430 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8431 can't quite recognize.
8432 (byte-compile-add-to-list): Remove.
8433 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8434 (cconv-closure-convert): Add assertion.
8435
8436 * emacs-lisp/map-ynp.el: Use lexical-binding.
8437 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8438 Factor out some repeated code.
8439
de0503df
SM
84402013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8441
8442 * subr.el (with-eval-after-load): New macro.
8443 (eval-after-load): Allow form to be a function.
8444 take advantage of lexical-binding.
8445 (do-after-load-evaluation): Use dolist and adjust to new format.
8446 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8447
bc5c8c5a
JL
84482013-06-13 Juri Linkov <juri@jurta.org>
8449
8450 * replace.el (perform-replace): Display "symbol " and other search
8451 modes from `isearch-message-prefix' in the *Help* buffer.
8452
8453 * isearch.el (isearch-query-replace): Add " symbol" and other
8454 possible search modes from `isearch-message-prefix' to the prompt.
8455 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8456 when reading a regexp to collect.
8457
a22289f7
JL
84582013-06-13 Juri Linkov <juri@jurta.org>
8459
8460 * isearch.el (word-search-regexp): Match whitespace if the search
8461 string begins or ends in whitespace. The LAX arg is applied to
8462 both ends of the search string. Use `regexp-quote' and explicit
8463 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8464 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8465 boundaries are replaced with symbol boundaries, and characters
8466 between symbols match non-word non-symbol syntax. (Bug#14602)
8467
cb89acab
JL
84682013-06-13 Juri Linkov <juri@jurta.org>
8469
8470 * isearch.el (isearch-del-char): Don't exceed the length of
8471 `isearch-string' by the prefix arg. (Bug#14563)
8472
6e8cfc81
JL
84732013-06-13 Juri Linkov <juri@jurta.org>
8474
8475 * isearch.el (isearch-yank-word, isearch-yank-line)
8476 (isearch-char-by-name, isearch-quote-char)
8477 (isearch-printing-char, isearch-process-search-char):
8478 Add optional count prefix arg. (Bug#14563)
8479
8480 * international/isearch-x.el
8481 (isearch-process-search-multibyte-characters):
8482 Add optional count prefix arg.
8483
c23d55f4
VS
84842013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8487 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8488 lexical-binding.
8489
84902013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8491
8492 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8493
ba947bc4
GM
84942013-06-13 Glenn Morris <rgm@gnu.org>
8495
8baeb37a
GM
8496 * startup.el (tty-handle-args):
8497 Don't just discard "--" and anything after. (Bug#14608)
8498
ba947bc4
GM
8499 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8500
9abefce4
MA
85012013-06-13 Michael Albinus <michael.albinus@gmx.de>
8502
8503 Implement changes in Secret Service API. Make it backward compatible.
8504 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8505 (secrets-create-item): Use it. Prefix properties with interface.
8506
5755011f
MH
85072013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8508
8509 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8510 (term-emulate-terminal): Respect term-suppress-hard-newline.
8511
1261d2da
S
85122013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8513
8514 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8515 Only remove a `thumb-file' overlay. (Bug#14548)
8516
868490bb
GJ
85172013-06-12 Grégoire Jadi <daimrod@gmail.com>
8518
8519 * mail/reporter.el (reporter-submit-bug-report):
8520 Handle missing package-name. (Bug#14600)
8521
79d7167f
TH
85222013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8523
8524 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8525 (reftex-citation-prompt, reftex-default-bibliography)
8526 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8527 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8528 (reftex-bib-sort-author, reftex-bib-sort-year)
8529 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8530 (reftex-extract-bib-entries-from-thebibliography)
8531 (reftex-get-bibkey-default, reftex-get-bib-names)
8532 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8533 (reftex-format-bib-entry, reftex-parse-bibitem)
8534 (reftex-format-bibitem, reftex-do-citation)
8535 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8536 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8537 (reftex-insert-bib-matches, reftex-format-citation)
8538 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8539 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8540 existing comments into docstrings.
8541
5f9dbd7a
XF
85422013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8543
8544 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8545
94df41ab
AS
85462013-06-12 Andreas Schwab <schwab@suse.de>
8547
8548 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8549 for auto-save files.
8550
a7f3fecc
GM
85512013-06-12 Glenn Morris <rgm@gnu.org>
8552
001809f6
GM
8553 * ido.el (ido-delete-ignored-files): Remove.
8554 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8555 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8556
834b5ded
EL
85572013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8558
08c73ed2
EL
8559 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8560
834b5ded
EL
8561 * ido.el (ido-delete-ignored-files): New function,
8562 split from ido-make-file-list-1.
8563 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8564 (ido-make-file-list-1): Use ido-delete-ignored-files.
8565
daabf15a
LL
85662013-06-12 Leo Liu <sdl.web@gmail.com>
8567
8568 * progmodes/octave.el (inferior-octave-startup)
8569 (inferior-octave-completion-table)
8570 (inferior-octave-track-window-width-change)
8571 (octave-eldoc-function-signatures, octave-help)
8572 (octave-find-definition): Use single quoted strings.
8573 (inferior-octave-startup-args): Change default value.
8574 (inferior-octave-startup): Do not hard code "-i" and
8575 "--no-line-editing".
8576 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8577 (inferior-octave-directory-tracker): Use it.
8578 (octave-goto-function-definition): Robustify.
8579 (octave-help): Support highlighting operators in 'See also'.
8580 (octave-find-definition): Find subfunctions only in Octave mode.
8581
cf4e5178
SM
85822013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8583
8584 * help-fns.el (help-fns--compiler-macro): If the handler function is
8585 named, then put a link to it.
8586 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8587 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8588 (cl-typep): Use it.
8589 (cl-eval-when): Simplify debug spec.
8590 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8591 compiler-macro function instead of setting `compiler-macro-file'.
8592
99c81280 85932013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8594
8595 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8596 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8597
f56be016
SM
85982013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8599 Daniel Hackney <dan@haxney.org>
8600
8601 First part of Daniel Hackney's patch to package.el.
8602 * emacs-lisp/package.el: Use defstruct.
8603 (package-desc): New, main struct.
8604 (package--bi-desc, package--ac-desc): New structs, used to describe the
8605 format in external files.
8606 (package-desc-vers): Replace with package-desc-version accessor.
8607 (package-desc-doc): Replace with package-desc-summary accessor.
8608 (package-activate-1): Remove `package' arg since the pkg-vec now
8609 includes the name.
8610 (define-package): Use package-desc-from-define.
8611 (package-unpack-single): Change file-name arg to be a symbol.
8612 (package--add-to-archive-contents): Use package-desc-create and new
8613 accessor functions to package--ac-desc.
8614 (package-buffer-info, package-tar-file-info): Return a package-desc.
8615 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8616 arg to be a package-desc.
8617 (package-install-file): Adjust accordingly. Use \' to match EOS.
8618 (package--from-builtin): New function.
8619 (describe-package-1, package-menu--generate): Use it.
8620 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8621 (package-generate-autoloads): Idem and return the name of the file.
8622 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8623 Change pkg-info arg to be a package-desc.
8624 Use package-make-ac-desc.
8625 (package-upload-file): Use \' to match EOS.
8626 * finder.el (finder-compile-keywords): Use package-make-builtin.
8627
31119d63
SM
86282013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8629
931a2762
SM
8630 * vc/vc.el (vc-deduce-fileset): Change error message.
8631 (vc-read-backend): New function.
8632 (vc-next-action): Use it.
8633
5a3eb0c6
SM
8634 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8635
e3eb1bb7
SM
8636 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8637 (prolog-font-lock-keywords): Use regexp-opt instead.
8638 Don't manually highlight strings.
8639 (prolog-mode-variables): Simplify comment-start-skip.
8640 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8641
31119d63
SM
8642 * emacs-lisp/generic.el (generic--normalise-comments)
8643 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8644 (generic-mode-set-comments): Use them.
8645 (generic-bracket-support): Use setq-local.
8646 (generic-make-keywords-list): Declare obsolete.
8647
7de135d0
GM
86482013-06-11 Glenn Morris <rgm@gnu.org>
8649
8650 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8651 Prettify after setting font-lock-defaults. (Bug#14574)
8652
fa6bc6fd
JB
86532013-06-11 Juanma Barranquero <lekktu@gmail.com>
8654
8655 * replace.el (query-replace, occur-read-regexp-defaults-function)
8656 (replace-search):
8657 * subr.el (declare-function, number-sequence, local-set-key)
8658 (substitute-key-definition, locate-user-emacs-file)
8659 (with-silent-modifications, split-string, eval-after-load):
8660 Fix typos, remove unneeded backslashes and reflow some docstrings.
8661
cf1f9b9a
SM
86622013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8663
8664 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8665 default for Elisp files.
8666
56602a4b
GM
86672013-06-11 Glenn Morris <rgm@gnu.org>
8668
8669 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8670 although define-derived-mode was doing this anyway. (Bug#14583)
8671
30ae0b2c
JB
86722013-06-10 Juanma Barranquero <lekktu@gmail.com>
8673
8674 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8675 Fix make-variable-buffer-local call to refer to the correct variable.
8676
fa472906
AG
86772013-06-10 Aidan Gauland <aidalgol@amuri.net>
8678
8679 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8680 (eshell-visual-subcommands, eshell-visual-options):
8681 Add summary line to docstrings. Add cross-references.
fa472906 8682
ff4871b9
GM
86832013-06-10 Glenn Morris <rgm@gnu.org>
8684
8685 * epa.el (epa-read-file-name): New function. (Bug#14510)
8686 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8687
04fcf1b0
AG
86882013-06-09 Aidan Gauland <aidalgol@amuri.net>
8689
8690 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8691 output redirection to be ignored with visual commands.
8692
88b00caa
AG
86932013-06-09 Aidan Gauland <aidalgol@amuri.net>
8694
8695 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8696 (eshell-term-initialize): Move long lambda to separate function
8697 eshell-visual-command-p.
e7b41c4c
JB
8698 * eshell/em-dirs.el (eshell-dirs-initialise):
8699 * eshell/em-script.el (eshell-script-initialize):
8700 Add missing #' to lambda.
88b00caa 8701
fda74125
LL
87022013-06-08 Leo Liu <sdl.web@gmail.com>
8703
8704 * progmodes/octave.el (octave-add-log-current-defun): New function.
8705 (octave-mode): Set add-log-current-defun-function.
8706 (octave-goto-function-definition): Do not move point if not found.
8707 (octave-find-definition): Enhance to try subfunctions first.
8708
467f3b33
GM
87092013-06-08 Glenn Morris <rgm@gnu.org>
8710
8711 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8712 (byte-compile-backward-char, byte-compile-backward-word):
8713 Improve previous change, to handle non-explicit nil.
8714
544badc3
SM
87152013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8716
8717 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8718 (smie--opener/closer-at-point): New function.
8719 (smie--matching-block-data): Use it. Don't match from right after an
8720 opener or right before a closer. Obey smie-blink-matching-inners.
8721 Don't signal a mismatch for repeated inners like "switch..case..case".
8722
a175bf33
LL
87232013-06-07 Leo Liu <sdl.web@gmail.com>
8724
8725 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8726 to t. (Bug#14303)
ce8209d4
LL
8727 (octave-function-header-regexp): Fix. (Bug#14570)
8728 (octave-help-mode-finish-hook, octave-help-mode-finish):
8729 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8730
8731 * newcomment.el (comment-search-backward): Revert last change.
8732 (Bug#14434)
8733
8734 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8735
a822acff
EZ
87362013-06-07 Eli Zaretskii <eliz@gnu.org>
8737
8738 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8739 through xargs, to avoid failure due to MS-Windows limitations on
8740 command-line length.
8741
961166f5
GM
87422013-06-06 Glenn Morris <rgm@gnu.org>
8743
d0341459
GM
8744 * font-lock.el (lisp-font-lock-keywords-2):
8745 Treat user-error like error.
8746
961166f5
GM
8747 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8748 (byte-compile-backward-char, byte-compile-backward-word):
8749 Handle explicit nil arguments. (Bug#14565)
8750
80fa505f
AM
87512013-06-05 Alan Mackenzie <acm@muc.de>
8752
8753 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8754 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8755 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8756 (Bug#9706)
80fa505f 8757
fccdc796
SM
87582013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * autorevert.el (auto-revert-notify-handler): Use memq.
8761 Hide assertion failure.
8762
8763 * skeleton.el: Use cl-lib.
8764 (skeleton-further-elements): Use defvar-local.
8765 (skeleton-insert): Use cl-progv.
8766
9bfff84b
TZ
87672013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8768
8769 * progmodes/prog-mode.el (prog-prettify-symbols)
8770 (prog-prettify-install): Update docstrings.
8771
55577e7c
SM
87722013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8773
8774 * simple.el: Move all the prog-mode code to prog-mode.el.
8775 * progmodes/prog-mode.el: New file.
8776 * loadup.el: Add prog-mode.el.
8777
8fc57765
TZ
87782013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8779
8780 * simple.el (prog-prettify-symbols): Add version.
8781 (prog-prettify-install): Add convenience function to prettify symbols.
8782
8783 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8784 (perl--augmented-font-lock-keywords-1)
8785 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8786 variables and use it.
8787
8788 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8789 (cfengine3-mode): Remove unneeded variable and use it.
8790
8791 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8792 (lisp--augmented-font-lock-keywords-1)
8793 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8794 Remove unneeded variables and use it.
8795
650645d5 87962013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8797
8798 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8799 to point when opening the connection. (Bug#14380)
28f5da6d 8800
781b4af6
SM
88012013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8802
8803 * subr.el (load-history-regexp, load-history-filename-element)
8804 (eval-after-load, after-load-functions, do-after-load-evaluation)
8805 (eval-next-after-load, display-delayed-warnings)
8806 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8807 definition of save-match-data.
8808 (overriding-local-map): Remove accidental obsolescence declaration.
8809
8810 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8811
3ca0d0b4
TZ
88122013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8813
8814 Generalize symbol prettify support to prog-mode and implement it
8815 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8816 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8817 (prog--prettify-font-lock-compose-symbol)
8818 (prog-prettify-font-lock-symbols-keywords): New variables and
8819 functions to support symbol prettification.
8820 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8821 (lisp--augmented-font-lock-keywords-1)
8822 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8823 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8824 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8825 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8826 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8827 * progmodes/perl-mode.el (perl-prettify-symbols)
8828 (perl--font-lock-compose-symbol)
8829 (perl--font-lock-symbols-keywords): Move to prog-mode.
8830 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8831 (perl-font-lock-keywords-1)
8832 (perl-font-lock-keywords-2): Remove explicit prettify support.
8833 (perl--augmented-font-lock-keywords)
8834 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8835 (perl--augmented-font-lock-keywords-2, perl-mode):
8836 Implement prettify support.
3ca0d0b4 8837
976cb066
LL
88382013-06-05 Leo Liu <sdl.web@gmail.com>
8839
8840 Re-implement smie matching block highlight using
8841 show-paren-data-function. (Bug#14395)
8842 * emacs-lisp/smie.el (smie-matching-block-highlight)
8843 (smie--highlight-matching-block-overlay)
8844 (smie--highlight-matching-block-lastpos)
8845 (smie-highlight-matching-block)
8846 (smie-highlight-matching-block-mode): Remove.
8847 (smie--matching-block-data-cache): New variable.
8848 (smie--matching-block-data): New function.
8849 (smie-setup): Use smie--matching-block-data for
8850 show-paren-data-function.
8851
8852 * progmodes/octave.el (octave-mode-menu): Fix.
8853 (octave-find-definition): Skip garbage lines.
8854
208d0342
SM
88552013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8856
8857 Fix compilation error with simultaneous dynamic+lexical scoping.
8858 Add warning when a defvar appears after the first let-binding.
8859 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8860 (byte-compile-close-variables): Initialize it.
8861 (byte-compile--declare-var): New function.
8862 (byte-compile-file-form-defvar)
8863 (byte-compile-file-form-define-abbrev-table)
8864 (byte-compile-file-form-custom-declare-variable): Use it.
8865 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8866 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8867 (byte-compile-bind): Handle dynamic bindings that shadow
8868 lexical bindings.
8869 (byte-compile-unbind): Make arg non-optional.
8870 (byte-compile-let): Simplify.
8871 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8872 (cconv--analyse-function, cconv-analyse-form): Populate it.
8873 Protect byte-compile-bound-variables to limit the scope of defvars.
8874 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8875 Remove unneeded rule for `declare'.
8876
8877 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8878 so as to avoid depending on cl-adjoin at run-time.
8879 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8880
8881 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8882 (macroexp--warn-and-return): Use it.
8883
1ac2891e
GM
88842013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8885
8886 * lisp/subr.el: Convert to lexical binding.
8887 (overriding-local-map): Make obsolete.
8888 (add-to-list): Doc fix. Add compiler macro.
8889 (read-key): Swap values of local maps.
8890
2587b005
LL
88912013-06-05 Leo Liu <sdl.web@gmail.com>
8892
8893 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8894
f1da3c88
LL
88952013-06-04 Leo Liu <sdl.web@gmail.com>
8896
8897 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8898 (compilation-auto-jump): Suppress the "Mark set" message to give
8899 way to exit message.
8900
3caa391f
AM
89012013-06-04 Alan Mackenzie <acm@muc.de>
8902
8903 Remove faulty optimisation from indentation calculation.
8904 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8905 search limit based on 2000 characters back from indent-point.
8906
068922a2
TH
89072013-06-03 Tassilo Horn <tsdh@gnu.org>
8908
8909 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8910
1f8fdd53
SM
89112013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8912
bbcc4d97
SM
8913 * emacs-lisp/lisp.el: Use lexical-binding.
8914 (lisp--local-variables-1, lisp--local-variables): New functions.
8915 (lisp--local-variables-completion-table): New var.
208d0342 8916 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8917
1f8fdd53
SM
8918 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8919 eagerly (bug#14422).
8920
c9628c79
MA
89212013-06-03 Michael Albinus <michael.albinus@gmx.de>
8922
8923 * autorevert.el (auto-revert-notify-enabled)
8924 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8925 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8926 (auto-revert-notify-handler): Handle also gfilenotify.
8927
e7b41c4c 8928 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8929 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8930 Remove.
c9628c79 8931
e5e4a942
JL
89322013-06-03 Juri Linkov <juri@jurta.org>
8933
8934 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8935 `M-s h .'. (Bug#14427)
8936
8937 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8938 command `hi-lock-face-symbol-at-point'.
8939 (hi-lock-face-symbol-at-point): New command.
8940 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8941 (hi-lock-menu): Add `highlight-symbol-at-point'.
8942 (hi-lock-mode): Doc fix.
8943
8944 * isearch.el (isearch-forward-symbol-at-point): New command.
8945 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8946 (isearch-highlight-regexp): Add a regexp which matches
8947 words/symbols for word/symbol mode.
8948
8949 * subr.el (find-tag-default-bounds): New function with the body
8950 mostly moved from `find-tag-default'.
8951 (find-tag-default): Move most code to `find-tag-default-bounds',
8952 call it and apply `buffer-substring-no-properties' afterwards.
8953
26b3353a
TH
89542013-06-03 Tassilo Horn <tsdh@gnu.org>
8955
781b4af6
SM
8956 * eshell/em-term.el (eshell-term-initialize):
8957 Use `cl-intersection' rather than `intersection'.
26b3353a 8958
51b60f53
XF
89592013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8960
fe054b63 8961 * vc/log-view.el: Doc fix.
d3ffe17c 8962 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8963
a0eb10b3 89642013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8965
8966 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8967 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8968 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8969 (eieio-unbound, eieio-default-superclass)
8970 (eieio--define-field-accessors, method-static, method-before)
8971 (method-primary, method-after, method-num-lists)
8972 (method-generic-before, method-generic-primary)
8973 (method-generic-after, method-num-slots)
8974 (eieio-specialized-key-to-generic-key)
8975 (eieio--check-type, class-v, class-p)
8976 (eieio-class-name, define-obsolete-function-alias)
8977 (eieio-class-parents-fast, eieio-class-children-fast)
8978 (same-class-fast-p, class-constructor, generic-p)
8979 (generic-primary-only-p, generic-primary-only-one-p)
8980 (class-option-assoc, class-option, eieio-object-p)
8981 (class-abstract-p, class-method-invocation-order)
8982 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8983 (eieio-class-un-autoload, eieio-defclass)
8984 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8985 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8986 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8987 (eieio-defgeneric-reset-generic-form)
8988 (eieio-defgeneric-form-primary-only)
8989 (eieio-defgeneric-reset-generic-form-primary-only)
8990 (eieio-defgeneric-form-primary-only-one)
8991 (eieio-defgeneric-reset-generic-form-primary-only-one)
8992 (eieio-unbind-method-implementations)
8993 (eieio--defmethod, eieio--typep)
8994 (eieio-perform-slot-validation, eieio-validate-slot-value)
8995 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8996 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8997 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8998 (eieio-slot-name-index, eieio-class-slot-name-index)
8999 (eieio-set-defaults, eieio-initarg-to-attribute)
9000 (eieio-attribute-to-initarg, eieio-c3-candidate)
9001 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9002 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9003 (eieio-class-precedence-list, eieio-generic-call-methodname)
9004 (eieio-generic-call-arglst, eieio-generic-call-key)
9005 (eieio-generic-call-next-method-list)
9006 (eieio-pre-method-execution-functions, eieio-generic-call)
9007 (eieio-generic-call-primary-only, eieiomt-method-list)
9008 (eieiomt-optimizing-obarray, eieiomt-install)
9009 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9010 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9011 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9012 (defclass): Remove `eval-and-compile' from macro.
9013 (call-next-method, shared-initialize): Instead of using
9014 `scoped-class' variable, use new eieio--scoped-class, and
9015 eieio--with-scoped-class.
9016 (initialize-instance): Rename local variable 'scoped-class' to
9017 'this-class' to remove ambiguitity from old global.
9018
9019 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9020 eieio.el.
4f405069
JB
9021 (eieio--scoped-class-stack): New variable.
9022 (eieio--scoped-class): New fcn.
890f7890
DE
9023 (eieio--with-scoped-class): New scoping macro.
9024 (eieio-defclass): Use pushnew instead of add-to-list.
9025 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9026 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9027 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9028 `scoped-class' variable, use new eieio--scoped-class, and
9029 eieio--with-scoped-class.
9030
9031 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9032
d105b0e2
TH
90332013-06-02 Tassilo Horn <tsdh@gnu.org>
9034
9035 * eshell/esh-ext.el (eshell-external-command): Pass args to
9036 `eshell-find-interpreter'.
9037 (eshell-find-interpreter): Add new second parameter ARGS.
9038
9039 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9040 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9041
9042 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9043 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9044
9045 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9046 (eshell-visual-options): New defcustom.
9047 (eshell-escape-control-x): Adapt docstring.
9048 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9049 `eshell-visual-options' in addition to `eshell-visual-commands'.
9050 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9051
f46305c8 90522013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9053
9054 * progmodes/python.el (python-indent-block-enders): Add break,
9055 continue and raise keywords.
9056
d870df21
GM
90572013-06-01 Glenn Morris <rgm@gnu.org>
9058
9133b82e
GM
9059 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9060
02c992ec 9061 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9062 * progmodes/cc-cmds.el (delete-forward-p):
9063 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9064 * progmodes/cc-engine.el (buffer-syntactic-context):
9065 * progmodes/cc-fonts.el (face-property-instance):
9066 * progmodes/cc-mode.el (set-keymap-parents):
9067 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9068 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9069 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9070 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9071 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9072
31e7b090
GM
9073 * progmodes/cc-vars.el (other): Emacs has this widget since
9074 at least 21.1, so don't (re)define it.
9075
d870df21
GM
9076 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9077 Replace the obsolete alias pcomplete-arg-quote-list.
9078
c75c93c7
LL
90792013-06-01 Leo Liu <sdl.web@gmail.com>
9080
9081 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9082 punctuation syntax.
9083 (inferior-octave-minimal-columns)
9084 (inferior-octave-last-column-width): New variables.
9085 (inferior-octave-track-window-width-change): New function.
9086 (inferior-octave-mode): Adjust column width so that Octave output,
9087 for example from 'ls', can fit into the window nicely.
9088
973d1e12
DG
90892013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9090
9091 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9092 Highlight expansions inside regexp literals.
9093
0888c286
GM
90942013-05-31 Glenn Morris <rgm@gnu.org>
9095
e26aac1f
GM
9096 * obsolete/sym-comp.el (symbol-complete):
9097 Replace obsolete completion-annotate-function.
9098
0888c286
GM
9099 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9100
19bb8e62
DG
91012013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9102
781b4af6
SM
9103 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9104 New function, checks if point is inside a literal that allows
19bb8e62
DG
9105 expression expansion.
9106 (ruby-syntax-propertize-expansion): Use it.
9107 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9108 around the body.
9109
01dea85f
JL
91102013-05-30 Juri Linkov <juri@jurta.org>
9111
9112 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9113 to "\M-si".
9114 (isearch-invisible): New variable.
9115 (isearch-forward): Doc fix.
9116 (isearch-mode): Set `isearch-invisible'
9117 to the value of `search-invisible'.
9118 (isearch-toggle-case-fold): Doc fix.
9119 (isearch-toggle-invisible): New command.
9120 (isearch-query-replace): Let-bind `search-invisible'
9121 to the value of `isearch-invisible'.
9122 (isearch-search): Use `isearch-invisible' instead of
9123 `search-invisible'. Let-bind `search-invisible'
9124 to the value of `isearch-invisible'. (Bug#11378)
9125
ab1bdce5
JL
91262013-05-30 Juri Linkov <juri@jurta.org>
9127
9128 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9129 call when `query-flag' is nil and `search-invisible' is non-nil.
9130 (Bug#11746)
9131
d6d236e2
GM
91322013-05-30 Glenn Morris <rgm@gnu.org>
9133
8accd027
GM
9134 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9135
2a8bed1c
GM
9136 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9137 (cc-require): Suppress spurious "noruntime" warnings.
9138 (cc-require-when-compile): Use fboundp, for sake of compiler.
9139
d6d236e2
GM
9140 * progmodes/cc-mode.el: Move load of cc-vars before that of
9141 cc-langs (which in turn loads cc-vars), to quieten compiler.
9142
9190b35b
SM
91432013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9144
9145 * paren.el: Simplify the code.
9146 (show-paren-mode): Always start the timer.
9147 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9148 (show-paren--overlay, show-paren--overlay-1): Rename from
9149 show-paren-overlay and show-paren-overlay-1, and initialize to an
9150 overlay rather than to nil.
9151 (show-paren-function): Misc cleanup and simplifications.
9152
4f8d1cf6
SM
91532013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9154
9155 * paren.el (show-paren-data-function): New hook.
9156 (show-paren--default): New function, extracted from show-paren-function.
9157 (show-paren-function): Use show-paren-data-function.
9158
02d844b5
GM
91592013-05-30 Glenn Morris <rgm@gnu.org>
9160
d209d4a9
GM
9161 * ielm.el (ielm-map, ielm-complete-symbol):
9162 Use completion-at-point rather than obsolete functions.
9163 (inferior-emacs-lisp-mode): Doc fix.
9164 Set completion-at-point-functions, rather than
9165 comint-dynamic-complete-functions.
9166
2082faa6
GM
9167 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9168 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9169 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9170
dd8620de
GM
9171 * image.el (image-animated-p): Tweak definition.
9172
ceca95b1
GM
9173 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9174 (rlogin-process-connection-type): Tweak default. Add set-after.
9175 (rlogin-host): Doc fix.
9176 (rlogin): Tweak prompt.
9177 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9178
ee9f1acc
GM
9179 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9180 * progmodes/tcl.el (inferior-tcl-mode-map):
9181 Use completion-at-point rather than obsolete alias.
9182
45ce222e
GM
9183 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9184
02d844b5
GM
9185 * minibuffer.el (read-file-name-completion-ignore-case):
9186 Move before completion--in-region, for eager macro expansion.
9187
ac44d6c1
JL
91882013-05-29 Juri Linkov <juri@jurta.org>
9189
9190 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9191 for total count of matching lines. Add `global-matches' for total
9192 count of matches. Rename `matches' to `lines' for count of
9193 matching lines. Add `matches' for count of matches.
9194 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9195 to `prev-line' for line number of prev match endpt.
9196 Increment `matches' for every match. Print the number of
9197 matching lines in the header.
9198 (occur-context-lines): Rename `lines' to `curr-line'.
9199 Rename `prev-lines' to `prev-line'. (Bug#14017)
9200
3c9c9d38
JL
92012013-05-29 Juri Linkov <juri@jurta.org>
9202
9203 * replace.el (perform-replace): Add `skip-read-only-count',
9204 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9205 Increment them for corresponding conditions and report the number
9206 of skipped occurrences in the final message. (Bug#11746)
9207 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9208 (replace-string, replace-regexp): Doc fix.
9209
33e249a2
SM
92102013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9211
8e399682
SM
9212 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9213
33e249a2 9214 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9215 prog-mode-map (bug#14504).
33e249a2 9216
f236dd84
LL
92172013-05-29 Leo Liu <sdl.web@gmail.com>
9218
9219 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9220 (octave-help): Small simplification.
9221
9222 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9223 off the highlight first.
9224
3694d13f
GM
92252013-05-29 Glenn Morris <rgm@gnu.org>
9226
03983bdc
GM
9227 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9228 Handle idlwave-last-system-routine-info-cons-cell being nil.
9229
bc74a74a
GM
9230 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9231 (idlwave-write-paths): Simplify via with-temp-buffer.
9232
8b394200
GM
9233 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9234 * emulation/cua-rect.el: Also load cua-base at run time.
9235
3694d13f
GM
9236 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9237 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9238 (cperl-imenu-on-info): Require imenu.
9239
336d7284
AM
92402013-05-28 Alan Mackenzie <acm@muc.de>
9241
9242 Handle "capitalised keywords" correctly.
33e249a2 9243 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9244
cb29c582
AG
92452013-05-28 Aidan Gauland <aidalgol@amuri.net>
9246
781b4af6 9247 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9248
690e44b2
GM
92492013-05-28 Glenn Morris <rgm@gnu.org>
9250
e658d75c
GM
9251 * vc/vc-arch.el (vc-exec-after): Declare.
9252 (vc-switches): Autoload.
9253 * vc/vc-bzr.el: No need to require vc when compiling.
9254 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9255 (vc-resynch-buffer, vc-dir-refresh): Declare.
9256 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9257 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9258 (vc-resynch-buffer): Declare.
9259 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9260 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9261 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9262 (grep-read-regexp, grep-read-files, grep-expand-template)
9263 (vc-dir-refresh): Declare.
9264 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9265 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9266 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9267 * vc/vc-mtn.el (vc-exec-after): Declare.
9268 (vc-switches): Autoload.
9269 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9270 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9271 (vc-file-tree-walk): Declare.
712b9732
GM
9272 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9273 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9274 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9275 * vc/vc-svn.el (vc-exec-after): Declare.
9276 (vc-switches, vc-setup-buffer): Autoload.
9277 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9278 Autoload.
9279 (vc-resynch-buffer): Declare.
9280
98e87fb3
GM
9281 * obsolete/fast-lock.el (byte-compile-warnings):
9282 Don't warn about obsolete features in this obsolete file.
9283
f5379553
GM
9284 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9285 Move definition before use.
9286
7a20ef83
GM
9287 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9288 (dun-unix-verbs): Remove dun-zippy.
9289 (dun-zippy): Remove function.
9290
690e44b2
GM
9291 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9292
3a52ccf7
JL
92932013-05-27 Juri Linkov <juri@jurta.org>
9294
9295 * replace.el (replace-search): New function with code moved out
9296 from `perform-replace'.
9297 (replace-highlight, replace-dehighlight): Move function definitions
9298 up closer to `replace-search'. (Bug#11746)
9299
d289938a
JL
93002013-05-27 Juri Linkov <juri@jurta.org>
9301
9302 * replace.el (perform-replace): Ignore invisible matches.
9303 In addition to checking `query-replace-skip-read-only', also
9304 filter out matches by calling `run-hook-with-args-until-failure'
9305 on `isearch-filter-predicates', and also check `search-invisible'
9306 for t or call `isearch-range-invisible'.
9307 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9308
66fc57e3
JL
93092013-05-27 Juri Linkov <juri@jurta.org>
9310
9311 * isearch.el (isearch-filter-predicates): Rename from
9312 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9313 (isearch-message-prefix): Display text from the property
9314 `isearch-message-prefix' of the currently active filters.
9315 (isearch-search): Don't compare `isearch-filter-predicate' with
9316 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9317 on `isearch-filter-predicates'. Also check `search-invisible' for t
9318 or call `isearch-range-invisible'.
9319 (isearch-filter-visible): Make obsolete.
9320 (isearch-lazy-highlight-search):
9321 Call `run-hook-with-args-until-failure' on
9322 `isearch-filter-predicates' and use `isearch-range-invisible'.
9323
9324 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9325 `isearch-filter-predicates' instead of `funcall'ing
9326 `isearch-filter-predicate'.
9327 (Info-mode): Set `Info-isearch-filter' to
9328 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9329
9330 * dired-aux.el (dired-isearch-filter-predicate-orig):
9331 Remove variable.
9332 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9333 (dired-isearch-filenames-end): Add and remove
9334 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9335 instead of changing the value of `isearch-filter-predicate'.
9336 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9337 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9338 Put property `isearch-message-prefix' to "filename " on
9339 `dired-isearch-filter-filenames'.
9340
9341 * wdired.el (wdired-change-to-wdired-mode):
9342 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9343 locally instead of changing `isearch-filter-predicate'.
9344 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9345
f1a60a0f
DG
93462013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9347
9348 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9349 return the commit hash (Bug#14459). Also set the
9350 `vc-git-detached' property.
9351 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9352 (vc-git-mode-line-string): Use the same help-echo format whether
9353 in detached mode or not, because we know the actual revision now.
9354 When in detached mode, shorten the revision to 7 chars.
9355
7f17cc40
SM
93562013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9357
9358 * emacs-lisp/easy-mmode.el (define-minor-mode):
9359 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9360 mode hook and provide a docstring.
9361
25c8401c
AM
93622013-05-27 Alan Mackenzie <acm@muc.de>
9363
9364 Remove spurious syntax-table text properties inserted by C-y.
9365 * progmodes/cc-mode.el (c-after-change): Also clear hard
9366 syntax-table property with value nil.
9367
dde84790
MA
93682013-05-27 Michael Albinus <michael.albinus@gmx.de>
9369
9370 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9371 when reading the events; the buffer layout shall not be changed.
9372
837fd9af
LL
93732013-05-27 Leo Liu <sdl.web@gmail.com>
9374
9375 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9376 New variable.
9377 (inferior-octave-directory-tracker): Automatically re-sync
9378 default-directory.
9379 (octave-help): Improve handling of 'See also'.
9380
4fd996b3
SM
93812013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9382
416f1802
SM
9383 * doc-view.el: Minor naming convention tweaks.
9384 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9385
4fd996b3
SM
9386 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9387 even if there's no `display' property yet (bug#14435).
9388
a052ef3b
EZ
93892013-05-25 Eli Zaretskii <eliz@gnu.org>
9390
4fd996b3 9391 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9392
9393 * Makefile.in (custom-deps, finder-data, autoloads)
9394 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9395 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9396 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9397
c9023370
SM
93982013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9399
9400 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9401 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9402 Don't burp at EOB.
c9023370 9403
24d699fa
LL
94042013-05-25 Leo Liu <sdl.web@gmail.com>
9405
9406 * comint.el (comint-previous-matching-input): Do not flood the
9407 *Messages* buffer with trivial messages.
9408
17e5c0cc
SM
94092013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 * progmodes/flymake.el (flymake-nop): Don't return a string.
9412 (flymake-set-at): Fix typo.
9413
9414 * simple.el (read--expression): New function, extracted from
9415 eval-expression. Set completion-at-point-functions (bug#14465).
9416 (eval-expression, eval-minibuffer): Use it.
9417
5d028165
XF
94182013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9419
9420 * progmodes/flymake.el (flymake-save-buffer-in-file)
9421 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9422 (flymake-selected-frame, flymake-log, flymake-ins-after)
9423 (flymake-set-at, flymake-get-buildfile-from-cache)
9424 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9425 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9426 Refine the doc string.
9427 (flymake-get-file-name-mode-and-masks): Reformat.
9428 (flymake-get-real-file-name-function): Fix a minor bug.
9429
7a1d7ba7
JL
94302013-05-24 Juri Linkov <juri@jurta.org>
9431
9432 * progmodes/grep.el (grep-mode-font-lock-keywords):
9433 Support =linenumber= format used by git-grep for lines with
9434 function names. (Bug#13549)
9435
650cff3d
SM
94362013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9437
9438 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9439 0 after a semi-colon; it works better for smie-auto-fill.
9440 (octave--indent-new-comment-line): New function.
9441 (octave-indent-new-comment-line): Use it (indirectly).
9442 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9443 modify comment-line-break-function.
9444
9445 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9446 (smie-setup): Use add-function to set it.
9447
9631677d
SS
94482013-05-24 Sam Steingold <sds@gnu.org>
9449
9450 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9451 argument (before the `interactive' argument).
9452
50105835
SM
94532013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9454
9455 * image-mode.el (image-mode-winprops): Add winprops to
9456 image-mode-winprops-alist before running
9457 image-mode-new-window-functions.
9458 * doc-view.el (doc-view-new-window-function): Don't delay
9459 doc-view-goto-page via timers (bug#14435).
9460
57b9823e
TH
94612013-05-24 Tassilo Horn <tsdh@gnu.org>
9462
9463 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9464 (doc-view-desktop-save-buffer): New function.
9465 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9466 (desktop-buffer-mode-handlers):
9467 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9468 handler.
9469 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9470 `desktop-save-buffer' function.
9471
91aafa16
MA
94722013-05-24 Michael Albinus <michael.albinus@gmx.de>
9473
9474 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9475 (tramp-gvfs-file-name-handler): Raise a user error when
9476 `tramp-gvfs-enabled' is nil.
9477 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9478 Do not raise a user error when loading package. (Bug#14447)
9479
ec076379
MA
9480 * net/xesam.el: Move to obsolete/.
9481
db785726
GM
94822013-05-24 Glenn Morris <rgm@gnu.org>
9483
af5c7606
GM
9484 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9485
e5d1916a
GM
9486 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9487
ded62b08
GM
9488 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9489 (Info-find-node, Man-getpage-in-background): Declare.
9490
9e614a3f
GM
9491 * mail/unrmail.el (unrmail):
9492 Replace obsolete detect-coding-with-priority.
9493
892f8ca3
GM
9494 * net/socks.el (socks-split-string): Use this rather than split-string.
9495 (socks-nslookup-host): Update for above change.
9496 (dynamic-choice, s5-dynamic-choice-match)
9497 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9498 Comment out unused code.
9499
3c291973
GM
9500 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9501 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9502 (gud-tooltip-echo-area): Make obsolete.
9503 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9504
43cc956b
GM
9505 * progmodes/js.el (js--optimize-arglist): Declare.
9506
dab49a3b
GM
9507 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9508
36b9d085
GM
9509 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9510 (ediff-window-C): Declare.
9511
e354ae76
GM
9512 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9513 Tweak requires to silence compiler.
9514
b8e57bf4
GM
9515 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9516 (he-search-string, he-tried-table, he-expand-list)
9517 (he-init-string, he-string-member, he-substitute-string)
9518 (he-reset-string): Declare.
9519
db785726
GM
9520 * obsolete/options.el (list-options): Use custom-variable-p,
9521 rather than obsolete alias.
9522
b3531901
SS
95232013-05-23 Sam Steingold <sds@gnu.org>
9524
9525 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9526 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9527 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9528
bdda4c66
SM
95292013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9530
9531 * emacs-lisp/smie.el (smie-indent-forward-token)
9532 (smie-indent-backward-token): Handle string tokens (bug#14381).
9533
c43d45f9
TH
95342013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9535
fe1eb856
RS
9536 * ielm.el (ielm-menu): New menu.
9537 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9538
fe1eb856
RS
95392013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9540
9541 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9542 Fix deactivate action.
9543
9544 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9545 Add cleveref macros.
074dd971 9546
c43d45f9
TH
9547 * lisp/textmodes/reftex-parse.el
9548 (reftex-locate-bibliography-files): Accept options for
9549 bibliography commands.
9550 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9551 Add addbibresource. Basic Biblatex support.
9552
7764286e
MA
95532013-05-23 Michael Albinus <michael.albinus@gmx.de>
9554
9555 * net/tramp-gvfs.el (top):
9556 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9557 when loading package. (Bug#14447)
9558
d361bc10
GM
95592013-05-23 Glenn Morris <rgm@gnu.org>
9560
8fa23984
GM
9561 * progmodes/js.el: No need to load comint when compiling.
9562 (ring-insert, comint-send-string, comint-send-input)
9563 (comint-last-input-end, ido-chop): Declare.
9564
a5c7df1a
GM
9565 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9566 * vc/ediff-mult.el: Adjust requires.
9567 (ediff-directories-internal, ediff-directory-revisions-internal)
9568 (ediff-patch-file-internal): Declare.
9569 * vc/ediff-ptch.el: Adjust requires.
9570 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9571 (ediff-find-file): Autoload.
9572 * vc/ediff-util.el: No need to load ediff when compiling.
9573 (ediff-regions-internal): Declare.
9574 * vc/ediff-wind.el: Adjust requires.
9575 (ediff-compute-toolbar-width): Define when compiling.
9576 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9577 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9578 (dired-get-filename, dired-get-marked-files)
9579 (ediff-last-dir-patch, ediff-patch-default-directory)
9580 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9581 (ediff-patch-buffer-internal): Declare.
9582
e2aec513
GM
9583 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9584 (ispell-process, ispell-buffer-local-words, lm-summary)
9585 (lm-section-start, lm-section-end): Declare.
9586 (checkdoc-ispell-init): Simplify.
9587
e68bbd7c
GM
9588 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9589 (he-string-member, he-reset-string, he-substitute-string): Declare.
9590
7efe0991
GM
9591 * eshell/em-ls.el: Adjust requires.
9592 (eshell-glob-regexp): Declare.
f87b1284
GM
9593 * eshell/em-tramp.el: Adjust requires.
9594 (eshell-parse-command): Autoload.
9595 * eshell/em-xtra.el: Adjust requires.
9596 (eshell-parse-command): Autoload.
9597 * eshell/esh-ext.el: Adjust requires.
9598 (eshell-parse-command, eshell-close-handles): Autoload.
9599 * eshell/esh-io.el: Adjust requires.
9600 (eshell-output-filter): Autoload.
9601 * eshell/esh-util.el: No need to load tramp when compiling.
9602 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9603 Declare.
9604 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9605 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9606 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9607 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9608 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9609 * eshell/esh-opt.el, eshell/esh-proc.el:
9610 * eshell/esh-var.el: Adjust requires.
9611 * eshell/eshell.el: Do not require esh-util twice.
9612 (eshell-add-input-to-history): Declare.
9613 (eshell-command): Check history module is active before using it.
9614
d361bc10
GM
9615 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9616
85d090a9
LL
96172013-05-22 Leo Liu <sdl.web@gmail.com>
9618
9619 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9620
5d0acd9d
MA
96212013-05-22 Michael Albinus <michael.albinus@gmx.de>
9622
9623 * autorevert.el (auto-revert-notify-add-watch)
9624 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9625 it indicates changes in file modification time.
9626
0cdffd7d
GM
96272013-05-22 Glenn Morris <rgm@gnu.org>
9628
ca5995ec
GM
9629 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9630 Always delete the autoloaded function from the noruntime and
9631 unresolved functions lists.
9632
6450907e
GM
9633 * allout.el: No need to load epa, epg, overlay when compiling.
9634 (epg-context-set-passphrase-callback, epg-list-keys)
9635 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9636 (epg-key-user-id-list): Declare.
9637
9c6906f6
GM
9638 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9639 (viper-set-parsing-style-toggling-macro)
9640 (viper-set-emacs-state-searchstyle-macros):
9641 Use called-interactively-p on Emacs.
9642 (viper-looking-back): Make it an obsolete alias. Update callers.
9643 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9644 Use looking-back rather than viper-looking-back.
9645 (viper-tmp-insert-at-eob, viper-enlarge-region)
9646 (viper-read-string-with-history, viper-register-to-point)
9647 (viper-append-to-register, viper-change-state-to-vi)
9648 (viper-backward-char-carefully, viper-forward-char-carefully)
9649 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9650 (viper-change-state-to-emacs): Declare.
9651 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9652 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9653 * emulation/viper-mous.el: Do not load viper-cmd.
9654 (viper-backward-char-carefully, viper-forward-char-carefully)
9655 (viper-forward-word, viper-adjust-window): Declare.
9656
5f70c169
GM
9657 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9658
b1b7f300
GM
9659 * progmodes/idlw-help.el (idlwave-help-fontify):
9660 Use called-interactively-p.
9661
f6ebbb46
GM
9662 * term/w32console.el (w32-get-console-codepage)
9663 (w32-get-console-output-codepage): Declare.
9664
0cdffd7d
GM
9665 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9666 Remove unnecessary declarations.
9667 (dframe-message): Doc fix.
9668
9669 * info.el (dframe-select-attached-frame, dframe-current-frame):
9670 Declare.
9671
9672 * speedbar.el (speedbar-message): Make it an obsolete alias.
9673 Update all callers.
9674 (speedbar-with-attached-buffer)
9675 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9676 (speedbar-with-writable): Use backquote.
9677 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9678 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9679 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9680 rather than speedbar- aliases.
9681 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9682 (speedbar-make-specialized-keymap, speedbar-insert-button)
9683 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9684 (speedbar-do-function-pointer): Declare.
9685 (rmail-speedbar-button, rmail-speedbar-find-file)
9686 (rmail-speedbar-move-message):
9687 Use dframe-with-attached-buffer rather than speedbar- alias.
9688 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9689 (dframe-message, speedbar-make-specialized-keymap)
9690 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9691 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9692 (speedbar-insert-button, dframe-select-attached-frame)
9693 (dframe-maybee-jump-to-attached-frame)
9694 (speedbar-change-initial-expansion-list)
9695 (speedbar-previously-used-expansion-list-name): Declare.
9696 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9697 Use dframe-message, dframe-with-attached-buffer rather than
9698 speedbar- aliases.
9699 (gud-sentinel): Silence compiler.
9700 * progmodes/vhdl-mode.el (speedbar-refresh)
9701 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9702 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9703 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9704 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9705 (speedbar-file-lists, speedbar-make-tag-line)
9706 (speedbar-line-directory, speedbar-goto-this-file)
9707 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9708 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9709 (speedbar-make-button, speedbar-reset-scanners)
9710 (speedbar-files-item-info, speedbar-line-text)
9711 (speedbar-find-file-in-frame, speedbar-set-timer)
9712 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9713 (speedbar-with-writable): Do not (re)define it.
9714 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9715 rather than speedbar- alias.
9716
ee44b62a
LL
97172013-05-21 Leo Liu <sdl.web@gmail.com>
9718
9719 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9720 menu items.
9721 (octave-mode): Tweak fill-nobreak-predicate.
9722 (inferior-octave-startup): Check process to avoid infinite loop.
9723 (inferior-octave): Pop to buffer first to show abornmal process
9724 exit information.
9725
640f050f
GM
97262013-05-21 Glenn Morris <rgm@gnu.org>
9727
79458038
GM
9728 * printing.el (pr-menu-bar): Define when compiling.
9729
9cc3e83f
LL
97302013-05-21 Leo Liu <sdl.web@gmail.com>
9731
9732 * progmodes/octave.el (octave-auto-fill): Remove.
9733 (octave-indent-new-comment-line): Improve.
9734 (octave-mode): Use auto fill mode through
4f405069 9735 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9736 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9737 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9738 (octave-help): Show parent directory.
9739
f440830d
GM
97402013-05-21 Glenn Morris <rgm@gnu.org>
9741
9742 * files.el (dired-unmark):
9743 * progmodes/gud.el (gdb-input): Update declarations.
9744
9745 * calculator.el (electric, ehelp): No need to load when compiling.
9746 (Electric-command-loop, electric-describe-mode): Declare.
9747
9748 * doc-view.el (doc-view-current-converter-processes): Move before use.
9749
9750 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9751 Move MODE-set-explicitly definition before use.
9752
9753 * international/mule-diag.el (mule-diag):
9754 Don't use obsolete window-system-version.
9755
9756 * mail/feedmail.el (smtpmail): No need to load when compiling.
9757 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9758
9759 * mail/mail-utils.el (rfc822): No need to load when compiling.
9760 (rfc822-addresses): Autoload it.
9761 (mail-strip-quoted-names): Trivial simplification.
9762
9763 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9764 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9765
9766 * net/snmp-mode.el (tempo): Don't duplicate requires.
9767
9768 * progmodes/prolog.el (info): No need to load when compiling.
9769 (comint): Require before shell requires it.
9770 (Info-goto-node): Autoload it.
9771 (Info-follow-nearest-node): Declare.
9772 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9773
9774 * textmodes/artist.el (picture-mode-exit): Declare.
9775
9776 * textmodes/reftex-parse.el (reftex-parse-from-file):
9777 Trivial rewrite so the compiler can parse it better.
9778
b4da2cbb
LL
97792013-05-20 Leo Liu <sdl.web@gmail.com>
9780
9781 * progmodes/octave.el (octave-help-mode-map)
9782 (octave-help-mode-finish-hook): New variables.
9783 (octave-help-mode, octave-help-mode-finish): New functions.
9784 (octave-help): Use octave-help-mode.
9785
33c0f65b
GM
97862013-05-20 Glenn Morris <rgm@gnu.org>
9787
9788 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9789
1a0a0a8a
DG
97902013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9791
9792 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9793 start at point, so that expansion starting right after opening
9794 slash in a regexp is recognized.
9795 (ruby-syntax-before-regexp-re): New defvar, extracted from
9796 ruby-syntax-propertize-function. Since the value of this regexp
9797 is looked up at runtime now, we should be able to turn
9798 `ruby-syntax-methods-before-regexp' into a defcustom later.
9799 (ruby-syntax-propertize-function): Split regexp matching into two
9800 parts, for opening and closing slashes. That allows us to skip
9801 over string interpolations and support multiline regexps.
9802 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9803 for them, which calls `ruby-syntax-propertize-expansion'.
9804 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9805 call to `ruby-syntax-propertize-function'.
9806 (ruby-syntax-propertize-expansion): Extracted from
9807 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9808 (ruby-syntax-propertize-percent-literal): Leave point right after
9809 the percent symbol, so that the expression expansion rule can
9810 propertize the contents.
462388b6
DG
9811 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9812 heredoc openers.
9813 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9814
c1a6c0a4
JL
98152013-05-18 Juri Linkov <juri@jurta.org>
9816
9817 * man.el (Man-default-man-entry): Remove `-' from the end
9818 of the default value. (Bug#14400)
9819
8051fccd
GM
98202013-05-18 Glenn Morris <rgm@gnu.org>
9821
9822 * comint.el (comint-password-prompt-regexp):
9823 Allow "password for XXX" where XXX contains colons (eg https://...).
9824
5e80b74f
LL
98252013-05-18 Leo Liu <sdl.web@gmail.com>
9826
9827 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9828 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9829 (octave-source-directories): Don't check process.
9830 (octave-source-directories, octave-find-definition): Doc fix.
9831
521a54c5
GM
98322013-05-18 Glenn Morris <rgm@gnu.org>
9833
86a94b05
GM
9834 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9835 Remove backspace/delete bindings. (Bug#14392)
9836
521a54c5
GM
9837 * cus-dep.el (custom-make-dependencies): Sort the output.
9838 (custom-versions-load-alist): Convert comment to doc.
9839
42caeb89
LL
98402013-05-17 Leo Liu <sdl.web@gmail.com>
9841
9842 * newcomment.el (comment-search-backward): Stricter in finding
9843 comment start. (Bug#14303)
9844
9845 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9846 (octave-comment-start-skip): Properly anchored.
9847
e219dd97
LL
98482013-05-17 Leo Liu <sdl.web@gmail.com>
9849
fe1eb856
RS
9850 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9851 Clean up when turned off. (Bug#14395)
e219dd97
LL
9852 (smie--highlight-matching-block-overlay): No longer buffer-local.
9853 (smie-highlight-matching-block): Adjust.
9854
dc5dcb4b
PE
98552013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9856
9857 Doc string fix for "nanoseconds" (Bug#14406).
9858 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9859 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9860
1db165f0
JB
98612013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9862
9863 * calc/calc-units.el (math-extract-units): Preserve powers
9864 of units.
9865
c7a8fcac
LL
98662013-05-17 Leo Liu <sdl.web@gmail.com>
9867
9868 * subr.el (delete-consecutive-dups): New function.
9869 * ido.el (ido-set-matches-1): Use it.
9870 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9871 * ido.el (ido-remove-consecutive-dups): Remove.
9872
f678b18a
SM
98732013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9876 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9877 regexp-opt's `words'.
9878
ebfe68e8
LL
98792013-05-16 Leo Liu <sdl.web@gmail.com>
9880
9881 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9882 (smie--highlight-matching-block-overlay)
9883 (smie--highlight-matching-block-lastpos)
9884 (smie--highlight-matching-block-timer): New variables.
9885 (smie-highlight-matching-block): New function.
9886 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9887 (smie-setup): Conditionally enable smie-blink-matching-open.
9888
bc8bc17d
WS
98892013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9890
9891 Sync with upstream verilog-mode r840.
9892 * progmodes/verilog-mode.el (verilog-mode-version)
9893 (verilog-mode-release-date): Update.
9894 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9895 (verilog-sig-tieoff): Fix string error on
9896 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9897 (verilog-read-decls): Fix parameters confusing
9898 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9899
df065a0b
EZ
99002013-05-16 Eli Zaretskii <eliz@gnu.org>
9901
9902 * subr.el (reveal-filename): New function.
9903
9904 * loadup.el: Compute Emacs executable versions on MS-Windows,
9905 where executables have the .exe extension. Add a hard link
9906 emacs-XX.YY.ZZ.exe on MS-Windows.
9907
9908 * Makefile.in (XARGS_LIMIT): New variable.
9909 (custom-deps, finder-data, autoloads)
9910 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9911 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9912 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9913 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9914
2d4bf34b
LL
99152013-05-16 Leo Liu <sdl.web@gmail.com>
9916
9917 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9918 (octave-mode-menu, octave-mode-map): Remove its uses.
9919
6b9c2d85
RZ
99202013-05-16 Reto Zimmermann <reto@gnu.org>
9921
9922 Sync with upstream vhdl mode v3.34.2.
9923 * progmodes/vhdl-mode.el: Use `push' throughout.
9924 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9925 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9926 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9927 (vhdl-actual-generic-name): New option to derive actual generic name.
9928 (vhdl-port-paste-signals): Replace formal by actual generics.
9929 (vhdl-beautify): New name for old group vhdl-align. Update users.
9930 (vhdl-beautify-options): New option.
9931 (vhdl-last-input-event): New compat alias. Use throughout.
9932 (vhdl-goto-line): Replace user level function `goto-line'.
9933 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9934 vhdl-fix-statement-buffer.
9935 (vhdl-create-mode-menu): Add some entries.
9936 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9937 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9938 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9939 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9940 to force statements on one line.
9941 (vhdl-remove-trailing-spaces-region):
9942 New, split from vhdl-remove-trailing-spaces.
9943 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9944 Respect vhdl-beautify-options.
9945 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9946 (vhdl-update-sensitivity-list): Not add with index if exists without.
9947 Not include array index with signal. Ignore keywords in comments.
9948 (vhdl-get-visible-signals): Regexp tweaks.
9949 (vhdl-template-component-inst): Handle empty library.
9950 (vhdl-template-type): Add template for 'enum' type.
9951 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9952 Use vhdl-replace-string.
9953 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9954 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9955 (vhdl-speedbar-initialize): Update for above name change.
9956 (vhdl-compose-wire-components): Fix in handling of constants.
9957 (vhdl-error-regexp-emacs-alist): New variable.
9958 (vhdl-error-regexp-add-emacs): New function;
9959 adds support for new compile.el (Emacs 22+)
9960 (vhdl-generate-makefile-1): Change target order for single lib. units.
9961 Allow use of absolute file names.
9962
9df4ec5e
LL
99632013-05-16 Leo Liu <sdl.web@gmail.com>
9964
9965 * simple.el (prog-indent-sexp): Indent enclosing defun.
9966
f5ba00a6
GM
99672013-05-15 Glenn Morris <rgm@gnu.org>
9968
ed8be7ff
GM
9969 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9970 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9971 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9972 (whitespace-highlight): Move to whitespace group.
9973
9974 * comint.el (comint-source):
9975 * pcmpl-linux.el (pcmpl-linux):
9976 * shell.el (shell-faces):
9977 * eshell/esh-opt.el (eshell-opt):
9978 * international/ccl.el (ccl): Remove empty custom groups.
9979
9980 * completion.el (dynamic-completion-mode):
9981 * jit-lock.el (jit-lock-debug-mode):
9982 * minibuffer.el (completion-in-region-mode):
9983 * type-break.el (type-break-mode-line-message-mode)
9984 (type-break-query-mode):
9985 * emulation/tpu-edt.el (tpu-edt-mode):
9986 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9987 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9988 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9989
9990 * term/xterm.el (xterm): Change parent group to terminals.
9991
9992 * master.el (master): Remove empty custom group.
9993 (master-mode): Remove unused :group argument.
9994 * textmodes/refill.el (refill): Remove empty custom group.
9995 (refill-mode): Remove unused :group argument.
9996
9997 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9998
82a7c41b
GM
9999 * cus-dep.el: Provide a feature.
10000 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10001 Don't mistakenly ignore files whose basenames match a basename
10002 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10003 Add a fallback method for getting :group.
f5ba00a6 10004
6d65486d
JL
100052013-05-15 Juri Linkov <juri@jurta.org>
10006
da547b32
JL
10007 * isearch.el (isearch-char-by-name): Rename from
10008 `isearch-insert-char-by-name'. Doc fix.
10009 (isearch-forward): Mention `isearch-char-by-name' in
10010 the docstring. (Bug#13348)
10011
6d65486d
JL
10012 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10013 `exit-minibuffer' instead of
10014 `isearch-nonincremental-exit-minibuffer'.
10015 (isearch-edit-string): Remove mention of
10016 `isearch-nonincremental-exit-minibuffer' from docstring.
10017 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10018 (isearch-forward-exit-minibuffer)
10019 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10020
c9990474
SM
100212013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10022
6e911150
SM
10023 * loadup.el: Just use unversioned DOC.
10024
c9990474
SM
10025 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10026 literals as extending to EOB.
10027 (nxml-last-fontify-end): Remove unused variable.
10028 (nxml-after-change1): Use with-silent-modifications.
10029 (nxml-extend-after-change-region): Simplify.
10030 (nxml-extend-after-change-region1): Remove function.
10031 (nxml-after-change1): Don't adjust for dependent regions.
10032 (nxml-fontify-matcher): Simplify.
10033 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10034 (xmltok-add-dependent): Remove function.
10035 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10036 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10037 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10038 unclosed <[[, <?, comment, and other literals as extending to EOB.
10039 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10040 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10041 Remove functions.
10042 (rng-do-some-validation-1): Don't mark dependent regions.
10043 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10044 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10045 (nxml-clear-dependent-regions): Remove functions.
10046 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10047 (nxml-ensure-scan-up-to-date):
10048 Don't clear&mark dependent regions.
10049
e3772e98
LL
100502013-05-15 Leo Liu <sdl.web@gmail.com>
10051
c9990474
SM
10052 * progmodes/octave.el (octave-goto-function-definition):
10053 Improve and fix callers.
e3772e98 10054
5ac2eb34
SM
100552013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10056
c46c57b0
SM
10057 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10058 the setter (bug#14387).
10059
5ac2eb34
SM
10060 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10061 surrounding group (bug#14402).
10062
180ed218
JL
100632013-05-14 Juri Linkov <juri@jurta.org>
10064
10065 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10066 (Bug#14390)
10067
0ac0fecb
GM
100682013-05-14 Glenn Morris <rgm@gnu.org>
10069
10070 * progmodes/f90.el (f90-imenu-generic-expression):
10071 Fix typo in 2013-05-08 change. (Bug#14402)
10072
2e78e6a7
JPG
100732013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10074
5ac2eb34
SM
10075 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10076 Remove signals for which replies are never received.
2e78e6a7 10077
53267cca
JPG
100782013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10079
10080 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10081 (gdb-handler-alist, gdb-handler-number): Remove variables.
10082 (gdb-handler-list): New variable.
10083 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10084 (gdb-pending-handler-p, gdb-handle-reply)
10085 (gdb-remove-all-pending-triggers): New functions.
10086 (gdb-discard-unordered-replies): New defcustom.
10087 (gdb-handler): New defstruct.
10088 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10089 instead of gdb-pending-triggers. Update docstring.
10090 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10091 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10092 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10093 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10094 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10095 (gdb-frame-handler): Pending triggers are now automatically managed.
10096 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10097 Remove argument.
10098 (gdb-input): Automatically handles pending triggers. Update docstring.
10099 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10100 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10101 Update comments.
10102 (gdb-done-or-error): Now use gdb-handle-reply.
10103
d04ce803
JPG
101042013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10105
10106 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10107 gdb-debug-log.
10108
0114073a
GM
101092013-05-14 Glenn Morris <rgm@gnu.org>
10110
10111 * subr.el (user-emacs-directory-warning): New option.
10112 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10113
4d25fd7e
LL
101142013-05-14 Leo Liu <sdl.web@gmail.com>
10115
10116 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10117 during redisplay.
10118 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10119 (octave-font-lock-texinfo-comment): Fix invalid search bound
10120 error: wrong side of point.
4d25fd7e 10121
27c8b6eb
GM
101222013-05-14 Glenn Morris <rgm@gnu.org>
10123
61aaeb01
GM
10124 * progmodes/flymake.el (flymake-xml-program): New option.
10125 (flymake-xml-init): Use it.
10126
5bf90bc5
GM
10127 * term/xterm.el: Provide a feature.
10128
10129 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10130
f4c7dfd2
GM
101312013-05-13 Glenn Morris <rgm@gnu.org>
10132
10133 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10134 Add compat aliases as a hack workaround. (Bug#14384)
10135
2aeb3a1d
LL
101362013-05-13 Leo Liu <sdl.web@gmail.com>
10137
b0e069c2
LL
10138 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10139 ###, and %!.
f5a9432f
LL
10140 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10141 C-M-q.
b0e069c2
LL
10142 (octave-comment-start-skip): Include %!.
10143 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10144
30ea8374
LL
101452013-05-12 Leo Liu <sdl.web@gmail.com>
10146
10147 * progmodes/octave.el (inferior-octave-startup): Store the value
10148 of __octave_srcdir__ for octave-source-directories.
10149 (inferior-octave-check-process): New function refactored out of
10150 inferior-octave-send-list-and-digest.
10151 (octave-source-directories)
10152 (octave-find-definition-filename-function): New variables.
10153 (octave-source-directories)
10154 (octave-find-definition-default-filename): New functions.
10155 (octave-find-definition): Improve to find functions implemented in C++.
10156
472a3834
GM
101572013-05-12 Glenn Morris <rgm@gnu.org>
10158
10159 * calendar/diary-lib.el (diary-outlook-format-1):
10160 Don't include dayname in the output. (Bug#14349)
10161
3191b52f
GM
101622013-05-11 Glenn Morris <rgm@gnu.org>
10163
0060ac73
GM
10164 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10165
3191b52f
GM
10166 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10167 Treat cc-provide like provide.
10168
e065ba74
KR
101692013-05-11 Kevin Ryde <user42@zip.com.au>
10170
10171 * cus-dep.el (custom-make-dependencies):
10172 Use generated-autoload-load-name for the sake of files such
10173 such cedet/semantic/bovine/c.el, where the base file name
10174 is not in load-path. (Bug#5277)
10175
36f84c37
GM
101762013-05-11 Glenn Morris <rgm@gnu.org>
10177
10178 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10179 Provide features.
10180
c8730c3a
LL
101812013-05-11 Leo Liu <sdl.web@gmail.com>
10182
10183 * progmodes/octave.el (octave-indent-comment): Improve.
10184 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10185 (octave-eldoc-function-signatures, octave-eldoc-function):
10186 New functions.
c8730c3a
LL
10187 (octave-mode, inferior-octave-mode): Add eldoc support.
10188
212e29f2
RS
101892013-05-11 Richard Stallman <rms@gnu.org>
10190
10191 * epa.el (epa-decrypt-file): Take output file name as argument
10192 and read it using `interactive'.
10193
083fe0d7
LL
101942013-05-11 Leo Liu <sdl.web@gmail.com>
10195
10196 * progmodes/octave.el (octave-beginning-of-line)
10197 (octave-end-of-line): Check before using up-list because it jumps
10198 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10199 (octave-indent-comment): New function.
10200 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10201 (octave-begin-keywords, octave-end-keywords)
10202 (octave-reserved-words, octave-smie-bnf-table)
10203 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10204
8582e4c4
GM
102052013-05-11 Glenn Morris <rgm@gnu.org>
10206
f20def1f
GM
10207 * faces.el (internal-face-x-get-resource):
10208 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10209 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10210 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10211 Fix declarations.
f20def1f 10212
445f95e2
GM
10213 * calc/calc-menu.el: Make it loadable in isolation.
10214
10215 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10216 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10217 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10218 (eudc-bbdb-query-internal): Require 'bbdb.
10219
99fb2756
GM
10220 * lpr.el (lpr-headers-switches):
10221 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10222
10223 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10224
0da7ad96
GM
10225 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10226
8582e4c4
GM
10227 * term.el (term-set-escape-char): Make it idempotent.
10228
f71c50d0
LL
102292013-05-10 Leo Liu <sdl.web@gmail.com>
10230
5ac2eb34
SM
10231 * progmodes/octave.el (inferior-octave-completion-table):
10232 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10233 completion due to bug#11906.
10234 (octave-beginning-of-defun): Re-write to be more general.
10235
d5837773
GM
102362013-05-10 Glenn Morris <rgm@gnu.org>
10237
10238 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10239
027c0f75
SM
102402013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10241
10242 * comint.el (comint-redirect-send-command-to-process): Use :around
10243 rather than :override for comint-redirect-filter.
10244 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10245 Call it instead of comint-redirect-original-filter-function (which
10246 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10247
4465bfb4
JD
102482013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10249
10250 * frame.el (display-monitor-attributes-list): Add NS case.
10251 (ns-display-monitor-attributes-list): Declare.
10252
2d809ffa 102532013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10254
10255 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10256
e54eeb9b
GM
102572013-05-09 Glenn Morris <rgm@gnu.org>
10258
56cd351d
GM
10259 * international/fontset.el (vertical-centering-font-regexp):
10260 Set standard-value.
10261
d84b6108
GM
10262 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10263
a931698a
GM
10264 * bookmark.el (bookmark-search-delay):
10265 * cus-start.el (vertical-centering-font-regexp):
10266 * ps-mule.el (ps-mule-font-info-database-default):
10267 * ps-print.el (ps-default-fg, ps-default-bg):
10268 * type-break.el (type-break-good-break-interval):
10269 * whitespace.el (whitespace-indentation-regexp)
10270 (whitespace-space-after-tab-regexp):
10271 * emacs-lisp/testcover.el (testcover-1value-functions)
10272 (testcover-noreturn-functions, testcover-progn-functions)
10273 (testcover-prog1-functions):
10274 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10275 * eshell/em-glob.el (eshell-glob-translate-alist):
10276 * play/tetris.el (tetris-tty-colors):
10277 * progmodes/cpp.el (cpp-face-default-list):
10278 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10279 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10280 (idlwave-help-browser-generic-args):
10281 * progmodes/make-mode.el (makefile-special-targets-list):
10282 * progmodes/python.el (python-shell-virtualenv-path):
10283 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10284 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10285 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10286 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10287 * textmodes/reftex-vars.el (reftex-format-label-function):
10288 * textmodes/remember.el (remember-diary-file): Fix custom types.
10289
e54eeb9b
GM
10290 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10291 Add :version.
10292
455851dd
LL
102932013-05-09 Leo Liu <sdl.web@gmail.com>
10294
10295 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10296 Restore file completion. (Bug#14300)
455851dd
LL
10297 (inferior-octave-startup): Fix incorrect highlighting for the
10298 first prompt.
10299
a9e4425b
SM
103002013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10301
10302 * progmodes/ruby-mode.el: First cut at SMIE support.
10303 (ruby-use-smie): New var.
10304 (ruby-smie-grammar): New constant.
10305 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10306 (ruby-smie--forward-token, ruby-smie--backward-token)
10307 (ruby-smie-rules): New functions.
10308 (ruby-mode-variables): Setup SMIE if applicable.
10309
060ca408
EZ
103102013-05-08 Eli Zaretskii <eliz@gnu.org>
10311
10312 * simple.el (line-move-visual): Signal beginning/end of buffer
10313 only if vertical-motion moved less than it was requested. Avoids
10314 silly incorrect error messages when there are display strings with
10315 multiple newlines at EOL.
10316
1d5963cc
SM
103172013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10318
10319 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10320 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10321 (prolog-char-quote-workaround):
10322 * progmodes/cperl-mode.el (cperl-under-as-char):
10323 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10324 Mark as obsolete.
10325 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10326 their declaration.
10327 (vhdl-mode-syntax-table-init): Remove.
10328
c9990474
SM
10329 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10330 last change.
1d5963cc
SM
10331
10332 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10333 syntax for "_".
10334 (ld-script-font-lock-keywords):
10335 Change regexps to use things like \_< and \_>.
10336
10337 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10338 Change all regexps to use things like \_< and \_>.
10339
10340 * progmodes/autoconf.el (autoconf-definition-regexp)
10341 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10342 Handle a _ with symbol syntax.
10343 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10344
c9990474
SM
10345 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10346 Consolidate declaration.
1d5963cc
SM
10347 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10348 the declaration.
10349 (ada-create-syntax-table): Remove.
10350 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10351 already has the right syntax nowadays.
10352 (ada-goto-next-word): Don't change the syntax of "_".
10353
10354 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10355 with-wrapper-hook.
10356
72d3cfca
SS
103572013-05-08 Sam Steingold <sds@gnu.org>
10358
10359 * thingatpt.el (thing-at-point): Accept optional second argument
10360 NO-PROPERTIES to strip the text properties from the return value.
10361 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10362 to `thing-at-point' instead of stripping the properties ourselves.
10363 Also, when `thing-at-point' fails to find a url, prepend "http://"
10364 to the filename at point on the assumption that the user is
10365 pointing at something like gnu.org/gnu.
10366
5cb15713
JB
103672013-05-08 Juanma Barranquero <lekktu@gmail.com>
10368
10369 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10370 * faces.el (crm-separator):
10371 Silence byte-compiler.
10372
10373 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10374 (tool-bar-map): Remove unneeded defvars.
10375
ea78b95b
LL
103762013-05-08 Leo Liu <sdl.web@gmail.com>
10377
10378 Re-work a fix for bug#10994 based on Le Wang's patch.
10379 * ido.el (ido-remove-consecutive-dups): New helper.
10380 (ido-completing-read): Use it.
10381 (ido-chop): Revert fix for bug#10994.
10382
dc7466df
AS
103832013-05-08 Adam Spiers <emacs@adamspiers.org>
10384
10385 * cus-edit.el (custom-save-variables):
10386 Pretty-print long values. (Bug#14187)
10387
9ecf672a
GM
103882013-05-08 Glenn Morris <rgm@gnu.org>
10389
10390 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10391 (m4-mode-syntax-table): Init in the defvar.
10392 (m4-mode-abbrev-table): Let define-derived-mode define it.
10393
3f555be8
TT
103942013-05-08 Tom Tromey <tromey@redhat.com>
10395
10396 * progmodes/m4-mode.el (m4-mode-syntax-table):
10397 Do not treat "_" as word constituent. (Bug#14167)
10398
7cc8ae06
GM
103992013-05-07 Glenn Morris <rgm@gnu.org>
10400
4f58bc06
GM
10401 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10402 Remove explicit eshell-isearch-cancel-map.
10403
7cc8ae06
GM
10404 * progmodes/f90.el (f90-smart-end-names): New option.
10405 (f90-smart-end): Doc fix.
10406 (f90-end-block-optional-name): New constant.
10407 (f90-block-match): Respect f90-smart-end-names.
10408
ceb57e59
SM
104092013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10410
10411 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10412 about implicit semi-colons (bug#14218).
10413
4e3f9230
YM
104142013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10415
10416 * frame.el (display-monitor-attributes-list)
10417 (frame-monitor-attributes): New functions.
10418
203a5572
LL
104192013-05-06 Leo Liu <sdl.web@gmail.com>
10420
10421 * progmodes/octave.el (octave-syntax-propertize-function): Change
10422 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10423 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10424 (octave-completion-at-point): Rename from
203a5572
LL
10425 octave-completion-at-point-function.
10426 (inferior-octave-directory-tracker): Robustify.
10427 (octave-text-functions): Remove and fix its uses. No such things
10428 any more.
10429
ee6cff99
SM
104302013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10431
10432 * emacs-lisp/trace.el (trace--display-buffer): New function.
10433 (trace-make-advice): Use it.
10434
32985194
JL
104352013-05-06 Juri Linkov <juri@jurta.org>
10436
10437 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10438 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10439 Doc fix.
10440 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10441 in the help string. (Bug#12985)
10442
a1c700de
KD
104432013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10444
10445 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10446
c67c0839
SM
104472013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10448
323885fd
SM
10449 * progmodes/perl-mode.el: Add support for here documents.
10450 (perl-syntax-propertize-function): Match here-doc markers.
10451 (perl-syntax-propertize-special-constructs): Find their end.
10452 (perl-imenu-generic-expression): Use [:alnum:].
10453
c67c0839
SM
10454 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10455 (advice--add-function): Refresh the advice if already present
10456 (bug#14317).
10457
d491e7a8
IA
104582013-05-06 Ivan Andrus <darthandrus@gmail.com>
10459
10460 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10461
ddf9925e
GM
104622013-05-06 Glenn Morris <rgm@gnu.org>
10463
7cc3af27
GM
10464 * w32-fns.el (w32-charset-info-alist): Declare.
10465
16e343d6
GM
10466 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10467 of its defcustom properties.
10468 (eshell-cmpl-initialize): No need to load pcomplete.
10469
7d889a47
GM
10470 * generic-x.el: No need to require comint when compiling.
10471
ddf9925e
GM
10472 * net/eudc-export.el: Make it loadable without bbdb.
10473 (top-level): Use require rather than load-library.
10474 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10475 (eudc-batch-export-records-to-bbdb)
10476 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10477 Require bbdb.
10478
1e2c18df
SM
104792013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10480
10481 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10482 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10483 some tweaks, instead.
10484
02502a5f
LL
104852013-05-05 Leo Liu <sdl.web@gmail.com>
10486
10487 * progmodes/octave.el (octave-font-lock-keywords)
10488 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10489 (inferior-octave-send-list-and-digest): Improve error message.
10490 (octave-mode, inferior-octave-mode): Use setq-local.
10491 (octave-help): Set info-lookup-mode.
10492
0dc04f42
RS
104932013-05-05 Richard Stallman <rms@gnu.org>
10494
6c54491c
RS
10495 * vc/compare-w.el (compare-windows-whitespace):
10496 Treat no-break space as whitespace.
10497
0dc04f42
RS
10498 * mail/rmailsum.el (rmail-summary-rmail-update):
10499 Detect empty summary and don't change selected message.
10500 (rmail-summary-goto-msg): Likewise.
10501
df8f35df
RS
10502 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10503 Doc fixes, rename args.
10504
5356e1a3
AM
105052013-05-05 Alan Mackenzie <acm@muc.de>
10506
10507 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10508
d44014cb
JL
105092013-05-05 Juri Linkov <juri@jurta.org>
10510
10511 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10512 to not add the length of the summary segment to the return value.
10513 (Bug#14125)
10514
c129b51f
LL
105152013-05-05 Leo Liu <sdl.web@gmail.com>
10516
10517 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10518 (inferior-octave-output-filter): Remove.
10519 (octave-send-region, inferior-octave-startup): Fix callers.
10520 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10521 (octave-binary-file-extensions): New user variable.
10522 (octave-find-definition): Confirm if opening binary files.
10523 (octave-help-file): Use octave-find-definition to get the binary
10524 confirmation.
10525 (octave-help): Adjust for octave-help-file change.
10526
aa7dab97
SM
105272013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10528
10529 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10530 Merge the two entries that handle function definitions.
10531 (pascal--syntax-propertize): New const.
10532 (pascal-mode): Use it. Use setq-local.
10533
fd3a9a6b
GM
105342013-05-04 Glenn Morris <rgm@gnu.org>
10535
10536 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10537 (diary-from-outlook): Respect diary-from-outlook-function.
10538
30c7e542
SM
105392013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10540
10541 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10542 Move the declaration from C.
10543 (read-minibuffer, eval-minibuffer): Move from C.
10544 (completion-setup-function): Avoid minibuffer-completion-contents.
10545
b54f978b
LL
105462013-05-03 Leo Liu <sdl.web@gmail.com>
10547
10548 * progmodes/octave.el (octave-font-lock-keywords): Do not
10549 dehighlight 'end' in comments or strings.
30c7e542
SM
10550 (octave-completing-read, octave-goto-function-definition):
10551 New helpers.
d4d0f9b3
LL
10552 (octave-help-buffer): New user variable.
10553 (octave-help-file, octave-help-function): New button types.
10554 (octave-help): New command and bind it to C-h ;.
10555 (octave-find-definition): New command and bind it to M-.
d74a1581 10556 (user-error): Alias to error if not defined.
b54f978b 10557
27135018
LL
105582013-05-02 Leo Liu <sdl.web@gmail.com>
10559
10560 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10561 for \. (bug#14332)
10562 (octave-font-lock-keywords): Include [ and {.
10563
0d634d3a
LL
105642013-05-02 Leo Liu <sdl.web@gmail.com>
10565
10566 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10567 (inferior-octave): Remove calling comint-mode and return the buffer.
10568 (inferior-octave-startup): Cosmetic changes.
10569
b4c8295e
LL
105702013-05-02 Leo Liu <sdl.web@gmail.com>
10571
30c7e542
SM
10572 * progmodes/octave.el (octave-syntax-propertize-function):
10573 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10574
f12ad6ec
GM
105752013-05-02 Glenn Morris <rgm@gnu.org>
10576
10577 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10578 * desktop.el (vc-dir-mode): Just autoload it here.
10579
30cac1e0
AM
105802013-05-02 Alan Mackenzie <acm@muc.de>
10581
10582 Eliminate variable c-standard-font-lock-fontify-region-function.
10583 * progmodes/cc-mode.el
10584 (c-standard-font-lock-fontify-region-function): Remove.
10585 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10586
d8ef28b1
LL
105872013-05-01 Leo Liu <sdl.web@gmail.com>
10588
2640d52e 10589 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10590 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10591 variables were removed from Octave in 2007.
d8ef28b1
LL
10592 (inferior-octave-startup): Fix uses.
10593 (comint-line-beginning-position): Remove compatibility code for
10594 emacs 21.
10595
ac63ec89
JL
105962013-05-01 Juri Linkov <juri@jurta.org>
10597
10598 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10599
9e9be37c
JL
106002013-05-01 Juri Linkov <juri@jurta.org>
10601
10602 * comint.el (comint-previous-matching-input): Don't print message
10603 "History item: %d" when `isearch-mode' is active.
10604 (comint-history-isearch-message): Print message "History item: %d"
10605 when `comint-input-ring-index' is not empty and this function is
10606 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10607
9b92c13b
LL
106082013-05-01 Leo Liu <sdl.web@gmail.com>
10609
10610 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10611 definitions. Use completion-at-point to insert keywords.
10612 (octave-abbrev-start): Remove.
10613 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10614
b12d33d7
LL
106152013-04-30 Leo Liu <sdl.web@gmail.com>
10616
10617 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10618 change.
10619
3d1c39fa
AM
106202013-04-30 Alan Mackenzie <acm@muc.de>
10621
10622 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10623 * progmodes/cc-engine.el (c-back-over-member-initializers):
10624 new function.
3d1c39fa
AM
10625 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10626 (most) member init lists.
10627
5147fc17
RS
106282013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10629
10630 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10631 variable.
10632
5b78d7fc
LL
106332013-04-30 Leo Liu <sdl.web@gmail.com>
10634
10635 * progmodes/octave.el (octave-variables): Remove. No builtin
10636 variables any more. All converted to functions.
10637 (octave-font-lock-keywords, octave-completion-at-point-function):
10638 Fix uses.
10639 (octave-font-lock-texinfo-comment): New user variable.
10640 (octave-texinfo-font-lock-keywords): New variable for texinfo
10641 comment block.
10642 (octave-function-comment-block): New face.
10643 (octave-font-lock-texinfo-comment): New function.
10644 (octave-mode): Font lock texinfo comment block.
10645
38d8527b
LL
106462013-04-29 Leo Liu <sdl.web@gmail.com>
10647
10648 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10649 indexing expression.
10650 (octave-continuation-string): Do not use \.
10651 (inferior-octave-complete-impossible): Remove.
10652 (inferior-octave-completion-table)
10653 (inferior-octave-completion-at-point): Remove its uses.
10654 (inferior-octave-startup): completion_matches was introduced to
10655 Octave in 1996 so safe to assume it.
10656 (octave-function-file-comment): Improve to follow how Octave does it.
10657 (octave-update-function-file-comment): Tweak.
10658
2ec12cb0
LL
106592013-04-29 Leo Liu <sdl.web@gmail.com>
10660
10661 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10662 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10663 (octave-function-file-comment): Fix typo.
10664 (octave-sync-function-file-names): Use read-char-choice.
10665
6eaed048
JB
106662013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10667
10668 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10669 to t for the less important warnings.
10670
3ffa2d4f
DH
106712013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10672
10673 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10674
685c9501
GM
106752013-04-27 Glenn Morris <rgm@gnu.org>
10676
10677 * vc/log-view.el (log-view-current-entry):
10678 Treat "---" separator lines as part of the following rev. (Bug#14169)
10679
0208ede7
JL
106802013-04-27 Juri Linkov <juri@jurta.org>
10681
10682 * subr.el (read-number): Doc fix about using it by interactive
10683 code letter `n'. (Bug#14254)
10684
5db9dace
JL
106852013-04-27 Juri Linkov <juri@jurta.org>
10686
10687 * desktop.el (desktop-auto-save-timeout): New option.
10688 (desktop-file-checksum): New variable.
10689 (desktop-save): Add optional arg `auto-save' and don't auto-save
10690 if nothing changed.
10691 (desktop-auto-save-timer): New variable.
10692 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10693 (after-init-hook): Call `desktop-auto-save-set-timer'.
10694 Suggested by Reuben Thomas <rrt@sc3d.org> in
10695 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10696
b7260dd4
LL
106972013-04-27 Leo Liu <sdl.web@gmail.com>
10698
10699 * progmodes/octave.el (octave-function-file-p)
10700 (octave-skip-comment-forward, octave-function-file-comment)
10701 (octave-update-function-file-comment): New functions.
10702 (octave-mode-map): Bind C-c ; to
10703 octave-update-function-file-comment.
10704 (octave-mode-menu): Add octave-update-function-file-comment.
10705 (octave-mode, inferior-octave-mode): Fix doc-string.
10706 (octave-insert-defun): Conform to Octave's coding convention.
10707 (Bug#14285)
10708
10709 * files.el (basic-save-buffer): Don't let errors in
10710 before-save-hook prevent saving buffer.
10711
c46da669
RW
107122013-04-20 Roland Winkler <winkler@gnu.org>
10713
10714 * faces.el (read-face-name): Use completing-read if arg multiple
10715 is nil.
10716
a81ee1eb
IL
107172013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10718
10719 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10720 displayed, move point to after the totals line.
10721 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10722 for the details.
10723
4fac34ce
SM
107242013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10725
10726 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10727 Add current dir to the load-path.
10728 (package-generate-autoloads): Don't rely on
10729 autoload-ensure-default-file.
10730
f6bfc063
RT
107312013-04-26 Reuben Thomas <rrt@sc3d.org>
10732
d40ab5cf
BG
10733 * textmodes/remember.el (remember-store-in-files): Document that
10734 the file name format is passed to `format-time-string'.
f6bfc063 10735
e55d3b04
LL
107362013-04-26 Leo Liu <sdl.web@gmail.com>
10737
10738 * progmodes/octave.el (octave-sync-function-file-names): New function.
10739 (octave-mode): Use it in before-save-hook.
10740
e53052d3
SM
107412013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10742
140ef50c
SM
10743 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10744 (bug#14274).
10745
e53052d3
SM
10746 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10747 \n and comment, even if it's not an implicit ; (bug#14218).
10748
af80458d 107492013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10750
10751 * subr.el (read-number): Once more use `read' rather than
10752 `string-to-number', to trap non-numeric input. (Bug#14254)
10753
af80458d 107542013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10755
10756 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10757 Use `syntax-multiline' text property consistently instead of
8a621d53 10758 `font-lock-multiline'. (Bug#14237)
70203c2e 10759
e6ea1f6c
GM
107602013-04-26 Glenn Morris <rgm@gnu.org>
10761
10762 * emacs-lisp/shadow.el (list-load-path-shadows):
10763 No longer necessary to check for duplicate simple.el, since
10764 2012-07-07 change to init_lread to not include installation lisp
10765 directories in load-path when running uninstalled. (Bug#14270)
10766
070ccca4
LL
107672013-04-26 Leo Liu <sdl.web@gmail.com>
10768
10769 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10770 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10771 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10772 octave-in-string-or-comment-p.
10773 (octave-in-comment-p, octave-in-string-p)
10774 (octave-in-string-or-comment-p): Replace defsubst with defun.
10775
9d1c5fb6
PE
107762013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10777
10778 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10779
c034abda
BG
107802013-04-25 Bastien Guerry <bzg@gnu.org>
10781
10782 * textmodes/remember.el (remember-data-directory)
10783 (remember-directory-file-name-format): Fix custom types.
10784
584ea277
LL
107852013-04-25 Leo Liu <sdl.web@gmail.com>
10786
e53052d3
SM
10787 * progmodes/octave.el (octave-completion-at-point-function):
10788 Make use of inferior octave process.
584ea277
LL
10789 (octave-initialize-completions): Remove.
10790 (inferior-octave-completion-table): New function.
10791 (inferior-octave-completion-at-point): Use it.
10792 (octave-completion-alist): Remove.
10793
1693b06a
SM
107942013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10795
10796 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10797 (opascal-mode-syntax-table): New var.
10798 (opascal-literal-kind, opascal-is-literal-end)
10799 (opascal-literal-token-at): Rewrite.
10800 (opascal--literal-start-re, opascal-font-lock-keywords)
10801 (opascal--syntax-propertize): New constants.
10802 (opascal-font-lock-defaults): Adjust.
10803 (opascal-mode): Use them. Set comment-<foo> variables as well.
10804 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10805 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10806 (delphi-other-face, opascal-other-face): Remove face variables.
10807 (opascal-save-state): Remove macro.
10808 (opascal-fontifying-progress-step): Remove constant.
10809 (opascal--ignore-changes): Remove var.
10810 (opascal-set-token-property, opascal-parse-next-literal)
10811 (opascal-is-stable-literal, opascal-complete-literal)
10812 (opascal-is-literal-start, opascal-face-of)
10813 (opascal-parse-region, opascal-parse-region-until-stable)
10814 (opascal-fontify-region, opascal-after-change)
10815 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10816 (opascal-debug-parse-region, opascal-debug-parse-window)
10817 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10818 (opascal-debug-fontify-buffer): Remove.
10819 (opascal-debug-mode-map): Adjust accordingly.
10820
be64c05d
LL
108212013-04-25 Leo Liu <sdl.web@gmail.com>
10822
10823 Merge octave-mod.el and octave-inf.el into octave.el with some
10824 cleanups.
10825 * progmodes/octave.el: New file renamed from octave-mod.el.
10826 * progmodes/octave-inf.el: Merged into octave.el.
10827 * progmodes/octave-mod.el: Renamed to octave.el.
10828
d79d37bd
TH
108292013-04-25 Tassilo Horn <tsdh@gnu.org>
10830
10831 * textmodes/reftex-vars.el
10832 (reftex-label-ignored-macros-and-environments): New defcustom.
10833
10834 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10835
ced3fc5d
SM
108362013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10837
10838 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10839 (smie-indent-keyword): Improve the check to ensure that the next
10840 comment is really on the same line.
10841 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10842
10843 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10844 semi-colons if the line is not otherwise empty (bug#14218).
10845
1c141dad
GM
108462013-04-25 Glenn Morris <rgm@gnu.org>
10847
10848 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10849
5058062a
SM
108502013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10851
10852 * progmodes/opascal.el (opascal-set-token-property): Rename from
10853 opascal-set-text-properties and only set `token' (bug#14134).
10854 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10855 (opascal-literal-text-properties): Remove.
10856 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10857 Adjust callers.
10858
5db9dace 108592013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10860
10861 * textmodes/remember.el (remember-handler-functions): Add an
10862 option for a new handler `remember-store-in-files'.
10863 (remember-data-directory, remember-directory-file-name-format):
10864 New options.
10865 (remember-store-in-files): New function to store remember notes
10866 as separate files within a directory.
10867
4391916c
MH
108682013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10869
10870 * progmodes/compile.el (compilation-next-error-function):
10871 Pass "formats" to compilation-find-file (bug#11777).
10872
bb7cdf58
GM
108732013-04-24 Glenn Morris <rgm@gnu.org>
10874
3b8fe752 10875 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10876 * vc/vc-hg.el (vc-hg-print-log):
10877 * vc/vc-svn.el (vc-svn-print-log):
10878 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10879
bb7cdf58
GM
10880 * vc/vc-bzr.el (vc-bzr-print-log):
10881 * vc/vc-cvs.el (vc-cvs-print-log):
10882 * vc/vc-git.el (vc-git-print-log):
10883 * vc/vc-hg.el (vc-hg-print-log):
10884 * vc/vc-mtn.el (vc-mtn-print-log):
10885 * vc/vc-rcs.el (vc-rcs-print-log):
10886 * vc/vc-sccs.el (vc-sccs-print-log):
10887 * vc/vc-svn.el (vc-svn-print-log):
10888 * vc/vc.el (vc-print-log-internal): Doc fixes.
10889
b46a056e
GM
108902013-04-23 Glenn Morris <rgm@gnu.org>
10891
10892 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10893 Remove venerable code attempting to avoid substitute-command-keys.
10894
0aecf718
TH
108952013-04-23 Tassilo Horn <tsdh@gnu.org>
10896
4391916c
MH
10897 * textmodes/reftex-vars.el (reftex-label-regexps):
10898 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10899
117f94cf
SM
109002013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10901
4391916c 10902 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10903 Use lexical-binding.
10904 (jit-lock-force-redisplay): Use markers, check buffer's continued
10905 existence and beware narrowed buffers.
10906 (jit-lock-fontify-now): Adjust call accordingly.
10907
1d829c64
SM
109082013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10909
10910 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10911 to avoid misleading the user.
10912
72d548a9
LL
109132013-04-22 Leo Liu <sdl.web@gmail.com>
10914
10915 * info-look.el: Prefer latex2e.info. (Bug#14240)
10916
d0853629
MA
109172013-04-22 Michael Albinus <michael.albinus@gmx.de>
10918
10919 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10920
10921 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10922 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10923 (tramp-set-completion-function, tramp-parse-putty):
10924 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10925 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10926 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10927 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10928 (tramp-call-local-coding-command): Use `tramp-call-process'
10929 instead of `tramp-compat-call-process'.
10930
10931 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10932 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10933 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10934 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10935 (tramp-maybe-send-script): Check for Perl binary.
10936 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10937
38cc0210
DU
109382013-04-22 Daiki Ueno <ueno@gnu.org>
10939
10940 * epg.el (epg-context-pinentry-mode): New function.
10941 (epg-context-set-pinentry-mode): New function.
10942 (epg--start): Pass --pinentry-mode option to gpg command.
10943
cc641ee1
XF
109442013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10945
02d844b5 10946 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10947 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10948 `completion-at-point'. (Bug#13774)
5d4e5c31 10949
cc641ee1
XF
10950 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10951 default key binding for `describe-distribution' has been moved to
10952 `C-h C-o'. (Bug#13970)
10953
1b42ee43
GM
109542013-04-21 Glenn Morris <rgm@gnu.org>
10955
10956 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10957 Add doc strings.
10958 (vc-print-log): Clarify interactive prompt.
10959
a6d63d97
GM
109602013-04-20 Glenn Morris <rgm@gnu.org>
10961
10962 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10963 No longer include timestamp etc information.
10964
d7f5c16f
RW
109652013-04-20 Roland Winkler <winkler@gnu.org>
10966
10967 * faces.el (read-face-name): Bug fix, return just one face if arg
10968 multiple is nil. (Bug#14209)
10969
bcd7a0a4
SM
109702013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10971
10972 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10973 (remove-function): Autoload.
10974
10975 * comint.el (comint-redirect-original-filter-function): Remove.
10976 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10977 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10978 (vc-cvs-annotate-command):
bcd7a0a4
SM
10979 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10980 * progmodes/prolog.el (prolog-consult-compile):
10981 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10982 Use add/remove-function instead.
10983 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10984 (gud-tooltip-process-output, gud-tooltip-tips):
10985 Use add/remove-function instead.
10986 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10987 (scheme-interaction-mode, exit-scheme-interaction-mode):
10988 Use add/remove-function instead.
10989
10990 * vc/vc-dispatcher.el: Use lexical-binding.
10991 (vc--process-sentinel): Rename from vc-process-sentinel.
10992 Change last arg to be the code to run. Don't use vc-previous-sentinel
10993 and vc-sentinel-commands any more.
10994 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10995 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10996
e36b2d20 109972013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10998
bcd7a0a4 10999 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11000 Handle function names with a single character. (Bug#14111)
4d3268ba 11001
781b4af6 110022013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11003
11004 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11005 for subroutines defined in an eval (bug#14182).
11006
7d688336
TV
110072013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11008
11009 * bookmark.el (bookmark-completing-read): Improve handling of empty
11010 string (bug#14176).
11011
31dcede0
SM
110122013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11013
11014 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11015
adc31213
FEG
110162013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11017
11018 New faster Imenu implementation (bug#14058).
11019 * progmodes/python.el:
11020 (python-imenu-prev-index-position):
11021 (python-imenu-format-item-label-function)
11022 (python-imenu-format-parent-item-label-function)
11023 (python-imenu-format-parent-item-jump-label-function):
11024 New vars.
11025 (python-imenu-format-item-label)
11026 (python-imenu-format-parent-item-label)
11027 (python-imenu-format-parent-item-jump-label)
11028 (python-imenu--put-parent, python-imenu--build-tree)
11029 (python-imenu-create-index, python-imenu-create-flat-index)
11030 (python-util-popn): New functions.
11031 (python-mode): Set imenu-create-index-function to
11032 python-imenu-create-index.
11033
cdca8255
SM
110342013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11035
11036 * winner.el (winner-active-region): Use region-active-p, activate-mark
11037 and deactivate-mark (bug#14225).
11038
11039 * simple.el (deactivate-mark): Don't inline it.
11040
beb42340
MA
110412013-04-18 Michael Albinus <michael.albinus@gmx.de>
11042
11043 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11044
fc7f4d7e
TH
110452013-04-18 Tassilo Horn <tsdh@gnu.org>
11046
11047 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11048 file extensions from the archive-mode entry in order to prefer
11049 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11050
29f47822
LL
110512013-04-18 Leo Liu <sdl.web@gmail.com>
11052
11053 * bindings.el (help-event-list): Add ?\?.
11054
d36ed1c8
SM
110552013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11056
11057 * subr.el (with-wrapper-hook): Declare obsolete.
11058 * simple.el (filter-buffer-substring-function): New hook.
11059 (filter-buffer-substring): Use it.
11060 (filter-buffer-substring-functions): Mark obsolete.
11061 * minibuffer.el (completion-in-region-function): New hook.
11062 (completion-in-region): Use it.
11063 (completion-in-region-functions): Mark obsolete.
11064 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11065 * abbrev.el (abbrev-expand-function): New hook.
11066 (expand-abbrev): Use it.
11067 (abbrev-expand-functions): Mark obsolete.
11068 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11069 and :filter-return.
11070
04754d36
FEG
110712013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11072
11073 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11074 and do not care about match data.
11075
dd8791e9
SM
110762013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11077
11078 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11079 completion tables when completing error conditions and
11080 `declare' arguments.
11081 (lisp-complete-symbol, field-complete): Mark as obsolete.
11082 (check-parens): Unmatched parens are user errors.
11083 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11084
ffe54a13
AM
110852013-04-17 Michal Nazarewicz <mina86@mina86.com>
11086
dd8791e9
SM
11087 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11088 command changed buffer (ie. `flyspell-pre-buffer' is not current
11089 buffer), which prevents making decisions based on invalid value of
11090 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11091 cause an error when `flyspell-pre-point' was nil after switching
11092 buffers.
11093 (flyspell-post-command-hook): No longer needs to change buffers when
11094 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11095
ec7e39f2
AM
110962013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11097
11098 * textmodes/ispell.el (ispell-add-per-file-word-list):
11099 Fix `flyspell-correct-word-before-point' error when accepting
11100 words and `coment-padding' is an integer by using
11101 `comment-normalize-vars' (Bug #14214).
11102
083850a6
FEG
111032013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11104
11105 New defun movement commands.
11106 * progmodes/python.el (python-nav--syntactically)
11107 (python-nav--forward-defun, python-nav-backward-defun)
11108 (python-nav-forward-defun): New functions.
11109
619ed6e1
FEG
111102013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11111
11112 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11113 (python-syntax-context): Use named compiler-macro for backwards
11114 compatibility with Emacs 24.x.
11115
7a1beb6c
LL
111162013-04-17 Leo Liu <sdl.web@gmail.com>
11117
11118 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11119 octave-hide-process-buffer.
11120
2d3fa3e5
SM
111212013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11122
11123 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11124 (bug#14216).
11125
7ce5be54
JPG
111262013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11127
11128 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11129 Fix adjustment of offset when receiving incomplete responses from GDB
11130 (bug#14129).
11131
351edece
SM
111322013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11133
11134 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11135 python-mode-abbrev-table.
11136 (python-skeleton-define): Adjust accordingly.
11137 (python-mode-abbrev-table): New table that inherits from it so that
11138 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11139
11140 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11141 (abbrev-symbol): Use it.
11142 (abbrev--before-point): Use it since we already handle inheritance.
11143
613f9481
LL
111442013-04-16 Leo Liu <sdl.web@gmail.com>
11145
11146 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11147 binding to info-lookup-symbol.
11148
51646b62
JB
111492013-04-16 Juanma Barranquero <lekktu@gmail.com>
11150
11151 * minibuffer.el (completion--twq-all):
11152 * term/ns-win.el (ns-initialize-window-system):
11153 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11154
efb3f01d
SM
111552013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11156
36c0a301
SM
11157 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11158 global bindings.
11159
efb3f01d
SM
11160 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11161
fb549d64
DG
111622013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11163
11164 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11165 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11166 to nil.
11167 (ruby-end-of-defun): Remove the unused arg, change the docstring
11168 to reflect that this function is only used as the value of
11169 `end-of-defun-function'.
11170 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11171 to reflect an earlier change that beginning/end-of-defun functions
11172 jump between methods in a class definition, as well as top-level
11173 functions.
11174
21e8fe2f
SM
111752013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11176
11177 * minibuffer.el (minibuffer-complete): Don't just scroll
11178 a *Completions* that's been iconified.
11179 (minibuffer-force-complete): Make sure repetitions do cycle when going
11180 through completion-in-region -> minibuffer-complete.
11181
20e527d0
AM
111822013-04-15 Alan Mackenzie <acm@muc.de>
11183
11184 Correct the placement of c-cpp-delimiters when there're #s not at
11185 col 0.
11186
11187 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11188 place a submatch around the #.
21e8fe2f
SM
11189 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11190 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11191 on the #, not BOL.
11192
dabefae5
SM
111932013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11194
11195 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11196 (advice--member-p): New arg `name'.
11197 (advice--add-function, advice-member-p): Use it (bug#14202).
11198
85c9ab64
AM
111992013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11200
11201 Reformulate java imenu-generic-expression.
11202 The old expression contained ill formed regexps.
11203
11204 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11205 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11206 (cc-imenu-java-method-arg-regexp): New defconsts.
11207 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11208 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11209 handling of spaces in the regexp.
11210
0f821d99
AM
112112013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11212
11213 * textmodes/ispell.el (ispell-command-loop): Remove
11214 flyspell highlight of a word when ispell accepts it (bug #14178).
11215
eb922adf
MA
112162013-04-15 Michael Albinus <michael.albinus@gmx.de>
11217
11218 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11219 uses code from the previous `ange-ftp-run-real-handler'.
11220 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11221 only in case that function exist. This is needed for proper
11222 unloading of Tramp.
11223
4d9a0979
TH
112242013-04-15 Tassilo Horn <tsdh@gnu.org>
11225
11226 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11227
11228 * textmodes/reftex.el (reftex-compile-variables): Use it.
11229
a829b0dc
SM
112302013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11231
91e8293c
SM
11232 * files.el (normal-mode): Only use default major-mode if no other mode
11233 was specified.
11234
830aed4d
SM
11235 * emacs-lisp/trace.el (trace-values): New function.
11236
a829b0dc
SM
11237 * files.el: Allow : in local variables (bug#14089).
11238 (hack-local-variable-regexp): New var.
11239 (hack-local-variables-prop-line, hack-local-variables): Use it.
11240
7ae9f0fb
RW
112412013-04-13 Roland Winkler <winkler@gnu.org>
11242
11243 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11244 data before it gets modified by bibtex-beginning-of-entry.
11245
6646e848
RW
112462013-04-13 Roland Winkler <winkler@gnu.org>
11247
11248 * textmodes/bibtex.el (bibtex-url): Doc fix.
11249
112502013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11251
11252 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11253 does not visit a BibTeX file, exclude it from the list of buffers
11254 returned by bibtex-initialize.
11255
0aa3616e
SB
112562013-04-13 Stephen Berman <stephen.berman@gmx.net>
11257
11258 * window.el (split-window): Remove interactive form, since as a
11259 command this function is a special case of split-window-below.
11260 Correct doc string.
11261
011cddd6
RW
112622013-04-12 Roland Winkler <winkler@gnu.org>
11263
11264 * faces.el (read-face-name): Do not override value of arg default.
11265 Allow single faces and strings as default values. Remove those
11266 elements from return value that are not faces.
11267 (describe-face): Simplify.
11268 (face-at-point): New optional args thing and multiple so that this
11269 function can provide the same functionality previously provided by
11270 read-face-name.
11271 (make-face-bold, make-face-unbold, make-face-italic)
11272 (make-face-unitalic, make-face-bold-italic, invert-face)
11273 (modify-face, read-face-and-attribute): Use face-at-point.
11274
11275 * cus-edit.el (customize-face, customize-face-other-window)
11276 * cus-theme.el (custom-theme-add-face)
11277 * face-remap.el (buffer-face-set)
11278 * facemenu.el (facemenu-set-face): Use face-at-point.
11279
f24e0036
MA
112802013-04-12 Michael Albinus <michael.albinus@gmx.de>
11281
11282 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11283
da3cda2d
TH
112842013-04-10 Tassilo Horn <tsdh@gnu.org>
11285
11286 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11287 off leading { and trailing } from field values.
11288
15e54145
SM
112892013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11290
78ce603d
SM
11291 * emacs-lisp/timer.el (timer--check): New function.
11292 (timer--time, timer-set-function, timer-event-handler): Use it.
11293 (timer-set-idle-time): Simplify.
11294 (timer--activate): CSE.
11295 (timer-event-handler): Give more info in error message.
11296 (internal-timer-start-idle): New function, moved from C.
11297
15e54145
SM
11298 * mpc.el (mpc-proc): Add `restart' argument.
11299 (mpc-proc-cmd): Use it.
11300 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11301 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11302 less often.
11303
7144c627
MY
113042013-04-10 Masatake YAMATO <yamato@redhat.com>
11305
11306 * progmodes/sh-script.el: Implement `sh-mode' own
11307 `add-log-current-defun-function' (bug#14112).
11308 (sh-current-defun-name): New function.
11309 (sh-mode): Use the function.
11310
b39792eb
BG
113112013-04-09 Bastien Guerry <bzg@gnu.org>
11312
11313 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11314
8acdeb71
SM
113152013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11316
6fcdab68
SM
11317 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11318
8acdeb71
SM
11319 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11320 timer (bug#14156).
11321
e3e7b504
NF
113222013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11323
11324 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11325 declaration.
11326
201bb296
LL
113272013-04-07 Leo Liu <sdl.web@gmail.com>
11328
11329 * pcmpl-x.el: New file.
11330
ebb19708
DA
113312013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11332
11333 Do not set x-display-name until X connection is established.
11334 This is needed to prevent from weird situation described at
11335 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11336 * frame.el (make-frame): Set x-display-name after call to
11337 window system initialization function, not before.
11338 * term/x-win.el (x-initialize-window-system): Add optional
11339 display argument and use it.
11340 * term/w32-win.el (w32-initialize-window-system):
11341 * term/ns-win.el (ns-initialize-window-system):
11342 * term/pc-win.el (msdos-initialize-window-system):
11343 Add compatible optional display argument.
11344
33bb237a
EZ
113452013-04-06 Eli Zaretskii <eliz@gnu.org>
11346
11347 * files.el (normal-backup-enable-predicate): On MS-Windows and
11348 MS-DOS compare truenames of temporary-file-directory and of the
11349 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11350 don't fail comparison by compare-strings. Also, compare file
11351 names case-insensitively on MS-Windows and MS-DOS.
11352
134abf1f
SM
113532013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11354
11355 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11356 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11357
d695cb94
DG
113582013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11359
e3e7b504
NF
11360 * whitespace.el (whitespace-color-on, whitespace-color-off):
11361 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11362
f4ad7ea1 113632013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11364
11365 * ispell.el (ispell-set-spellchecker-params):
11366 Really set `ispell-args' for all equivs.
11367
632556e4
SM
113682013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11369
11370 * ido.el (ido-completions): Use extra elements of ido-decorations
11371 (bug#14143).
11372 (ido-decorations): Update docstring.
11373
2a417372
MA
113742013-04-05 Michael Albinus <michael.albinus@gmx.de>
11375
11376 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11377 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11378 nil during initialization, in order not to miss changes since the
11379 file was opened. (Bug#14140)
11380
fc164b0c
LL
113812013-04-05 Leo Liu <sdl.web@gmail.com>
11382
11383 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11384
0ccecc08
JB
113852013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11386
11387 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11388
51af1aa2
GM
113892013-04-04 Glenn Morris <rgm@gnu.org>
11390
11391 * electric.el (electric-pair-inhibit-predicate): Add :version.
11392
b208ebc6
SM
113932013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11394
11395 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11396 when a package is required several times (bug#14082).
11397
f3d3eaf0
RW
113982013-04-04 Roland Winkler <winkler@gnu.org>
11399
11400 * faces.el (read-face-name): Behave as promised by the docstring.
11401 Assume that arg default is a list of faces.
11402 (describe-face): Call read-face-name with list of default faces.
11403
2575da50
TV
114042013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11405
11406 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11407 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11408 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11409 the header.
11410 (bookmark-exit-hook-internal): Save even if list is empty.
11411
397703b4
YH
114122013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11413
11414 * emacs-lisp/package.el (package-pinned-packages): New var.
11415 (package--add-to-archive-contents): Obey it (bug#14118).
11416
691e26ae
AM
114172013-04-03 Alan Mackenzie <acm@muc.de>
11418
8a621d53
JB
11419 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11420 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11421
11422 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11423 parameter `not-in-delimiter'. Handle being inside comment opener.
11424 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11425 character in case we're typing a '*' after a '/'.
11426 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11427 instead by passing the parameter to c-state-pp-to-literal.
11428
11429 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11430 for elt. 7 of a parse state.
11431
4b725a70
PE
114322013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11433
11434 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11435 * international/latin1-disp.el, international/mule-util.el:
11436 * language/cyril-util.el, language/european.el, language/ind-util.el:
11437 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11438 * language/tibetan.el, language/viet-util.el:
11439 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11440
15c579f0
SM
114412013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11442
11443 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11444 (electric-pair-post-self-insert-function): Use it.
11445 (electric-pair-default-inhibit): New function, extracted from
11446 electric-pair-post-self-insert-function.
11447
a77e2924
RW
114482013-03-31 Roland Winkler <winkler@gnu.org>
11449
11450 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11451
2bd8a4a8
SM
114522013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11453
11454 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11455
8d3655be 114562013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11457
11458 Un-indent after "pass" and "return" statements (Bug#13888)
11459 * progmodes/python.el (python-indent-block-enders): New var.
11460 (python-indent-calculate-indentation): Use it.
11461
8d3655be 114622013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11463
11464 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11465 defun. Defining it as defalias could introduce too eager
11466 byte-compiler optimization. (Bug#14030)
11467
8d3655be 114682013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11469
11470 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11471
0b1619da
LL
114722013-03-30 Leo Liu <sdl.web@gmail.com>
11473
11474 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11475 (kmacro-execute-from-register): Pass the keyboard macro to
11476 kmacro-call-macro or repeating won't work correctly.
11477
0b938190
TZ
114782013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11479
11480 * progmodes/subword.el: Back to using `forward-symbol'.
11481
11482 * subr.el (forward-whitespace, forward-symbol)
11483 (forward-same-syntax): Move from thingatpt.el.
11484
35710234
LL
114852013-03-29 Leo Liu <sdl.web@gmail.com>
11486
11487 * kmacro.el (kmacro-to-register): New command.
11488 (kmacro-execute-from-register): New function.
11489 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11490
efc0bb73
SM
114912013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11492
11493 * mpc.el: Use defvar-local and setq-local.
11494 (mpc--proc-connect): Connection failures are not bugs.
11495 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11496 (mpc-volume-map): Bind to the up-events.
11497
75a2f981
TZ
114982013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11499
11500 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11501 instead of `forward-symbol'.
11502
17c781d1
SM
115032013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11504
11505 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11506 (edebug--recursive-edit): Use it.
11507 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11508 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11509
f67bfbcf
LL
115102013-03-28 Leo Liu <sdl.web@gmail.com>
11511
11512 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11513
b59f639d
EZ
115142013-03-27 Eli Zaretskii <eliz@gnu.org>
11515
11516 * facemenu.el (list-colors-callback): New defvar.
11517 (list-colors-redisplay): New function.
11518 (list-colors-display): Install list-colors-redisplay as the
11519 revert-buffer-function. (Bug#14063)
11520
f557c1b1
SM
115212013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11522
b1da2957
SM
11523 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11524 and suffixes don't overlap (bug#14061).
11525
f557c1b1
SM
11526 * case-table.el: Use lexical-binding.
11527 (case-table-get-table): New function.
11528 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11529
002668e1
TZ
115302013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11531
11532 * progmodes/subword.el: Add `superword-mode' to do word motion
11533 over symbol_words (parallels and leverages `subword-mode' which
11534 does word motion inside MixedCaseWords).
11535
73572c72
AG
115362013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11537
78b8f320 11538 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11539 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11540
69b2c07e
SM
115412013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11542
11543 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11544 Change return value to be a sexp. Delay `get-buffer' to after
11545 restoring the desktop (bug#13951).
11546
08bb5ee2
LL
115472013-03-26 Leo Liu <sdl.web@gmail.com>
11548
11549 * register.el: Move semantic tag handling back to
11550 cedet/semantic/senator.el. (Bug#14052)
11551
8d4c974e
SM
115522013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11555 into the prompt either (bug#13963).
11556
b234d92c
SM
115572013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11558
11559 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11560 part of "(error-foo)".
11561
ddfa3cb4
JL
115622013-03-24 Juri Linkov <juri@jurta.org>
11563
11564 * replace.el (list-matching-lines-prefix-face): New defcustom.
11565 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11566 `occur-engine' if `face-differs-from-default-p' returns t.
11567 (occur-engine): Add `,' inside backquote construct to evaluate
11568 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11569 Pass `prefix-face' to the functions `occur-context-lines' and
11570 `occur-engine-add-prefix'.
11571 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11572 `prefix-face' and propertize the prefix with `prefix-face'.
11573 (Bug#14017)
11574
7b0e2f85
LL
115752013-03-24 Leo Liu <sdl.web@gmail.com>
11576
11577 * nxml/rng-valid.el (rng-validate-while-idle)
11578 (rng-validate-quick-while-idle): Guard against deleted buffer.
11579 (Bug#13999)
11580
11581 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11582 is the last entry in kill-buffer-hook.
11583
11584 * files.el (kill-buffer-hook): Doc fix.
11585
b3082f49
DG
115862013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11587
b234d92c
SM
11588 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11589 Make it safe-local.
bde73d27 11590
b3082f49
DG
11591 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11592
a320a2db
LL
115932013-03-23 Leo Liu <sdl.web@gmail.com>
11594
7e74b0fb
LL
11595 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11596 Remove.
11597
11598 * nxml/rng-valid.el (rng-validate-mode)
11599 (rng-after-change-function, rng-do-some-validation):
11600 * nxml/rng-maint.el (rng-validate-buffer):
11601 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11602 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11603 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11604 (nxml-extend-after-change-region): Use with-silent-modifications.
11605
a320a2db
LL
11606 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11607 timer-idle-list.
11608
11609 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11610 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11611 timer-idle-list. (Bug#13999)
11612
e38e6780
JL
116132013-03-23 Juri Linkov <juri@jurta.org>
11614
11615 * info.el (info-index-match): New face.
11616 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11617 main pattern and add text properties with the new face to matches
11618 in index entries relative to the beginning of the index entry.
11619 (Bug#14015)
11620
e8cc7880
DE
116212013-03-21 Eric Ludlam <zappo@gnu.org>
11622
11623 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11624 Inhibit read only while inserting objects.
11625
9bb0d822
TZ
116262013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11627
11628 * progmodes/cfengine.el: Update docs to mention
11629 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11630 symbol motion. Remove "_" from the word syntax.
11631
aa703640
TZ
116322013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11633
11634 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11635 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11636
afff09d0
JL
116372013-03-20 Juri Linkov <juri@jurta.org>
11638
11639 * info.el (Info-next-reference-or-link)
11640 (Info-prev-reference-or-link): New functions.
11641 (Info-next-reference, Info-prev-reference): Use them.
11642 (Info-try-follow-nearest-node): Handle footnote navigation.
11643 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11644
9a1ff164
SM
116452013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11646
11647 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11648 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11649
2667d15d
PE
116502013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11651
11652 Suppress unnecessary non-ASCII chatter during build process.
11653 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11654 (batch-skkdic-convert): Suppress most of the chatter.
11655 It's not needed so much now that machines are faster,
11656 and its non-ASCII component was confusing; see Dmitry Gutov in
11657 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11658
438b0579
LL
116592013-03-20 Leo Liu <sdl.web@gmail.com>
11660
11661 * ido.el (ido-chop): Fix bug#10994.
11662
c128ab07
DG
116632013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11664
11665 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11666 Remove vars.
9a1ff164
SM
11667 (whitespace-color-on, whitespace-color-off):
11668 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11669
0e6008c5
SM
116702013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11671
11672 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11673 remapping in mode-line.
11674 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11675
627b52b0
DG
116762013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11677
11678 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11679 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11680 (whitespace-font-lock-keywords): Change description.
11681 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11682 the constructed keywords instead.
11683 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11684
50c3a20b
LL
116852013-03-19 Leo Liu <sdl.web@gmail.com>
11686
11687 * progmodes/compile.el (compilation-display-error): New command.
11688 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11689 C-o. (Bug#13992)
11690
2aa2157b
PE
116912013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11692
11693 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11694
e477dbfa
JD
116952013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11696
11697 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11698
64ab82d1
MA
116992013-03-18 Michael Albinus <michael.albinus@gmx.de>
11700
11701 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11702
11703 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11704 * net/tramp-gvfs.el (top):
11705 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11706 (tramp-handle-shell-command): Use it.
11707 (tramp-dissect-file-name): Raise an error when hostname is a
11708 method name, and neither method nor user is specified.
11709
11710 * net/trampver.el: Update release number.
11711
33cef733
LL
117122013-03-18 Leo Liu <sdl.web@gmail.com>
11713
11714 Make sure eldoc can be turned off properly.
11715 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11716 eldoc-mode.
11717 (eldoc-display-message-p): Revert last change.
11718 (eldoc-display-message-no-interference-p)
11719 (eldoc-print-current-symbol-info): Tweak.
11720
2167b7b2
TH
117212013-03-18 Tassilo Horn <tsdh@gnu.org>
11722
11723 * doc-view.el (doc-view-new-window-function): Check the new window
11724 overlay's display property instead the char property of the
11725 buffer's first char. Use `with-selected-window' instead of
11726 `save-window-excursion' with `select-window'.
11727 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11728 display property instead the char property of the buffer's first char.
2167b7b2 11729
982efbcd
PE
117302013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11731
11732 Automate the build of ja-dic.el (Bug#13984).
11733 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11734 from the input, rather than assume that it's been done for us by the
11735 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11736 the current date into a ja-dic.el comment, as that complicates
11737 regression testing.
11738
2fcc7665
SM
117392013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11740
11741 * whitespace.el: Fix double evaluation.
11742 (whitespace-space, whitespace-hspace, whitespace-tab)
11743 (whitespace-newline, whitespace-trailing, whitespace-line)
11744 (whitespace-space-before-tab, whitespace-indentation)
11745 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11746 obsolete defvars.
11747 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11748 (whitespace-color-on): Use a single font-lock-add-keywords call.
11749 Fix double-evaluation of face variables.
11750
67c0a6e6
MA
117512013-03-17 Michael Albinus <michael.albinus@gmx.de>
11752
2fcc7665
SM
11753 * net/tramp-adb.el (tramp-adb-parse-device-names):
11754 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11755 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11756
69489f1d
LL
117572013-03-17 Leo Liu <sdl.web@gmail.com>
11758
11759 Extend eldoc to display info in the mode-line. (Bug#13978)
11760 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11761 (eldoc-mode-line-string): New variable.
11762 (eldoc-minibuffer-message): New function.
11763 (eldoc-message-function): New variable.
11764 (eldoc-message): Use it.
11765 (eldoc-display-message-p)
2fcc7665
SM
11766 (eldoc-display-message-no-interference-p):
11767 Support eldoc-post-insert-mode.
69489f1d
LL
11768
11769 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11770 (eval-expression): Run it.
11771
9c44569e
RW
117722013-03-17 Roland Winkler <winkler@gnu.org>
11773
11774 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11775 strings in the list of return values.
11776
327f1f6f
JB
117772013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11778
11779 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11780 radix before checking for HMS forms.
11781
67ed8fcd
LL
117822013-03-16 Leo Liu <sdl.web@gmail.com>
11783
11784 * progmodes/scheme.el: Add indentation and font-locking for λ.
11785 (Bug#13975)
11786
78be8b64 117872013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11788
11789 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11790 token before point (bug#13942).
11791
78be8b64 117922013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11793
95b43468 11794 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11795
98e775e6
EZ
117962013-03-16 Eli Zaretskii <eliz@gnu.org>
11797
11798 * startup.el (command-line-normalize-file-name): Fix handling of
11799 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11800 <xfq.free@gmail.com> in
11801 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11802
2edd6029
MA
118032013-03-15 Michael Albinus <michael.albinus@gmx.de>
11804
11805 Sync with Tramp 2.2.7.
11806
11807 * net/trampver.el: Update release number.
11808
d35f5864
TH
118092013-03-14 Tassilo Horn <tsdh@gnu.org>
11810
e903c210 11811 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11812 (doc-view-insert-image): Don't modify overlay associated to
11813 non-live windows, and implement horizontal centering of image in
11814 case it's smaller than the window.
11815 (doc-view-new-window-function): Force redisplay of new windows on
11816 doc-view buffers.
d35f5864 11817
1c4a85ed
KF
118182013-03-13 Karl Fogel <kfogel@red-bean.com>
11819
11820 * saveplace.el (save-place-alist-to-file): Don't sort
11821 `save-place-alist', just pretty-print it (bug#13882).
11822
85b66a21
MA
118232013-03-13 Michael Albinus <michael.albinus@gmx.de>
11824
a020afb9
JB
11825 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11826 Check whether `default-file-name-coding-system' is bound.
11827 It isn't in XEmacs.
85b66a21 11828
175600da
SM
118292013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11830
e7f7cb1a
SM
11831 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11832 backquotes for `obsolete' (bug#13929).
11833
175600da
SM
11834 * international/mule.el (find-auto-coding): Include file name in
11835 obsolescence warning (bug#13922).
11836
ca68a22e
TZ
118372013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11838
11839 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11840 for CFEngine 3-specific indentation.
11841 (cfengine3-indent-line): Use it. Fix up category regex.
11842 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11843
940e5099
SM
118442013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11845
11846 * type-break.el (type-break-file-name):
11847 * textmodes/remember.el (remember-data-file):
11848 * strokes.el (strokes-file):
11849 * shadowfile.el (shadow-initialize):
11850 * saveplace.el (save-place-file):
11851 * ps-bdf.el (bdf-cache-file):
11852 * progmodes/idlwave.el (idlwave-config-directory):
11853 * net/quickurl.el (quickurl-url-file):
11854 * international/kkc.el (kkc-init-file-name):
11855 * ido.el (ido-save-directory-list-file):
11856 * emulation/viper.el (viper-custom-file-name):
11857 * emulation/vip.el (vip-startup-file):
11858 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11859 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11860
cc725808
PE
118612013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11862
11863 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11864 * language/thai-word.el: Switch to UTF-8.
11865
a020afb9 11866See ChangeLog.16 for earlier changes.
e3d51b27
MR
11867
11868;; Local Variables:
11869;; coding: utf-8
e3d51b27
MR
11870;; End:
11871
ba318903 11872 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
11873
11874 This file is part of GNU Emacs.
11875
11876 GNU Emacs is free software: you can redistribute it and/or modify
11877 it under the terms of the GNU General Public License as published by
11878 the Free Software Foundation, either version 3 of the License, or
11879 (at your option) any later version.
11880
11881 GNU Emacs is distributed in the hope that it will be useful,
11882 but WITHOUT ANY WARRANTY; without even the implied warranty of
11883 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11884 GNU General Public License for more details.
11885
11886 You should have received a copy of the GNU General Public License
11887 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.