Fix defun navigation in vc log view.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
bf6a77f3
DC
12014-01-06 Daniel Colascione <dancol@dancol.org>
2
3 Fix defun navigation in vc log view.
4
5 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
6 like `beginning-of-defun'.
7 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
8 log-view-end-of-defun to log-view-end-of-defun-1. Replace
9 log-view-end-of-defun with wrapper that behaves like
10 `end-of-defun'.
11 (log-view-extract-comment): Call `log-view-current-entry' directly
12 instead of relying on broken `log-view-beginning-of-defun'
13 behavior.
14
d5081c1e
PE
152014-01-06 Paul Eggert <eggert@cs.ucla.edu>
16
17 Spelling fixes.
18 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
19 * emacs-lisp/debug.el (cancel-debug-on-entry):
20 * epg.el (epg-error-to-string):
21 * files.el (recover-file):
22 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
23 * mail/emacsbug.el (report-emacs-bug-hook):
24 * mail/sendmail.el (mail-recover):
25 * ses.el (ses-yank-resize):
26 * term/ns-win.el (ns-print-buffer):
27 Spelling fixes in diagnostics, mostly for "canceled" with one L.
28 * epg.el (epg-key-capability-alist): Rename from misspelled version.
29 All uses changed.
30 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
31
53f6b148
LL
322014-01-06 Leo Liu <sdl.web@gmail.com>
33
34 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
35 to avoid shadowning global key. (Bug#16354)
36
b82ace2f
DC
372014-01-06 Daniel Colascione <dancol@dancol.org>
38
39 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
40 rst-mode.
41
3669b636
MR
422014-01-05 Martin Rudalics <rudalics@gmx.at>
43
44 * window.el (balance-windows): Add mising t to fix Bug#16351.
45
1a29adc2
LMI
462014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
47
48 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
49 (bug#16285).
3d95a0f4
LMI
50 (shr-insert): If we have a word that's longer than `shr-width',
51 break after it anyway. Otherwise we'll do no breaking once we get
52 such a long word.
1a29adc2 53
f4018140
KN
542014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
55
189340f5
KN
56 * net/eww.el (eww): Support single/double quote for search.
57 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
58 (eww-history-quit): Delete and use quit-window.
59 (eww-history-kill): Delete, because it doesn't work well and
60 not necessary.
61 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 62
4e619754
PE
632014-01-05 Paul Eggert <eggert@cs.ucla.edu>
64
73dbf960
PE
65 Fix misspelling of 'chinese' in rx (Bug#16237).
66 * emacs-lisp/rx.el (rx-categories): Correct spelling of
67 chinese-two-byte.
68
4e619754
PE
69 Change subword regexps back to vars (Bug#16296).
70 * progmodes/subword.el (subword-forward-regexp)
71 (subword-backward-regexp): Change these back to variables.
72
e18b70fc
SM
732014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
74
75 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
76 syntax-begin-function (bug#16247).
77
0d53f628
CY
782014-01-03 Chong Yidong <cyd@gnu.org>
79
80 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
81 (advice--docstring): Delete variable.
82 (advice--make-1): Leave the docstring empty.
83 (advice-add): Use function-documentation for advised docstring.
84
85 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
86 Ignore function-documentation property when getting documentation.
87 (ad-activate-advised-definition): Use function-documentation
88 generate the docstring.
89 (ad-make-advised-definition): Don't call
90 ad-make-advised-definition-docstring.
91 (ad-make-advised-definition-docstring, ad-advised-definition-p):
92 Delete functions.
93
94 * progmodes/sql.el (sql-help): Use function-documentation instead
95 of dynamic-docstring-function property. No need to autoload now.
96 (sql--help-docstring): New variable.
97 (sql--make-help-docstring): Use it.
98
6f547583
SM
992014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
100
6ef9aed8
SM
101 * ielm.el (ielm-tab): Retarget.
102 (ielm-map): Use ielm-tab for tab.
103 (ielm-complete-filename): Use comint-filename-completion.
104 (ielm-complete-symbol): Remove.
105 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
106 remove ielm-tab from completion-at-point-functions (bug#16224).
107
6f547583
SM
108 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
109 Beware signals raised by predicates (bug#16201).
110
a574edbe
RS
1112014-01-02 Richard Stallman <rms@gnu.org>
112
e831604d
RS
113 * dired-aux.el (dired-do-print): Handle printer-name.
114
6f547583
SM
115 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
116 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
117 (rmail-epa-decrypt): Turn off mime processing.
118
119 * mail/rmail.el (rmail-make-in-reply-to-field):
120 Add parens in message-id.
121
122 * mail/rmail.el (rmail-get-coding-function): Variable.
123 (rmail-get-coding-system): Use it.
124
04311a16
KH
1252013-12-31 Eli Zaretskii <eliz@gnu.org>
126
127 * international/mule-conf.el: Unify the charset indian-is13194.
128 (indian-is13194): Specify unify-map.
129
c8d89778
LL
1302013-12-31 Leo Liu <sdl.web@gmail.com>
131
132 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
133
e63ace37
DC
1342013-12-30 Daniel Colascione <dancol@dancol.org>
135
9e0bf19a
DC
136 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
137 of printing a useless when we resume from sleep.
138
e63ace37
DC
139 * progmodes/sh-script.el
140 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
141 in indentation code. (Bug#16233)
142
e9d6c46a
JT
1432013-12-28 João Távora <joaotavora@gmail.com>
144
6f547583
SM
145 * elec-pair.el (electric-pair-post-self-insert-function):
146 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 147
bf7bea5d
EZ
1482013-12-28 Eli Zaretskii <eliz@gnu.org>
149
150 * frame.el (window-system-for-display): Don't allow to create a
151 GUI frame from a -nw session on MS-Windows. (Bug#14739)
152
8449dd1f
GM
1532013-12-28 Glenn Morris <rgm@gnu.org>
154
9c5a5c77
GM
155 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
156 Update callers.
157
158 * apropos.el (apropos-match-face):
159 * calculator.el (calculator-displayer):
160 * dabbrev.el (dabbrev-search-these-buffers-only):
161 * face-remap.el (buffer-face-mode-face):
162 * simple.el (yank-handled-properties):
163 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
164 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
165 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
166 (hashcash-double-spend-database):
167 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
168 (ruby-deep-indent-paren-style):
169 * textmodes/flyspell.el (flyspell-auto-correct-binding):
170 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
171 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
172 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
173 Specify custom types.
174
bb098075
GM
175 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
176 * bookmark.el (bookmark-bmenu-use-header-line):
177 * doc-view.el (doc-view-scale-internally):
178 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
179 * register.el (register-preview-delay):
180 * net/shr.el (shr-bullet):
181 * progmodes/cfengine.el (cfengine-cf-promises)
182 (cfengine-parameters-indent):
183 * progmodes/octave.el (inferior-octave-error-regexp-alist):
184 * textmodes/reftex-vars.el (reftex-label-regexps):
185 * vc/log-edit.el (log-edit-setup-add-author): Add version.
186
9c61f806
GM
187 * net/tls.el (tls-certtool-program): Fix default value.
188
189 * desktop.el (desktop-restore-in-current-display):
190 * newcomment.el (comment-empty-lines):
191 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
192 (idlwave-pad-keyword):
193 * progmodes/tcl.el (tcl-tab-always-indent):
194 * textmodes/reftex-vars.el (reftex-index-default-tag):
195 * elec-pair.el (electric-pair-skip-whitespace):
196 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
197
8449dd1f
GM
198 * emacs-lisp/authors.el (authors-ignored-files)
199 (authors-valid-file-names, authors-renamed-files-alist): Additions.
200
fdadeb49
JC
2012013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
202
72140a0f
GM
203 * shell.el (shell-dynamic-complete-command): Doc fix.
204 (shell--command-completion-data): Shell completion now matches
205 executable filenames from the current buffer's directory, on
da5ecfa9 206 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 207
e572a7d8
LI
2082013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
209
210 * net/shr.el (shr-insert): Don't infloop if the width is zero.
211
7514d3f8
SM
2122013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
213
a4151f3b
SM
214 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
215 (bug#16251).
216
7514d3f8
SM
217 * electric.el: Move all electric-pair-* to elec-pair.el.
218 * elec-pair.el: New file, split from electric.el.
219
ac5758d1
LI
2202013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
221
222 * net/shr.el (shr-find-fill-point): Don't try to fill if the
223 indentation level is larger than the width, because that will
224 infloop.
225 (shr-insert): Fill repeatedly long texts, so that Japanese is
226 formatted correctly (bug#16263).
24a6b65e
LI
227 (shr-find-fill-point): Off by one error in comparison with the
228 indentation.
ac5758d1 229
7514d3f8 2302013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
231
232 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 233 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
234 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
235 if that keeps or improves their balance in buffers.
236 (electric-pair-delete-adjacent-pairs): Delete the pair when
237 backspacing over adjacent matched delimiters.
238 (electric-pair-open-extra-newline): Open extra newline when
239 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
240 (electric--sort-post-self-insertion-hook):
241 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
242 minor-modes are activated.
243 * simple.el (newline-and-indent): Call newline with interactive
244 set to t.
245 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
246 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
247 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
248 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
249 electric-pair-open-newline-between-pairs to nil.
250
fbcc63a3
FEG
2512013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
252
253 * progmodes/python.el: Use lexical-binding.
254 (python-nav-beginning-of-defun): Stop searching ASAP.
255
ed78d16c
XF
2562013-12-25 Xue Fuqiao <xfq.free@gmail.com>
257
258 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
259 Fix interactive spec. Doc fix. (Bug#15754)
260
38b2c142
KY
2612013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
262
263 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 264 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
265 Fix edebug spec (bug#16184).
266
3c856c14
LI
2672013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
268
83fa295c 269 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
270 (shr-insert): Don't infloop if we can't find a good place to break
271 the line (bug#16256).
3c856c14 272
01379221
FEG
2732013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
274
275 * progmodes/python.el:
276 (python-nav--lisp-forward-sexp): New function.
277 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
278 python-nav-lisp-forward-sexp-safe.
279 (python-nav--forward-sexp): New argument SAFE allows switching
280 forward sexp movement behavior for parens.
281 (python-nav-forward-sexp): Throw errors on unterminated parens
282 (Bug#16191).
283 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
284 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
285 (python-shell-buffer-substring):
286 Use `python-nav-forward-sexp-safe'.
01379221 287
99e4926f
LI
2882013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
289
290 * net/shr.el (shr-find-fill-point): Don't break lines before a
291 quotation mark.
c6c20584
LI
292 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
293 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 294 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 295
fec0e828
KN
2962013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
297
298 * net/eww.el (eww-form-textarea): Use a different face for
299 textareas than text input since they have different keymaps
300 (bug#16142).
301
89c868ad
FEG
3022013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
303
7514d3f8
SM
304 * progmodes/python.el (python-nav-beginning-of-statement):
305 Speed up (Bug#15295).
89c868ad 306
eeef121a
LI
3072013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
308
309 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
310 the window configuration.
311
121ea65f
EZ
3122013-12-24 Eli Zaretskii <eliz@gnu.org>
313
314 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
315 we run on MS-Windows or MS-DOS.
316
18cee9ec
MR
3172013-12-24 Martin Rudalics <rudalics@gmx.at>
318
319 * window.el (balance-windows-area): Call window-size instead of
320 window-height and window-width. Bug#16241.
321
58f2b9a5
LI
3222013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
323
324 * net/eww.el (eww-bookmark-quit): Remove.
325 (eww-bookmark-browse): Restore the window configuration when you
326 choose a bookmark (bug#16144).
327
d64b6308
DC
3282013-12-24 Daniel Colascione <dancol@dancol.org>
329
330 * icomplete.el: Remove redundant :group arguments to `defcustom'
331 throughout.
332 (icomplete-show-matches-on-no-input): New customizable variable.
333 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
334 we have something to show.
7514d3f8 335 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 336
0da54898
DC
3372013-12-23 Daniel Colascione <dancol@dancol.org>
338
339 * icomplete.el: Move `provide' to end of file.
340
b90aa4f4
TZ
3412013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
342
343 * net/gnutls.el (gnutls-verify-error): Add version tag.
344
8cd22a08
CY
3452013-12-23 Chong Yidong <cyd@gnu.org>
346
347 * subr.el (set-transient-map): Rename from
348 set-temporary-overlay-map. Doc fix.
349
350 * face-remap.el (text-scale-adjust):
351 * indent.el (indent-rigidly):
352 * kmacro.el (kmacro-call-macro):
353 * minibuffer.el (minibuffer-force-complete):
354 * repeat.el (repeat):
355 * simple.el (universal-argument--mode):
356 * calendar/todo-mode.el (todo-insert-item--next-param):
357 * progmodes/f90.el (f90-abbrev-start): Callers changed.
358
7510b021
CY
359 * indent.el (indent-rigidly): Use substitute-command-keys.
360
72140a0f 3612013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
362
363 * net/eww.el (eww-tag-select): Add text-property to jump to next
364 select field.
e9dc713d 365 (eww): Add non-supported ftp error.
56890ecd 366
1f87a56c
DG
3672013-12-22 Dmitry Gutov <dgutov@yandex.ru>
368
369 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
370 comments. Handle electric indent after typing `?' and `!'.
371
dca38cf9
CY
3722013-12-22 Chong Yidong <cyd@gnu.org>
373
374 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
375 applicable to a frame, fall back on the defface spec.
376 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 377
f2351498
DG
3782013-12-22 Dmitry Gutov <dgutov@yandex.ru>
379
380 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
381 after `{'. We need it after block openers, and it doesn't seem
382 to hurt after hash openers.
383
6cddebc1
DG
3842013-12-22 Dmitry Gutov <dgutov@yandex.ru>
385
386 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
387 extracted from `ruby-smie-rules'.
388 (ruby--electric-indent-chars): New variable.
389 (ruby--electric-indent-p): New function.
390 (ruby-mode): Use `electric-indent-functions' instead of
391 `electric-indent-chars'.
392
65a1da00
DG
3932013-12-22 Dmitry Gutov <dgutov@yandex.ru>
394
395 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
396 docstring.
397 (ruby-smie-rules): Indent plus one level after `=>'.
398
b51ad4cf
RS
3992013-12-21 Richard Stallman <rms@gnu.org>
400
401 * simple.el (newline): Doc fix.
402
72140a0f 4032013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 404
e9dc713d 405 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
406 (eww-history-browse, eww-history-quit, eww-history-kill)
407 (eww-history-mode-map, eww-history-mode): New command and
408 functions to list browser histories.
e9dc713d
JB
409 (eww-form-text): Support text form with disabled
410 and readonly attributes.
411 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 412
5e1901c1
RS
4132013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
414
415 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
416 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
417 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
418 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
419 Use `user-error'.
420 (eww-bookmark-mode-map): Add menu.
421 (eww-render, eww-mode): Use `setq-local'.
422 (eww-tool-bar-map): New variable.
423 (eww-mode): Set `tool-bar-map'.
424 (eww-view-source): Check for `html-mode' with `fboundp'.
425
073d5cfd
LMI
4262013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
427
428 * net/shr.el (shr--extract-best-source): Don't bug out on audio
429 elements with text inside. Also remove debugging.
430
41cf3d11
JD
4312013-12-21 Jan Djärv <jan.h.d@swipnet.se>
432
433 * cus-start.el (all): Add ns-use-srgb-colorspace.
434
aac2b673
CY
4352013-12-21 Chong Yidong <cyd@gnu.org>
436
437 * custom.el (custom-theme-recalc-face): Do nothing if the face is
438 undefined. Thus, theme settings for undefined faces do not take
439 effect until the faces are defined with defface, the same as with
440 theme variables.
441
442 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
443 (face-spec-reset-face): Don't assign extra properties in temacs.
444 (face-spec-recalc): Apply X resources too.
445
bacb0e77
CY
4462013-12-21 Chong Yidong <cyd@gnu.org>
447
448 * faces.el (face-spec-set):
449 * cus-face.el (custom-theme-set-faces, custom-set-faces):
450 * custom.el (defface): Doc fixes (Bug#16203).
451
77221051
CY
452 * indent.el (indent-rigidly-map): Add docstring, and move commands
453 into named functions.
454 (indent-rigidly-left, indent-rigidly-right)
455 (indent-rigidly-left-to-tab-stop)
456 (indent-rigidly-right-to-tab-stop): New functions. Decide on
457 indentation direction based on bidi direction, and accumulate
458 sequential commands in a single undo boundary.
459 (indent-rigidly--pop-undo): New utility function.
460
e0eb0550
JB
4612013-12-20 Juanma Barranquero <lekktu@gmail.com>
462
463 * faces.el (read-face-name): Require crm.el when using crm-separator.
464
3282bd2e
DC
4652013-12-20 Daniel Colascione <dancol@dancol.org>
466
467 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
468 so that we don't reflow comments into the shebang line.
469
1d42e5b6
JL
4702013-12-20 Juri Linkov <juri@jurta.org>
471
472 * saveplace.el (save-place-to-alist): Add `dired-filename' as
473 a position when `dired-directory' is non-nil. Check integer
474 positions with `integerp'.
475 (toggle-save-place, save-places-to-alist): Add check for
476 `dired-directory'.
477 (save-place-find-file-hook): Check integer positions with
478 `integerp'.
479 (save-place-dired-hook): Use `dired-goto-file' when
480 `dired-filename' is found in the assoc list. Check integer
481 positions with `integerp'.
482 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
483
484 * dired.el (dired-initial-position-hook): Rename back from
485 `dired-initial-point-hook'.
486 (dired-initial-position): Rename `dired-initial-point-hook' to
487 `dired-initial-position-hook'.
488 (dired-file-name-at-point): Doc fix. (Bug#15329)
489
24da7273
JL
4902013-12-20 Juri Linkov <juri@jurta.org>
491
492 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
493 (read-regexp-suggestions): New function.
494 (read-regexp): Use `read-regexp-defaults-function' to get default values.
495 Use `read-regexp-suggestions'. Add non-empty default to history
496 for empty input.
497 (occur-read-regexp-defaults-function): Remove function.
498 (occur-read-primary-args): Use `regexp-history-last' instead of
499 `occur-read-regexp-defaults-function'.
500
501 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
502 (hi-lock-line-face-buffer, hi-lock-face-buffer)
503 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
504 `hi-lock-read-regexp-defaults-function'. Doc fix.
505 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
506 with `find-tag-default-as-symbol-regexp'. Doc fix.
507 (hi-lock-read-regexp-defaults): Remove function.
508 (hi-lock-regexp-okay): Add check for null.
509
510 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
511 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
512
513 * subr.el (find-tag-default-as-symbol-regexp): New function.
514 (find-tag-default-as-regexp): Move symbol regexp formatting to
515 `find-tag-default-as-symbol-regexp'.
516
137f57c8
S
5172013-12-20 E Sabof <esabof@gmail.com> (tiny change)
518
519 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
520 (Bug#14179)
521
f3a66082
SB
5222013-12-20 Stephen Berman <stephen.berman@gmx.net>
523
524 * calendar/todo-mode.el: New implementation of item insertion
525 commands and key bindings.
526 (todo-key-prompt): New face.
527 (todo-insert-item): New command.
528 (todo-insert-item--parameters): New defconst, replacing defvar
529 todo-insertion-commands-args-genlist.
530 (todo-insert-item--param-key-alist): New defconst, replacing
531 defvar todo-insertion-commands-arg-key-list.
532 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
533 (todo-insert-item--argsleft, todo-insert-item--apply-args)
534 (todo-insert-item--next-param): New functions.
535 (todo-insert-item--args, todo-insert-item--argleft)
536 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
537 New variables.
538 (todo-key-bindings-t): Change binding of "i" from
539 todo-insertion-map to todo-insert-item.
540 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
541 (todo-insertion-command-name, todo-insertion-commands-names)
542 (todo-define-insertion-command, todo-insertion-commands)
543 (todo-insertion-key-bindings, todo-insertion-map): Remove.
544
2f99433b
SB
5452013-12-20 Stephen Berman <stephen.berman@gmx.net>
546
547 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
548 (todo-toggle-item-highlighting): Use eval-and-compile instead of
549 eval-when-compile.
550 (todo-move-category): Allow choosing a non-existing todo file to
551 move the category to, and create that file.
552 (todo-default-priority): New user option.
553 (todo-set-item-priority): Use it.
554 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
555 (desktop-restore-file-buffer): Declare.
556 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
557 (todo-modes-set-2): Locally set desktop-save-buffer to
558 todo-desktop-save-buffer.
559 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
560 (auto-mode-alist): Add autoload cookie.
561
131e4695
BB
5622013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
563
564 * emacs-lisp/subr-x.el: Renamed from helpers.el.
565 helpers.el was a poor choice of name.
3cbfb935
BB
566 (string-remove-prefix): New function.
567 (string-remove-suffix): New function.
131e4695 568
c44de18d
MR
5692013-12-20 Martin Rudalics <rudalics@gmx.at>
570
571 Fix assignment for new window total sizes.
572 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
573 (window--pixel-to-total-1, window--pixel-to-total):
574 Fix calculation of new total sizes.
c44de18d 575
ca65efcc
VS
5762013-12-20 Vitalie Spinu <spinuvit@gmail.com>
577
578 * comint.el (comint-output-filter): Fix rear-nonsticky property
579 placement (Bug#16010).
580
a9574eb7
CY
5812013-12-20 Chong Yidong <cyd@gnu.org>
582
583 * faces.el (read-color): Minor fix for completion function.
584
b520f210
DG
5852013-12-20 Dmitry Gutov <dgutov@yandex.ru>
586
e0eb0550
JB
587 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
588 New option. (Bug#16182)
b520f210
DG
589 (ruby-smie--indent-to-stmt-p): Use it.
590 (ruby-smie-rules): Revert the logic in the handling of `when'.
591 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
592 (ruby-deep-arglist, ruby-deep-indent-paren)
593 (ruby-deep-indent-paren-style): Update docstrings to note that the
594 vars don't have any effect with SMIE.
595
26b75b45
JB
5962013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
597
598 * calc/calc.el (calc-enter, calc-pop): Use the variable
599 `calc-context-sensitive-enter'.
600
cf91cee7
LMI
6012013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
602
603 * net/shr.el (shr-insert): Protect against infloops in degenerate
604 tables.
605
51d971b4
RS
6062013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
607
608 * progmodes/octave.el (octave): Add link to manual and octave
609 homepage.
610 (octave-mode-menu): Link to octave-mode manual.
611
8c2e462a
LL
6122013-12-20 Leo Liu <sdl.web@gmail.com>
613
614 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
615 insertion using skeleton-end-newline. (Bug#16138)
616
501158bc
JL
6172013-12-20 Juri Linkov <juri@jurta.org>
618
619 * replace.el (occur-engine): Use `add-face-text-property'
620 to add the face property to matches and titles. (Bug#14645)
621
622 * hi-lock.el (hi-green): Use lighter color "light green" closer to
623 the palette of other hi-lock colors.
624 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
625
50ab1da6
JL
6262013-12-19 Juri Linkov <juri@jurta.org>
627
628 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
629 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
630 (minibuffer-history-symbol): Move variable declaration closer to
631 its usage.
632
633 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
634 (Bug#14785)
635
3d6e95e7
JL
6362013-12-19 Juri Linkov <juri@jurta.org>
637
638 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
639 New function.
640 (log-edit-hook): Add it to :options. (Bug#16170)
641
b41594fd
JL
6422013-12-19 Juri Linkov <juri@jurta.org>
643
644 * simple.el (eval-expression-print-format): Don't check for
645 command names and the last command. Always display additional
646 formats of the integer result in the echo area, and insert them
647 to the current buffer only with a zero prefix arg.
648 Display character when char-displayable-p is non-nil.
649 (eval-expression): With a zero prefix arg, set `print-length' and
650 `print-level' to nil, and insert the integer values from
651 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
652
653 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
654 `eval-last-sexp-arg-internal'. Doc fix.
655 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
656 `eval-last-sexp-print-value'. Doc fix.
657 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
658 Set `print-length' and `print-level' to nil when arg is zero.
659 (eval-last-sexp): Doc fix.
660 (eval-defun-2): Print the integer values from
661 `eval-expression-print-format' at the end.
662
663 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
664 values from `eval-expression-print-format' at the end.
665
666 * ielm.el (ielm-eval-input): Print the integer
667 values from `eval-expression-print-format' at the end.
668
8f2be364
TZ
6692013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
670
671 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
672 2013-12-11T19:01:44Z!tzz@lifelogs.com.
673
2230a6e3
SM
6742013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
675
676 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
677 (hl-line-highlight, global-hl-line-highlight): Use it.
678 (hl-line-overlay): Use defvar-local.
679
1269a680
JD
6802013-12-19 Jan Djärv <jan.h.d@swipnet.se>
681
682 * term/ns-win.el: Require dnd.
683 (global-map): Remove drag items.
684 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
685 (ns-set-background-at-mouse):
686 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
687 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
688 New functions.
1269a680 689
049638ad
GM
6902013-12-19 Glenn Morris <rgm@gnu.org>
691
692 * emacs-lisp/ert.el (ert-select-tests):
693 Fix string/symbol mixup. (Bug#16121)
694
ce41edb4
DG
6952013-12-19 Dmitry Gutov <dgutov@yandex.ru>
696
697 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
698 keywords to their parent.
699
7e1549c9
DG
7002013-12-19 Dmitry Gutov <dgutov@yandex.ru>
701
702 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
703 first arg to be a string (fixed dead code), or an operator symbol.
704 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
705 operator symbols.
706 (ruby-smie-rules): Remove parent token check in the `.' clause, it
707 did nothing. Don't respond to `(:after ".")', it will be called
708 with :before anyway. Remove the ` @ ' rule, it didn't seem to
709 change anything. Only return indentation for binary operators
710 when they are hanging. De-dent opening paren when its parent is
711 `.', otherwise it looks bad when the dot is not at bol or eol
712 (bug#16182).
713
3ee4cd64
JL
7142013-12-19 Juri Linkov <juri@jurta.org>
715
716 * replace.el (query-replace-read-args): Split a non-negative arg
717 and a negative arg into separate elements.
718 (query-replace, query-replace-regexp, replace-string)
719 (replace-regexp): Add arg `backward'. Doc fix.
720 (replace-match-maybe-edit): When new arg `backward' is non-nil,
721 move point to the beginning of the match.
722 (replace-search, replace-highlight): Use new arg `backward'
723 to set the value of `isearch-forward'.
724 (perform-replace): Add arg `backward' and use it to perform
725 replacement backward. (Bug#14979)
726
727 * isearch.el (isearch-query-replace): Use a negative prefix arg
728 to call `perform-replace' with a non-nil arg `backward'.
729
0cda6b7b
JL
7302013-12-18 Juri Linkov <juri@jurta.org>
731
732 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
733 to the default list. Move `log-edit-show-files' to the end.
734 Add more available functions to options.
735 (log-edit): Move default specific settings to
736 `log-edit-insert-message-template'. Don't move point.
737 (log-edit-insert-message-template): New function.
738 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
739 (Bug#16170)
740
b216f0a6
JL
7412013-12-18 Juri Linkov <juri@jurta.org>
742
743 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
744 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
745
1d1c55dc
LL
7462013-12-18 Leo Liu <sdl.web@gmail.com>
747
e9dc713d
JB
748 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
749 (Bug#16186)
1d1c55dc 750
64e4c76e
EZ
7512013-12-18 Eli Zaretskii <eliz@gnu.org>
752
753 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
754 formats for displaying file sizes when the -s switch is given.
755 Instead, compute a separate format for displaying the size in
756 blocks, which is displayed in addition to the "regular" size.
757 When -h is given in addition to -s, produce size in blocks in
758 human-readable form as well. (Bug#16179)
759
b2984e39
TH
7602013-12-18 Tassilo Horn <tsdh@gnu.org>
761
2230a6e3
SM
762 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
763 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 764
50ff2e06
CY
7652013-12-18 Chong Yidong <cyd@gnu.org>
766
0081bc84
CY
767 * cus-edit.el (custom-magic-alist): Fix "themed" description
768 (Bug#14348).
769
a7ee9424
CY
770 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
771 is non-nil, do not create a new entry in the symbol's theme-value
772 or theme-face property; update theme-settings only (Bug#14664).
18874304 773 (custom-available-themes): Doc fix.
a7ee9424 774
8f942537
CY
775 * cus-theme.el (custom-new-theme-mode-map): Add bindings
776 (Bug#15674).
777
50ff2e06
CY
778 * replace.el (occur-engine): Avoid infloop (Bug#7593).
779
83c60f60
KI
7802013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
781
782 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
783 (Bug#13914).
784
e0eb0550 7852013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
786
787 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
788
1f41ee56
GM
7892013-12-18 Glenn Morris <rgm@gnu.org>
790
791 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 792 * cus-start.el (load-prefer-newer): New option.
1f41ee56 793
e82134b1
LW
7942013-12-18 Le Wang <l26wang@gmail.com>
795
2230a6e3
SM
796 * comint.el (comint-previous-matching-input-from-input):
797 Retain point (Bug#13404).
e82134b1 798
33f5d4c1
CY
7992013-12-18 Chong Yidong <cyd@gnu.org>
800
801 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
802
ccc9f6dc
GM
8032013-12-18 Glenn Morris <rgm@gnu.org>
804
805 * mail/emacsbug.el (report-emacs-bug):
806 Only mention enable-multibyte-characters if non-standard.
807
33dd8e95
JL
8082013-12-17 Juri Linkov <juri@jurta.org>
809
810 * arc-mode.el (archive-extract-by-file): Check if directory exists
811 before deletion to not show irrelevant errors if it doesn't exist.
812
7a409b30
JL
8132013-12-17 Juri Linkov <juri@jurta.org>
814
815 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
816 (Bug#14751)
817
818 * net/eww.el (browse-web): Add alias to `eww'.
819 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
820 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
821
822 * net/browse-url.el (browse-url-browser-function): Move `eww'
823 closer to similar functions.
824
825 * startup.el (fancy-startup-screen, fancy-about-screen):
826 Set browse-url-browser-function to eww-browse-url locally.
827 (Bug#14751)
828
2d6b6005
SM
8292013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
830
831 * window.el (window--pixel-to-total): Remove unused `mini' var.
832 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
833 (split-window): Remove unused `new' var.
834 (window--display-buffer): Remove unused `frame' and `delta' vars.
835 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
836 and display-width'.
837
cf2b7efc
MR
8382013-12-17 Martin Rudalics <rudalics@gmx.at>
839
840 * dired.el (dired-mark-pop-up):
841 * register.el (register-preview): Don't bind
842 split-height-threshold here since it's now done in
843 display-buffer-below-selected.
844
ed3af8a7 8452013-12-17 oblique <psyberbits@gmail.com> (tiny change)
846
847 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
848 xterm-rgb-convert-to-16bit.
849 (rxvt-register-default-colors): Standardize with
850 xterm-register-default-colors (Bug#14078).
851
76da3455
DK
8522013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
853
854 * simple.el (kill-region): Pass mark first, then point, so that
855 kill-append works right (Bug#12819).
856 (copy-region-as-kill, kill-ring-save): Likewise.
857
2b84d763
LL
8582013-12-17 Leo Liu <sdl.web@gmail.com>
859
860 * net/rcirc.el (rcirc-add-face):
861 * eshell/em-prompt.el (eshell-emit-prompt):
862 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
863 (Bug#16167)
864
e2f6a0bc
CY
8652013-12-17 Chong Yidong <cyd@gnu.org>
866
867 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
868 Suggested by Xue Fuqiao.
869
35b249a6
DG
8702013-12-17 Dmitry Gutov <dgutov@yandex.ru>
871
872 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
873
e9145444
SM
8742013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
875
876 * net/shr.el (shr-insert-document): Remove unused var
877 `shr-preliminary-table-render'.
878 (shr-rescale-image): Remove unused arg `force'.
879 (shr-put-image): Update calls accordingly.
880 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
881
5556c0ce
DG
8822013-12-17 Dmitry Gutov <dgutov@yandex.ru>
883
884 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
885 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
886 :close-all, to see which indentation method to use (Bug#16116).
887 (smie-rules-function): Document the method :close-all.
888
11bade0a
LMI
8892013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
890
1c4b1e61
LMI
891 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
892
11bade0a
LMI
893 * net/eww.el (eww-display-html): If we can't find the anchor we're
894 looking for, then go to point-min.
895
8fb8c4f3
PE
8962013-12-16 Paul Eggert <eggert@cs.ucla.edu>
897
898 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
899 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
900 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
901 Expand dir too, in case it's relative.
902
6c8e0ae6
JL
9032013-12-16 Juri Linkov <juri@jurta.org>
904
905 * desktop.el (desktop-auto-save-timeout): Change default to
906 `auto-save-timeout'. Doc fix.
907 (desktop-save): Skip the timestamp in desktop-saved-frameset
908 when checking for auto-save changes.
909 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
910 `desktop-auto-save' is called repeatedly by the idle timer.
911 (desktop-auto-save-set-timer): Replace `run-with-timer' with
912 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
913 (Bug#15331)
914
2178e858
JL
9152013-12-16 Juri Linkov <juri@jurta.org>
916
917 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
918 (Bug#16035)
919 (isearch-pre-command-hook): Check `this-command' for symbolp.
920
39cb42c6
SM
9212013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
924
5b9b750a
TZ
9252013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
926
927 * progmodes/cfengine.el (cfengine3--current-word): Remove.
928 (cfengine3--current-function): Bring in the current-function
929 functionality from `cfengine3--current-word'.
930 (cfengine3-completion-function): Bring in the
931 bounds-of-current-word functionality from
932 `cfengine3--current-word'.
933
d144ef06
MR
9342013-12-16 Martin Rudalics <rudalics@gmx.at>
935
39cb42c6
SM
936 * window.el (display-buffer-below-selected):
937 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 938
a8bbe298
LL
9392013-12-16 Leo Liu <sdl.web@gmail.com>
940
941 * progmodes/compile.el (compile-goto-error): Do not push-mark.
942 Remove NOMSG arg and all uses changed.
943
2013a2f9
SM
9442013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
945
946 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
947 (cua--deactivate-rectangle): Don't deactivate the mark.
948 (cua-set-rectangle-mark): Don't set mark-active since
949 cua--activate-rectangle already does it for us.
950 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
951 non-rectangular region.
952
953 * emulation/cua-base.el (cua-repeat-replace-region):
954 Use with-current-buffer.
955
956 * net/gnutls.el: Use cl-lib.
957 (gnutls-negotiate): `mapcan' -> cl-mapcan.
958
5ae811dd
TZ
9592013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
960
961 * emacs-lisp/package.el (package-built-in-p): Support both
962 built-in and the package.el converted package descriptions.
963 (package-show-package-list): Allow keywords.
964 (package-keyword-button-action): Use it instead of
965 `finder-list-matches'.
966 (package-menu-filter-interactive): Interactive filtering (by
967 keyword) function.
968 (package-menu--generate): Support keywords and change keymappings
969 and headers when they are given.
970 (package--has-keyword-p): Helper function.
971 (package-menu--refresh): Use it.
972 (package--mapc): Helper function.
973 (package-all-keywords): Use it.
974 (package-menu-mode-map): Set up menu items and keybindings to
975 provide a filtering UI.
976
31b4827e
TZ
9772013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
978
979 * net/gnutls.el (gnutls-verify-error): New defcustom to control
980 the behavior when a certificate fails validation. Defaults to
981 old behavior: never abort, just warn.
982 (gnutls-negotiate): Use it.
983
f93cc74f
MR
9842013-12-14 Martin Rudalics <rudalics@gmx.at>
985
986 * window.el (display-buffer-below-selected): Never split window
987 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
988
f77d7d17
TW
9892013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
990
991 * emacs-lisp/package.el (package--prepare-dependencies): New function.
992 (package-buffer-info): Use it (bug#15108).
aa2bddd7 993
7514d3f8
SM
9942013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
995
aa2bddd7 996 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 997 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 998
276bc333
DG
9992013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1000
1001 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1002 open-paren tokens when preceded by a open-paren, too.
1003 (ruby-smie-rules): Handle virtual indentation after open-paren
1004 tokens specially. If there is code between it and eol, return the
1005 column where is starts (Bug#16118).
1006
d43957f3
TZ
10072013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1008
a5c1ac0c 1009 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1010 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1011 (cfengine3--current-word): Fix parameters.
1012 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1013 (cfengine3-completion-function, cfengine3--current-function):
1014 Use `assq' for symbols.
d43957f3
TZ
1015 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1016
06a4f110
GM
10172013-12-13 Glenn Morris <rgm@gnu.org>
1018
1019 * loadup.el (load-path): Warn if site-load or site-init changes it.
1020 No more need to reset it when bootstrapping.
1021
978a5fda
TZ
10222013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1023
1024 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1025 locations for cf-promises.
1026 (cfengine-mode-syntax-functions-regex): New caching variable.
1027 (cfengine3-fallback-syntax): Fallback syntax for cases where
1028 cf-promises doesn't run.
1029 (cfengine3--current-word): Reimplement using
1030 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1031 (cfengine3-completion-function, cfengine3--current-function):
1032 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1033 (cfengine3-clear-syntax-cache): New function.
1034 (cfengine3-make-syntax-cache): Simplify and create
1035 `cfengine-mode-syntax-functions-regex' on demand.
1036 (cfengine3-format-function-docstring): Don't call
1037 `cfengine3-make-syntax-cache' explicitly.
1038
71e6691e
MR
10392013-12-13 Martin Rudalics <rudalics@gmx.at>
1040
1041 Fix windmove-find-other-window broken after pixelwise resizing
1042 (Bug#16017).
1043 * windmove.el (windmove-other-window-loc): Revert change from
1044 2013-12-04.
1045 (windmove-find-other-window): Call window-in-direction.
1046 * window.el (window-in-direction): New arguments SIGN, WRAP and
1047 MINI to emulate original windmove-find-other-window behavior.
1048
84c73ba0
DG
10492013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1050
1051 * simple.el (blink-matching--overlay): New variable.
1052 (blink-matching-open): Instead of moving point, highlight the
1053 matching paren with an overlay
1054 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1055
1056 * faces.el (paren-showing-faces, show-paren-match)
1057 (show-paren-mismatch): Move from paren.el.
1058
b9e20952
LL
10592013-12-13 Leo Liu <sdl.web@gmail.com>
1060
1061 * indent.el (indent-region): Disable progress reporter in
1062 minibuffer. (Bug#16108)
1063
1064 * bindings.el (visual-order-cursor-movement): Fix version.
1065
ce030451
FEG
10662013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1067
1068 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1069 Also match after beginning of line.
1070 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1071 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1072
4a9c6865
JL
10732013-12-13 Juri Linkov <juri@jurta.org>
1074
1075 * simple.el <Keypad support>: Remove key bindings duplicated
1076 with bindings.el. (Bug#14397)
1077
2bc170c3
JL
10782013-12-13 Juri Linkov <juri@jurta.org>
1079
1080 * comint.el (comint-mode-map): Replace `delete-char' with
1081 `delete-forward-char'. (Bug#16109)
1082
bc9222c9
FEG
10832013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1084
aa2bddd7 1085 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1086 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1087
cb3a1380
SM
10882013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1089
1090 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1091 (advice--make): Pay attention to `depth'.
1092 (advice--make-1): Don't autoload commands eagerly.
1093 * emacs-lisp/elp.el (elp-instrument-function):
1094 * emacs-lisp/trace.el (trace-function-internal):
1095 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1096
1097 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1098
01633a17
EZ
10992013-12-12 Eli Zaretskii <eliz@gnu.org>
1100
1101 * term/w32-win.el (w32-handle-dropped-file):
1102 * startup.el (normal-top-level):
1103 * net/browse-url.el (browse-url-file-url):
1104 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1105 decode file names using 'utf-8' rather than
1106 file-name-coding-system.
1107
09faee72
FEG
11082013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1109
1110 * progmodes/python.el (python-indent-context)
1111 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1112 behavior for comment blocks. (Bug#15916)
09faee72 1113
f4f84024 11142013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1115
cb3a1380
SM
1116 * progmodes/python.el (python-indent-calculate-indentation):
1117 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1118 operators when they are just string constituents. (Bug#15812)
1119
d5ccb7be
JL
11202013-12-12 Juri Linkov <juri@jurta.org>
1121
1122 * uniquify.el (uniquify-buffer-name-style): Change default to
1123 `post-forward-angle-brackets'.
1124
1125 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1126 `uniquify'. Change default to `post-forward-angle-brackets'.
1127
7b3f5679
GM
11282013-12-11 Glenn Morris <rgm@gnu.org>
1129
1130 * emacs-lisp/package.el (finder-list-matches):
1131 Autoload rather than falsely declaring.
1132
f4fe8fdd
TZ
11332013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1134
1135 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1136 (eww-mode-map): Use them.
1137
3c29190f
MR
11382013-12-11 Martin Rudalics <rudalics@gmx.at>
1139
1140 * window.el (display-buffer-in-side-window): Fix doc-string
1141 (Bug#16115).
1142
0cd616a2
JB
11432013-12-11 Juanma Barranquero <lekktu@gmail.com>
1144
1145 * vc/vc-git.el: Silence byte-compiler warnings.
1146 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1147 (log-edit-set-header): Declare.
1148
3ef8e0d1
EZ
11492013-12-11 Eli Zaretskii <eliz@gnu.org>
1150
1151 * Makefile.in (custom-deps, finder-data): Run output file names
1152 through unmsys--file-name. (Bug#16099)
1153
afdadaf7
SM
11542013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1155
7ae3ae39 1156 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1157 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1158
5b4f37ab
SM
1159 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1160 instead of deleting the selection "by hand" (bug#16098).
1161 Rely on insert-for-yank to yank rectangles.
1162 (cua-highlight-region-shift-only): Mark obsolete.
1163 (cua-mode): Don't enable/disable transient-mark-mode,
1164 shift-select-mode (cua-mode works both with and without them), and
1165 pc-selection-mode (obsolete).
1166 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1167 (cua--deactivate-rectangle): Deactivate it.
1168
4b72c12b
SM
1169 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1170 (delete-selection-helper): Make sure yank starts at the top of the
1171 deleted region.
1172 (minibuffer-keyboard-quit): Use region-active-p.
1173
e82af72d
SM
1174 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1175
afdadaf7
SM
1176 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1177 to `delete' (bug#16109).
1178
ed4bc201
RS
11792013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1180
1181 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1182 info manual and show keybindings and set `:group' keyword.
1183
bb8097b9
JL
11842013-12-11 Juri Linkov <juri@jurta.org>
1185
1186 * delsel.el (delete-active-region): Let-bind `this-command'
1187 to prevent `kill-region' from changing its original value.
1188 (delete-selection-helper): Handle `overwrite-mode' for the type
1189 `kill' exactly the same way as for the type `t'.
1190 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1191 Support more commands. (Bug#13312)
1192
c1916ff5
JL
11932013-12-11 Juri Linkov <juri@jurta.org>
1194
1195 * bindings.el: Map kp keys to non-kp keys systematically
1196 with basic modifiers control, meta and shift. (Bug#14397)
1197
7514d3f8 11982013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1199
1200 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1201 "Close browser" menu items. Fix wrong function of "List
1202 bookmarks".
1203
4cc51eaf
JL
12042013-12-11 Juri Linkov <juri@jurta.org>
1205
1206 * misearch.el (multi-isearch-buffers): Set the value of
1207 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1208 arg of isearch-forward to t.
1209 (multi-isearch-buffers-regexp): Set the value of
1210 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1211 arg of isearch-forward-regexp to t.
1212 (multi-isearch-files): Set the value of
1213 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1214 arg of isearch-forward to t.
1215 (multi-isearch-files-regexp): Set the value of
1216 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1217 arg of isearch-forward-regexp to t. (Bug#16035)
1218
1219 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1220 arg of isearch-forward to t.
1221 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1222 arg of isearch-forward-regexp to t.
1223 (dired-isearch-filter-filenames): Remove unnecessary check for
1224 `dired-isearch-filenames'.
1225
1226 * comint.el (comint-history-isearch-backward):
1227 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1228 (comint-history-isearch-backward-regexp):
1229 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1230
ceac12b7
EZ
12312013-12-10 Eli Zaretskii <eliz@gnu.org>
1232
1233 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1234 unmsys--file-name. (Bug#16099)
1235
5a565782
TZ
12362013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1237
cb3a1380
SM
1238 * emacs-lisp/package.el (package-keyword-button-action):
1239 Remove finder.el require dependency.
5a565782 1240
a81fc7ba
TZ
12412013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1242
1243 * emacs-lisp/package.el: Require finder.el.
1244 (describe-package-1): Add keyword buttons.
1245 (package-make-button): New convenience function.
1246 (package-keyword-button-action): Keyword button action using
e0eb0550 1247 `finder-list-matches'.
a81fc7ba 1248
6aaca951
EZ
12492013-12-09 Eli Zaretskii <eliz@gnu.org>
1250
1251 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1252 last commit.
1253
a1099a91
MA
12542013-12-09 Michael Albinus <michael.albinus@gmx.de>
1255
1256 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1257 symlinked files.
1258
8212d9c0
DG
12592013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1260
1261 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1262 after the end of a percent literal.
1263
8f48d131
CD
12642013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1265
cb3a1380
SM
1266 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1267 Handle caret-delimited strings (Bug#16079).
8f48d131 1268
ff8c9764
DG
12692013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1270
cb3a1380
SM
1271 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1272 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1273 `ruby-parse-partial' (Bug#16078).
1274
d64643b4
LL
12752013-12-09 Leo Liu <sdl.web@gmail.com>
1276
1277 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1278
47e59c66
DG
12792013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1280
1281 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1282 (js-switch-indent-offset): New option.
1283 (js--proper-indentation): Use it. And handle the case when
1284 "default" is actually a key in an object literal.
1285 (js--same-line): New function.
1286 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1287 (js--indent-in-array-comp, js--array-comp-indentation):
1288 New functions.
47e59c66
DG
1289 (js--proper-indentation): Use them, to handle array comprehension
1290 continuations.
1291
974ebc9c
LL
12922013-12-08 Leo Liu <sdl.web@gmail.com>
1293
1294 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1295 (flymake-make-overlay): Remove arg MOUSE-FACE.
1296 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1297
27262e39
SM
12982013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1299
1300 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1301 New function.
1302 (redisplay-highlight-region-function): Use it.
1303
1304 * emulation/cua-base.el (cua--explicit-region-start)
1305 (cua--last-region-shifted): Remove.
1306 (cua--deactivate): Use deactivate-mark.
1307 (cua--pre-command-handler-1): Don't handle shift-selection.
1308 (cua--post-command-handler-1): Don't change transient-mark-mode.
1309 (cua--select-keymaps): Use region-active-p rather than
1310 cua--explicit-region-start or cua--last-region-shifted.
1311 (cua-mode): Enable shift-select-mode.
1312
6407822c
LL
13132013-12-08 Leo Liu <sdl.web@gmail.com>
1314
27262e39
SM
1315 * progmodes/flymake.el (flymake-popup-current-error-menu):
1316 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1317 (flymake-posn-at-point-as-event, flymake-popup-menu)
1318 (flymake-make-emacs-menu): Remove. (Bug#16077)
1319
00a2b823
SM
13202013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1321
02033d49
SM
1322 * rect.el (rectangle-mark-mode): Activate mark even if
1323 transient-mark-mode is off (bug#16066).
1324 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1325 is > mark and at bolp.
1326
6f8dfccf
SM
1327 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1328 (region-extract-function): Use it.
1329 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1330 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1331 Delete functions.
1332 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1333 kill-ring-save, kill-region, delete-char, delete-forward-char.
1334 Ignore self-insert-iso.
1335
1336 * emulation/cua-gmrk.el (cua--init-global-mark):
1337 Ignore `self-insert-iso'.
1338
1339 * emulation/cua-base.el (cua--prefix-copy-handler)
1340 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1341 checking cua--rectangle.
1342 (cua-delete-region): Use region-extract-function.
1343 (cua-replace-region): Delete function.
1344 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1345 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1346 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1347 (cua--init-keymaps): Don't remap delete-selection commands.
1348 (cua-mode): Use delete-selection-mode instead of rolling our own
1349 (bug#16085).
1350
1351 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1352 Obey region-extract-function.
1353
00a2b823
SM
1354 Make registers and delete-selection-mode work on rectangles.
1355 * register.el (describe-register-1): Don't modify the register's value.
1356 (copy-to-register): Obey region-extract-function.
1357 * delsel.el (delete-active-region): Obey region-extract-function.
1358
a92fa5f1
LL
13592013-12-08 Leo Liu <sdl.web@gmail.com>
1360
1361 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1362 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1363 (flymake-compilation-prevents-syntax-check)
1364 (flymake-start-syntax-check-on-newline)
1365 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1366 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1367 (flymake-xml-program, flymake-master-file-dirs)
1368 (flymake-master-file-count-limit)
1369 (flymake-allowed-file-name-masks): Relocate.
1370 (flymake-makehash, flymake-float-time)
1371 (flymake-replace-regexp-in-string, flymake-split-string)
1372 (flymake-get-temp-dir): Remove.
1373 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1374 (flymake-current-row, flymake-selected-frame)
1375 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1376 related functions. (Bug#16077)
1377
73c8ceea
BB
13782013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1379
1380 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1381
faec28d9
TH
13822013-12-07 Tassilo Horn <tsdh@gnu.org>
1383
1384 * help-fns.el (describe-function-1): Use new advice-* functions
1385 rather than old ad-* functions. Fix function type description and
1386 source links for advised functions and subrs.
1387
e330b646
LMI
13882013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1389
00a2b823 1390 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1391
4803595d
MA
13922013-12-06 Michael Albinus <michael.albinus@gmx.de>
1393
1394 * progmodes/compile.el (compilation-start):
1395 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1396
1397 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1398 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1399
fa834a93
DG
14002013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1401
00a2b823
SM
1402 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1403 Touch up the last change.
fa834a93 1404
b2856a6f
LL
14052013-12-06 Leo Liu <sdl.web@gmail.com>
1406
1407 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1408 (inferior-octave-startup): Always use "octave> " for prompt.
1409 (octave-goto-function-definition)
1410 (octave-sync-function-file-names)
1411 (octave-find-definition-default-filename): Remove redundant backquotes.
1412
af67e79a
DG
14132013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1414
1415 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1416 syntax for `?'.
1417 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1418 where appropriate already.
1419 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1420 end of method names (Bug#15874).
1421
bf093209
JL
14222013-12-06 Juri Linkov <juri@jurta.org>
1423
1424 * isearch.el (isearch--saved-overriding-local-map):
1425 New internal variable.
1426 (isearch-mode): Set it to the initial value of
1427 `overriding-terminal-local-map'.
1428 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1429 with `isearch--saved-overriding-local-map'. (Bug#16035)
1430
16588fad
DG
14312013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1432
00a2b823
SM
1433 * progmodes/octave.el (inferior-octave-completion-table):
1434 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1435 (Bug#11906). Update all references.
1436
1437 * minibuffer.el (completion-table-with-cache): New function.
1438
bf4906d7
CD
14392013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1440
1441 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1442
ff69c18f
TZ
14432013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1444
1445 * net/eww.el (eww-current-source): New variable to store page
1446 source.
1447 (eww-display-html, eww-mode, eww-save-history)
1448 (eww-restore-history): Use it.
1449 (eww-view-source): New command to view page source.
1450 Opportunistically uses `html-mode' to highlight the buffer.
1451 (eww-mode-map): Install it.
1452
b85eff45
MA
14532013-12-05 Michael Albinus <michael.albinus@gmx.de>
1454
1455 * net/dbus.el (dbus-unregister-service)
1456 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1457 Fix docstring.
1458 (dbus-unregister-service): Skip :serial entries in
1459 `dbus-registered-objects-table'.
1460 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1461
39eb0899
TZ
14622013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1463
1464 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1465 around keywords with extra `split-string' argument.
1466
456760a5
MR
14672013-12-04 Martin Rudalics <rudalics@gmx.at>
1468
1469 * windmove.el (windmove-other-window-loc): Handle navigation
1470 between windows (excluding the minibuffer window - Bug#16017).
1471
81961e4c
MA
14722013-12-04 Michael Albinus <michael.albinus@gmx.de>
1473
1474 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1475 in D-Bus type syntax.
1476 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1477 preserve unibyte strings. (Bug#16048)
1478
8497f938
SM
14792013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1480
1481 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1482 Call force-mode-line-update is the proper buffer (bug#16042).
1483
dda61916
DG
14842013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1485
1486 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1487 `log-edit-remember-comment', make argument optional. Adjust all
1488 callers.
1489 (log-edit-mode): Add `log-edit-remember-comment' to
1490 `kill-buffer-hook' locally.
1491 (log-edit-kill-buffer): Don't remember comment explicitly since
1492 the buffer is killed anyway.
1493
c085e5b9
JL
14942013-12-04 Juri Linkov <juri@jurta.org>
1495
1496 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1497 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1498
e0eb0550 14992013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1500
1501 * notifications.el (notifications-close-notification): Call the
81961e4c 1502 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1503
39fa32d6
KY
15042013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1505
1506 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1507
9139632a
JL
15082013-12-03 Juri Linkov <juri@jurta.org>
1509
1510 * progmodes/compile.el (compilation-start): Rename window alist
1511 entry `no-display-ok' to `allow-no-window'.
1512
1513 * simple.el (shell-command): Add window alist entry
1514 `allow-no-window' to `display-buffer'.
1515 (async-shell-command): Doc fix.
1516
1517 * window.el (display-buffer-no-window): New action function.
1518 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1519
0f457a37
DG
15202013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1521
1522 * vc/log-edit.el (log-edit-set-header): Extract from
1523 `log-edit-toggle-header'.
1524 (log-edit-extract-headers): Separate the summary, when extracted
1525 from header, from the rest of the message with an empty line.
1526
1527 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1528 line, if present, to the Summary header.
1529
0962f376
SM
15302013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1531
1532 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1533 in current-buffer (bug#16029).
1534
f345395c
HE
15352013-12-02 Helmut Eller <eller.helmut@gmail.com>
1536
1537 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1538 (debugger-mode-map): Bind it.
1539 (debugger--backtrace-base): New function.
1540 (debugger-eval-expression): Use it.
1541 (debugger-frame-number): Skip local vars when present.
1542 (debugger--locals-visible-p, debugger--insert-locals)
1543 (debugger--show-locals, debugger--hide-locals): New functions.
1544
a8a15d9d
MA
15452013-12-02 Michael Albinus <michael.albinus@gmx.de>
1546
1547 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1548 "LC_ALL".
1549 (tramp-get-remote-locale): New defun.
1550 (tramp-open-connection-setup-interactive-shell): Use it.
1551
0518b057
LL
15522013-12-02 Leo Liu <sdl.web@gmail.com>
1553
1554 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1555
1556 * progmodes/sh-script.el (sh-shell-process):
1557 * progmodes/octave.el (inferior-octave-process-live-p):
1558 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1559 (gdb-inferior-io-sentinel):
1560 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1561
3adc9c6d
DG
15622013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1563
1564 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1565 `save-selected-window' to `log-edit-hide-buf'. This makes
1566 `log-edit-show-files' idempotent.
1567 (log-edit-show-files): Mark the new window as dedicated.
1568
47e8b74e
DG
15692013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1570
1571 * vc/log-edit.el (log-edit-mode-map): Add binding for
1572 `log-edit-kill-biffer'.
1573 (log-edit-hide-buf): Add a FIXME comment.
1574 (log-edit-add-new-comment): New function, extracted from
1575 `log-edit-done'.
1576 (log-edit-done, log-edit-add-to-changelog): Use it.
1577 (log-edit-kill-buffer): New command.
1578
1f6e1bb0
LMI
15792013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1580
1581 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1582 instead of killing the buffer.
1583
fb651d15
SM
15842013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1585
1586 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1587
8feacce0
RS
15882013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1589
fb651d15 1590 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1591 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1592 (eww-form-checkbox, eww-toggle-checkbox):
1593 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1594
e0eb0550 1595 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1596 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1597 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1598 no :src tag was specified.
1599
fb651d15 1600 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1601 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1602 Use \\` to match beginning of string instead of ^.
1603 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1604 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1605
177948a5
RS
1606 * net/shr.el (shr-tag-video): Display content for video if no
1607 poster is available.
eb2dd24d 1608 (shr-tag-audio): Add support for <audio> tag.
177948a5 1609
e0eb0550 1610 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1611 (eww-process-text-input): Treat input types in
1612 `eww-text-input-types' as text.
1613
8feacce0
RS
1614 * net/shr.el (shr-tag-table): Fix comment typo.
1615
513562a1
LMI
16162013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1617
1618 * net/eww.el (eww-follow-link): New command to avoid reloading
1619 pages when we follow #target links (bug#15243).
de8a5633 1620 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1621
9dd99753
KN
16222013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1623
1624 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1625 forms.
1626
3e9876de
LMI
16272013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1628
1629 * net/eww.el (eww-restore-history): Update the window title after
1630 moving in the history.
ab6dea82 1631 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1632
52789f7f
DG
16332013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1634
1635 * vc/log-edit.el (log-edit-mode-map): Add binding for
1636 `log-edit-beginning-of-line'.
1637 (log-edit-setup-add-author): New user option.
1638 (log-edit-beginning-of-line): New command.
1639 (log-edit): Move major mode call above the contents setup so that
1640 the local variable values are already applied.
1641 (log-edit): Only insert "Author: " when
1642 `log-edit-setup-add-author' is non-nil.
1643 (log-edit): When SETUP is non-nil, position point after ": "
1644 instead of point-min.
1645
2e6710c3
GM
16462013-12-01 Glenn Morris <rgm@gnu.org>
1647
1648 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1649
fadec31f
EZ
16502013-11-30 Eli Zaretskii <eliz@gnu.org>
1651
1652 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1653 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1654 visible. (Bug#16014)
1655
10634b40 16562013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1657
1658 Support resizing frames and windows pixelwise.
1659 * cus-start.el (frame-resize-pixelwise)
1660 (window-resize-pixelwise): New entries.
1661 * emacs-lisp/debug.el (debug): Use window-total-height instead
1662 of window-total-size.
1663 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1664 * help.el (describe-bindings-internal): Call help-buffer
1665 (temp-buffer-max-width): New option.
1666 (resize-temp-buffer-window, help-window-setup)
1667 (with-help-window): Rewrite.
1668 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1669 dragging dividers.
1670 * window.el (frame-char-size, window-min-pixel-height)
1671 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1672 (window-min-pixel-width, window-safe-min-pixel-size)
1673 (window-combination-p, window-safe-min-size)
1674 (window-resizable-p, window--size-to-pixel)
1675 (window--pixel-to-size, window--resize-apply-p): New functions.
1676 (window-safe-min-height): Fix doc-string.
1677 (window-size, window-min-size, window--min-size-1)
1678 (window-sizable, window-sizable-p, window--min-delta-1)
1679 (window-min-delta, window--max-delta-1, window-max-delta)
1680 (window--resizable, window--resizable-p, window-resizable)
1681 (window-full-height-p, window-full-width-p, window-at-side-p)
1682 (window--in-direction-2, window-in-direction)
1683 (window--resize-reset-1, window--resize-mini-window)
1684 (window-resize, window-resize-no-error)
1685 (window--resize-child-windows-normal)
1686 (window--resize-child-windows, window--resize-siblings)
1687 (window--resize-this-window, window--resize-root-window)
1688 (window--resize-root-window-vertically)
1689 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1690 (maximize-window, minimize-window, delete-window)
1691 (quit-restore-window, window-split-min-size, split-window)
1692 (balance-windows-2, balance-windows)
1693 (balance-windows-area-adjust, balance-windows-area)
1694 (window--state-get-1, window-state-get, window--state-put-1)
1695 (window--state-put-2, window-state-put)
fb651d15
SM
1696 (display-buffer-record-window, window--display-buffer):
1697 Make functions handle pixelwise sizing of windows.
880e6158 1698 (display-buffer--action-function-custom-type)
fb651d15
SM
1699 (display-buffer-fallback-action):
1700 Add display-buffer-in-previous-window.
880e6158
MR
1701 (display-buffer-use-some-window): Resize window to height it had
1702 before.
1703 (fit-window-to-buffer-horizontally): New option.
1704 (fit-frame-to-buffer): Describe new values.
1705 (fit-frame-to-buffer-bottom-margin): Replace with
1706 fit-frame-to-buffer-margins.
1707 (window--sanitize-margin): New function.
1708 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1709 using window-text-pixel-size.
1710
f9b697dd
GM
17112013-11-30 Glenn Morris <rgm@gnu.org>
1712
3e2fb4db
GM
1713 * emacs-lisp/bytecomp.el (byte-compile-form):
1714 Make the `interactive-only' warning like the `obsolete' one.
1715 * comint.el (comint-run):
1716 * files.el (insert-file-literally, insert-file):
1717 * replace.el (replace-string, replace-regexp):
1718 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1719 (goto-line, insert-buffer, next-line, previous-line):
1720 Tweak `interactive-only' spec.
1721
f9b697dd
GM
1722 Stop keeping (most) generated cedet grammar files in the repository.
1723 * Makefile.in (semantic): New.
1724 (compile-main): Depend on semantic.
1725
da048127
SM
17262013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1727
7784b779
SM
1728 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1729 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1730
4e36a6a6
SM
1731 * uniquify.el (uniquify-buffer-name-style): Change default.
1732
1733 * loadup.el: Preload "uniquify".
1734
e0ba1308
SM
1735 * time.el (display-time-update): Update all mode lines (bug#15999).
1736
da048127
SM
1737 * electric.el (electric-indent-mode): Enable by default.
1738 * loadup.el: Preload "electric".
1739
015b3b3e
BB
17402013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1741
1742 * emacs-lisp/helpers.el (string-empty-p): New function.
1743 (string-blank-p): New function.
1744
7efb806d
AP
17452013-11-29 Andreas Politz <politza@hochschule-trier.de>
1746
1747 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1748 (Bug#14029).
1749
c8f0efc2
AP
17502013-11-29 Andreas Politz <politza@fh-trier.de>
1751 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1752 allow non-lambda lists as functions.
1753 (imenu--in-alist): Don't recurse into non-subalists.
1754 (imenu): Don't pass function itself as an argument (Bug#14029).
1755
bd15d9d1
SM
17562013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1757
1758 * progmodes/python.el (python-mode-map): Remove binding for ":".
1759 (python-indent-electric-colon): Remove command.
1760 (python-indent-post-self-insert-function): Integrate the previous code
1761 of python-indent-electric-colon. Make it conditional on
1762 electric-indent-mode.
1763 (python-mode): Add ?: to electric-indent-chars.
1764 Move python-indent-post-self-insert-function to the end of
1765 post-self-insert-hook.
1766
1b10adb6
SM
17672013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1768
655ab9a3
SM
1769 * doc-view.el (doc-view-goto-page): Update mode-line.
1770
1b10adb6
SM
1771 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1772
7e3bf78c
GM
17732013-11-27 Glenn Morris <rgm@gnu.org>
1774
1775 * international/charprop.el, international/uni-bidi.el:
1776 * international/uni-category.el, international/uni-combining.el:
1777 * international/uni-comment.el, international/uni-decimal.el:
1778 * international/uni-decomposition.el, international/uni-digit.el:
1779 * international/uni-lowercase.el, international/uni-mirrored.el:
1780 * international/uni-name.el, international/uni-numeric.el:
1781 * international/uni-old-name.el, international/uni-titlecase.el:
1782 * international/uni-uppercase.el:
1783 Remove generated files from VCS repository.
1784
fb6a5d68
EZ
17852013-11-27 Eli Zaretskii <eliz@gnu.org>
1786
1787 * filenotify.el (file-notify-add-watch): Don't special-case
1788 w32notify when computing the directory to watch.
1789
cb6c95a3
GM
17902013-11-27 Glenn Morris <rgm@gnu.org>
1791
20372d0c
GM
1792 Make bootstrap without generated uni-*.el files possible again.
1793 * loadup.el: Update command-line-args checking for unidata-gen.
1794 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1795 * composite.el, international/characters.el:
1796 Handle unicode tables being undefined.
1797
52d6635f 1798 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1799 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1800 (compile-main): Depend on leim rule.
1801 (leim): New rule.
1802 * loadup.el: Move leim-list.el to leim/ subdirectory.
1803 * startup.el (normal-top-level): No more leim directory.
1804 * international/ja-dic-cnv.el (skkdic-convert):
1805 Disable version-control and autoloads in output files.
1806 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1807 Disable version-control and autoloads in output files.
1808 * leim/quail: Move here from ../leim.
1809 * leim/quail/hangul.el (hangul-input-method-activate):
1810 Add autoload cookie.
1811 (generated-autoload-load-name): Set file-local value.
1812 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1813 (generated-autoload-load-name): Set file-local value.
1814
7514d3f8 18152013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 1816
e0eb0550 1817 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 1818 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 1819 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1820
0e2c793f
EZ
18212013-11-26 Eli Zaretskii <eliz@gnu.org>
1822
1823 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1824 reading output from Diff on MS-Windows and MS-DOS.
1825
447bdcb8
BB
18262013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1827
1828 * emacs-lisp/helpers.el (string-reverse): New function.
1829
5fbf6856
MA
18302013-11-26 Michael Albinus <michael.albinus@gmx.de>
1831
1832 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1833 names on MS Windows, like "/[::1]:".
1834
1835 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1836 SWITCHES.
1837
624780f0
GM
18382013-11-26 Glenn Morris <rgm@gnu.org>
1839
0bf3f0fa
GM
1840 * progmodes/python.el (python-indent-guess-indent-offset):
1841 Avoid corner-case error. (Bug#15975)
1842
624780f0
GM
1843 Preload leim-list.el. (Bug#4789)
1844 * loadup.el: Load leim-list.el when found.
1845 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1846
4301875e 18472013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1848
1849 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1850
4301875e
BB
1851 * emacs-lisp/helpers.el (string-join): New function.
1852
1633a815 18532013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1854
1855 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1856 Mark as obsolete and replace it with a symbol property.
1857 (byte-compile-form): Use new 'interactive-only property.
1858 * comint.el, files.el, replace.el, simple.el:
1859 Apply new 'interactive-only properly.
1860
00139435
MR
18612013-11-25 Martin Rudalics <rudalics@gmx.at>
1862
1863 * window.el (display-buffer-at-bottom): Make sure that
1864 split-window-sensibly creates the new window on bottom
1865 (Bug#15961).
1866
5f5b128d
DK
18672013-11-23 David Kastrup <dak@gnu.org>
1868
1869 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1870 on the conflict markers when available.
1871 (smerge--get-marker): New function.
1872 (smerge-end-re, smerge-base-re): Add subgroup.
1873
623891e5
SM
18742013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1875
1876 * frame.el (handle-focus-in, handle-focus-out): Add missing
1877 interactive spec.
1878
05ca27d8
MA
18792013-11-25 Michael Albinus <michael.albinus@gmx.de>
1880
1881 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1882 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1883
511fa0d3
SM
18842013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1885
e82ad66c
SM
1886 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1887 (gomoku--last-pos): New var.
1888 (gomoku--intangible-chars): New const.
1889 (gomoku--intangible): New function.
1890 (gomoku-mode): Use it. Derive from special-mode.
1891 (gomoku-move-up): Adjust line count.
1892 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1893 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1894 Simplify accordingly.
1895
511fa0d3
SM
1896 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1897 Remove blink-cursor code.
1898 (blink-cursor-timer-function, blink-cursor-suspend):
1899 Don't special-case GUIs.
1900 (blink-cursor-mode): Use focus-in/out-hook.
1901
6f20dd03
DG
19022013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1903
1904 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1905 work when annotation is invisible (Bug#13886).
1906
431dec31 19072013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1908
1909 * json.el (json-alist-p): Only return non-nil if the alist has
1910 simple keys (Bug#13518).
1911
431dec31 19122013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1913
1914 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1915 when control-statement is the first statement in a buffer (Bug#15956).
1916
ee4f0261
DG
19172013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1918
1919 * imenu.el (imenu-generic-skip-comments-and-strings):
1920 New option (Bug#15560).
1921 (imenu--generic-function): Use it.
1922
c484f866
JS
19232013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1924
e9dc713d
JB
1925 * minibuffer.el (completion--in-region-1): Scroll the correct window.
1926 (Bug#13898)
c484f866 1927
41ce6f70
BB
19282013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1929
b55aea38
BB
1930 * emacs-lisp/helpers.el: Add some string helpers.
1931 (string-trim-left): Removes leading whitespace.
1932 (string-trim-right): Removes trailing whitespace.
1933 (string-trim): Removes leading and trailing whitespace.
1934
41ce6f70
BB
1935 * subr.el (string-suffix-p): New function.
1936
3cfb6af3
GM
19372013-11-23 Glenn Morris <rgm@gnu.org>
1938
1939 * progmodes/python.el (python-shell-send-file):
1940 Add option to delete file when done. (Bug#15647)
1941 (python-shell-send-string, python-shell-send-region): Use it.
1942
c27924b7
IS
19432013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1944
e1b01c7f
IS
1945 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1946 to set buffer-read-only to t, never to nil. (Bug#15938)
1947
c27924b7
IS
1948 * textmodes/tex-mode.el (latex-noindent-environments):
1949 Add safe-local-variable property. (Bug#15936)
1950
17e0445b
GM
19512013-11-23 Glenn Morris <rgm@gnu.org>
1952
92f78ea3
GM
1953 * textmodes/enriched.el (enriched-mode): Doc fix.
1954 * emacs-lisp/authors.el (authors-renamed-files-alist):
1955 Add enriched.doc -> enriched.txt.
1956
17e0445b
GM
1957 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1958
965bb23a
LL
19592013-11-22 Leo Liu <sdl.web@gmail.com>
1960
1961 * progmodes/octave.el (inferior-octave-startup): Spit out error
1962 message.
1963
d19ffd64
BB
19642013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1965
1966 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1967 Improve docstring.
15ba2182
BB
1968 Add :version.
1969 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1970
7a7567d2
LL
19712013-11-22 Leo Liu <sdl.web@gmail.com>
1972
1973 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1974 (Bug#15076)
8c09f64b
LL
1975 (octave-help-mode): Adapt to change to help-mode-finish to use
1976 derived-mode-p on 2013-09-17.
1977 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1978 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1979
724bc265
LL
19802013-11-22 Leo Liu <sdl.web@gmail.com>
1981
1982 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1983 (inferior-octave-startup, inferior-octave-check-process)
1984 (inferior-octave-track-window-width-change)
1985 (octave-completion-at-point, octave-eldoc-function): Use it.
1986 (octave-kill-process): Provide confirmation. (Bug#10564)
1987
38637cca
LL
19882013-11-21 Leo Liu <sdl.web@gmail.com>
1989
511fa0d3
SM
1990 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1991 Fix obsolete variable comment-use-global-state.
38637cca 1992
06e752b4
RS
19932013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1994
511fa0d3
SM
1995 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1996 Add `octave-source-file'.
06e752b4
RS
1997 (octave-source-file): New function. (Bug#15935)
1998
7514d3f8 19992013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2000
2001 * net/eww.el (eww-local-regex): New variable.
2002 (eww): Use it to detect localhost and similar.
2003
b6ffa04a
LL
20042013-11-21 Leo Liu <sdl.web@gmail.com>
2005
2006 Add completion for command `ag'.
2021a200
LL
2007 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2008 (pcomplete/ag): New function.
e9dc713d 2009 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2010
d1a6bccc
SM
20112013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2012
2013 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2014 (bug#14646).
2015 (make-obsolete): Remove interactive spec.
2016
2df10228
GM
20172013-11-21 Glenn Morris <rgm@gnu.org>
2018
2019 * startup.el (command-line-1): Use path-separator with -L.
2020
86fd16b6
TZ
20212013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2022
2023 * emacs-lisp/package.el (describe-package-1): Add package archive
2024 to shown fields.
2025
0449d6cd 20262013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2027
2028 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2029 Change default to "# encoding: %s" to differentiate it from the
2030 default Ruby encoding comment template.
2031
dc7e8c17 20322013-11-20 era eriksson <era+emacsbugs@iki.fi>
2033
2034 * ses.el (ses-mode): Doc fix. (Bug#14748)
2035
f0cfa5fe
LL
20362013-11-20 Leo Liu <sdl.web@gmail.com>
2037
2038 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2039
826dc7b6
DN
20402013-11-19 Dan Nicolaescu <dann@gnu.org>
2041
2042 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2043 when rebase or bisect are in progress.
2044
a6e3a5d5
XF
20452013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2046
2047 * filenotify.el (file-notify-add-watch): Doc fix.
2048
f130cb76
LL
20492013-11-19 Leo Liu <sdl.web@gmail.com>
2050
e0855d7d
LL
2051 * obsolete/rcompile.el: Mark obsolete.
2052
f130cb76 2053 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2054 (compilation-goto-locus, compilation-find-file):
2055 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2056 (Bug#13594)
2057
2058 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2059 new parameter no-display-ok. Return either a window or nil
2060 but never a non-window value.
f130cb76 2061
1f35d401
SM
20622013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2063
25158c76
SM
2064 * electric.el (electric-indent-mode-map): Remove.
2065 (electric-indent-mode): Change the global-map instead (bug#15915).
2066
2067 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2068 Use add-function.
1f35d401 2069
9bc67baa
SM
20702013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2071
986545b5
SM
2072 * emacs-lisp/nadvice.el (remove-function): Align with
2073 add-function's behavior.
2074
9bc67baa
SM
2075 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2076 (gdb--string-regexp): New constant.
2077 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2078 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2079 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2080 submatch 1.
2081 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2082 Adjust use accordingly.
2083 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2084
56cd894e
AS
20852013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2086
2087 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2088 interpolation curlies (Bug#15914).
2089
014690de
JB
20902013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2091
2092 * calc/calc.el (calc-context-sensitive-enter): New variable.
2093 (calc-enter): Use `calc-context-sensitive-enter'.
2094
7e26a6c3
TZ
20952013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2096
2097 * progmodes/cfengine.el: Version bump.
2098 (cfengine-cf-promises): New defcustom to locate cf-promises.
2099 (cfengine3-vartypes): Add new "data" type.
2100 (cfengine3--current-word): New function to get current name-like
2101 word or its bounds.
2102 (cfengine3--current-function): New function to look up a CFEngine
2103 function's definition.
2104 (cfengine3-format-function-docstring): New function.
2105 (cfengine3-make-syntax-cache): New function.
2106 (cfengine3-documentation-function): New function: ElDoc glue.
2107 (cfengine3-completion-function): New function: completion glue.
2108 (cfengine3-mode): Set `compile-command',
2109 `eldoc-documentation-function', and add to
2110 `completion-at-point-functions'.
2111
355204dd
MA
21122013-11-16 Michael Albinus <michael.albinus@gmx.de>
2113
2114 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2115 `tramp-current-connection'.
2116
43cebc23
DG
21172013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2118
2119 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2120 nil/self/true/false with "end of symbol".
2121
a3fed6ff
BB
21222013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2123
2124 * subr.el (version-regexp-alist): Fix a typo.
2125
e675b3e4
MA
21262013-11-15 Michael Albinus <michael.albinus@gmx.de>
2127
2128 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2129 "en_US.utf8" and "LC_CTYPE" to "".
2130 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2131 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2132
a1f03e89
LL
21332013-11-15 Leo Liu <sdl.web@gmail.com>
2134
2135 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2136
5d9d9451
SM
21372013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2138
58362662
CS
2139 * progmodes/gud.el (ctl-x-map):
2140 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2141 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2142
6c1bf086
BB
21432013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2144
0d5363c4
BB
2145 * subr.el (version-regexp-alist):
2146 Recognize hg, svn and darcs versions as snapshot versions.
2147
4e9fc48c
BB
2148 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2149 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2150 (ruby--encoding-comment-required-p): Extract from
2151 `ruby-mode-set-encoding'.
2152 (ruby-mode-set-encoding): Add the ability to always insert an
2153 utf-8 encoding comment. Fix and simplify coding comment update
2154 logic.
6c1bf086 2155
2f7e72f8
MA
21562013-11-14 Michael Albinus <michael.albinus@gmx.de>
2157
2158 * net/tramp-gvfs.el (top): Run init code only when
2159 `tramp-gvfs-enabled' is not nil.
2160 (tramp-gvfs-enabled): Check also :system bus.
2161
0f137a73
SM
21622013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 Sync with upstream verilog-mode revision 78e66ba.
2165 * progmodes/verilog-mode.el (verilog-end-of-defun)
2166 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2167 (verilog-get-end-of-defun): Remove unused argument.
2168 (verilog-comment-depth): Remove unused local `e'.
2169 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2170 Don't pass arg to verilog-get-end-of-defun.
2171
1c276bdd
GM
21722013-11-14 Glenn Morris <rgm@gnu.org>
2173
2174 * obsolete/assoc.el (aget): Prefix dynamic variable.
2175
2176 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2177
ff6ec81d
SM
21782013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2179
2180 * widget.el, hfy-cmap.el: Remove bogus package version number.
2181
75f777b6
GM
21822013-11-13 Glenn Morris <rgm@gnu.org>
2183
1d43dba1
GM
2184 * replace.el (replace-eval-replacement):
2185 Try to give more helpful error message. (Bug#15836)
2186
ff4b7bd5
GM
2187 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2188 (archive-7z-update): Avoid custom type mismatches.
2189
75f777b6
GM
2190 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2191
11151a06
MA
21922013-11-13 Michael Albinus <michael.albinus@gmx.de>
2193
e675b3e4 2194 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2195 address can be empty.
2196
2197 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2198 Accept nil SWITCHES.
2199 (tramp-gvfs-handle-write-region): Implement APPEND.
2200
7b08f97e
DG
22012013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2202
2203 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2204 binary "|" operator and closing block args delimiter.
2205 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2206 (ruby-smie--implicit-semi-p): Not after "|" operator.
2207 (ruby-smie--closing-pipe-p): New function.
2208 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2209 (ruby-smie-rules): Indent after "|".
2210
f201cf3a
GM
22112013-11-12 Glenn Morris <rgm@gnu.org>
2212
2213 * ps-print.el (ps-face-attribute-list):
2214 Handle anonymous faces. (Bug#15827)
2215
e6f759f9
MR
22162013-11-12 Martin Rudalics <rudalics@gmx.at>
2217
2218 * window.el (display-buffer-other-frame): Fix doc-string.
2219 (Bug#15868)
2220
ecda65d4
SM
22212013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2222
2223 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2224
7ce8fcc3
MA
22252013-11-11 Michael Albinus <michael.albinus@gmx.de>
2226
2227 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2228 (tramp-sh-handle-file-local-copy): Don't write a message when
2229 saving temporary files.
2230
2231 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2232 both directories are remote.
2233 (tramp-smb-handle-directory-files): Do not return double entries.
2234 Do not expand full file names.
2235 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2236 (tramp-smb-handle-write-region): Implement APPEND.
2237 (tramp-smb-get-stat-capability): Fix a stupid bug.
2238
7818df11
SM
22392013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2242
608c2085
NT
22432013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2244
2245 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2246 throwing error over malformed let/let* (bug#15814).
2247
122a7e46
SM
22482013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2249
2250 * iswitchb.el (iswitchb-mode): Mark obsolete.
2251
766284d9
GM
22522013-11-11 Glenn Morris <rgm@gnu.org>
2253
2254 * international/uni-bidi.el, international/uni-category.el:
2255 * international/uni-name.el, international/uni-numeric.el:
2256 Regenerate for Unicode 6.3.0.
2257
7072a4e9
MA
22582013-11-10 Michael Albinus <michael.albinus@gmx.de>
2259
2260 * net/tramp.el (tramp-methods):
2261 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2262 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2263
c9df215b
AS
22642013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2265
608c2085
NT
2266 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2267 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2268
fa47d796
DG
22692013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2270
2271 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2272 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2273 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2274 (ispell-complete-word): Call `ispell-lookup-words' with the value
2275 independent of `ispell-look-p'.
2276
1629a329
DG
22772013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2278
2279 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2280 Not after "||".
2281 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2282 their parent.
2283
ad16897c
SM
22842013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2285
2286 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2287 (ruby-font-lock-keywords): Use backquote.
2288
ffa2df72
DG
22892013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2290
2291 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2292 (ruby-smie--backward-token): Only consider full-string matches.
2293
5b97b4c0
JD
22942013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2295
2296 * faces.el (describe-face): Add distant-foreground.
2297
71731c03
BB
22982013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2299
4e9fc48c
BB
2300 * progmodes/ruby-mode.el: Improve encoding comment handling.
2301 (ruby-encoding-magic-comment-style): New option.
2302 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2303 (ruby--insert-coding-comment, ruby--detect-encoding):
2304 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2305 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2306 to control the style of the auto-inserted encoding comment.
71731c03 2307
da3b328d
DG
23082013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2309
ad16897c
SM
2310 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2311 Use `smie-backward-sexp' with token argument.
da3b328d 2312
1606c2d3
MA
23132013-11-08 Michael Albinus <michael.albinus@gmx.de>
2314
2315 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2316 Remove instrumentation code.
2317
b0f4c320
GM
23182013-11-08 Glenn Morris <rgm@gnu.org>
2319
2320 * progmodes/autoconf.el (autoconf-mode):
2321 Tweak comment-start-skip. (Bug#15822)
2322
43668fb1
SM
23232013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2326 at bobp (bug#15826).
2327 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2328
daddb3fd
DH
23292013-11-08 Darren Hoo <darren.hoo@gmail.com>
2330
2331 * man.el (Man-start-calling): New macro, extracted from
2332 Man-getpage-in-background.
2333 (Man-getpage-in-background): Use it.
2334 (Man-update-manpage): New command.
2335 (Man-mode-map): Bind it.
2336
1f923923
DG
23372013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2338
2339 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2340 of "and", "or", "&&" and "||".
2341 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2342 argument. Prohibit opening curly brace because it could only be a
2343 block opener in that position.
daddb3fd
DH
2344 (ruby-smie--forward-token, ruby-smie--backward-token):
2345 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2346 arguments.
2347 (ruby-smie--indent-to-stmt): New function, seeks the end of
2348 previous statement or beginning of buffer.
2349 (ruby-smie-rules): Use it.
2350 (ruby-smie-rules): Check if there's a ":" before a curly block
2351 opener candidate; if there is, it's a hash.
2352
3220d527
SM
23532013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2354
2355 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2356 (cl--block-wrapper): Fix last accidental change.
2357
1eb1f9e0
MA
23582013-11-07 Michael Albinus <michael.albinus@gmx.de>
2359
2360 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2361 Instrument, in order to hunt failure on hydra.
2362
e6e4db3c
NT
23632013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2364
2365 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2366 malformed bindings form (bug#15814).
2367
b420ccfc
DG
23682013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2369
2370 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2371 "." compared to " @ ". This incidentally fixes some indentation
2372 examples with "do".
e6e4db3c 2373 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2374 (ruby-smie-grammar): New tokens: "and" and "or".
2375 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2376 Exclude "and" and "or". Remove "do" in order to work around token
2377 priorities.
2378 (ruby-smie-rules): Add all infix tokens. Handle the case of
2379 beginning-of-buffer.
b420ccfc 2380
6b4ac03e
GM
23812013-11-06 Glenn Morris <rgm@gnu.org>
2382
2383 * Makefile.in (setwins_almost, setwins_for_subdirs):
2384 Avoid accidental matches.
2385
5ca114d1
SM
23862013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2387
2388 * menu-bar.el (popup-menu): Use key-binding.
2389
f72552bd
EZ
23902013-11-06 Eli Zaretskii <eliz@gnu.org>
2391
2392 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2393 menus, support also the menus produced by minor modes.
2394 (Bug#15817)
2395
5d5c701e
LL
23962013-11-06 Leo Liu <sdl.web@gmail.com>
2397
2398 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2399 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2400
0a8b75e2
GM
24012013-11-06 Glenn Morris <rgm@gnu.org>
2402
2403 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2404 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2405 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2406
a35287ea
SM
24072013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2408
feca4e2d
SM
2409 * electric.el (electric-indent-just-newline): New command.
2410 (electric-indent-mode-map): New keymap.
2411 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2412 Re-add :group which weren't redundant.
2413
a35287ea
SM
2414 * electric.el (electric-indent-local-mode): New minor mode.
2415 (electric-indent-functions-without-reindent): New var.
2416 (electric-indent-post-self-insert-function): Use it.
2417 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2418
375761b2
EZ
24192013-11-05 Eli Zaretskii <eliz@gnu.org>
2420
9a6ad735
EZ
2421 * international/quail.el (quail-help): Be more explicit about the
2422 meaning of the labels shown on the keys. (Bug#15800)
2423
375761b2
EZ
2424 * startup.el (normal-top-level): Load the subdirs.el files before
2425 setting the locale environment. (Bug#15805)
2426
520a6e4a
SM
24272013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2428
0acfafef
SM
2429 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2430 via arguments so as to get the right ones (bug#15418).
2431
520a6e4a
SM
2432 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2433
15826261
MA
24342013-11-05 Michael Albinus <michael.albinus@gmx.de>
2435
2436 Fix problems found while writing a test suite.
2437
2438 * net/tramp-compat.el (tramp-compat-load): New defun.
2439 * net/tramp.el (tramp-handle-load): Use it.
2440
2441 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2442 "(numberp ok-if-already-exists)" correctly.
2443
d35f31a4
XF
24442013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2445
2446 * international/characters.el (glyphless-char-display-control):
2447 Add usage note.
2448
ae93bc74
BB
24492013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2450
520a6e4a
SM
2451 * progmodes/python.el (python-mode):
2452 * progmodes/scheme.el (scheme-mode):
2453 * progmodes/prolog.el (prolog-mode):
2454 * progmodes/ruby-mode.el (ruby-mode):
2455 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2456 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2457
0ade65b5
SM
24582013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2459
a0d5f7a4
SM
2460 * rect.el (rectangle--highlight-for-redisplay):
2461 * emacs-lisp/smie.el (smie--next-indent-change):
2462 Use buffer-chars-modified-tick.
2463
c93f3f5c
SM
2464 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2465
0ade65b5
SM
2466 * electric.el (electric-indent-post-self-insert-function):
2467 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2468
ef9dd188
HE
24692013-11-04 Helmut Eller <eller.helmut@gmail.com>
2470
2471 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2472
306e7308
NT
24732013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2474
2475 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2476 (bug#15786).
2477
e5afbcac
SM
24782013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2479
1d01ad41
SM
2480 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2481
e5afbcac
SM
2482 * progmodes/python.el: Fix up last change.
2483 (python-shell--save-temp-file): New function.
2484 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2485 `string' comes from the current buffer.
2486 (python-shell-send-string-no-output): Remove `msg' arg.
2487 (python--use-fake-loc): New var.
2488 (python-shell-buffer-substring): Obey it. Try to compensate for the
2489 extra coding line added by python-shell--save-temp-file.
2490 (python-shell-send-region): Use python-shell--save-temp-file and
2491 python-shell-send-file directly. Add `nomain' argument.
2492 (python-shell-send-buffer): Use python-shell-send-region.
2493 (python-electric-pair-string-delimiter): New function.
2494 (python-mode): Use it.
2495
d0065ff1
EZ
24962013-11-04 Eli Zaretskii <eliz@gnu.org>
2497
2498 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2499 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2500 environment and decoding all of the default-directory's to here
2501 from command-line.
2502 (command-line): Decode also argv[0].
2503
2504 * loadup.el: Error out if default-directory is a multibyte string
2505 when we are dumping.
2506
2507 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2508
7397c587
TZ
25092013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2510
2511 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2512 (package-menu--print-info, package-menu--archive-predicate):
2513 Add Archive column to package list.
7397c587 2514
b27cc9fc
MA
25152013-11-04 Michael Albinus <michael.albinus@gmx.de>
2516
2517 Fix problems found while writing a test suite.
2518
2519 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2520 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2521 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2522 to nil when running original file name handler. Otherwise,
2523 there are problems with constructs like "$$FOO".
2524
2525 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2526 for `localname'.
2527
d8c4f18a
BB
25282013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2529
7b530552
BB
2530 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2531
2532 * subr.el (version<, version<=, version=):
2533 Update docstrings with information for snapshot versions.
2534
d8c4f18a
BB
2535 * helpers.el: New library for misc helper functions.
2536 (hash-table-keys): New function returning a list of hash keys.
2537 (hash-table-values): New function returning a list of hash values.
2538
dca01b09
DG
25392013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2540
2541 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2542 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2543
0a749fa0
MN
25442013-11-04 Michal Nazarewicz <mina86@mina86.com>
2545
2546 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2547 checking whether point is after a 1-letter word.
2548
25492013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2550
2551 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2552 Don't infloop when expanding region over `multiline' syntax-type that
2553 begins a line (bug#15778).
2554
4aca7145
SM
25552013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2556
2557 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2558 Make it into a proper minor mode.
2559 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2560 (rectangle-mark-mode-map): New keymap.
2561 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2562
a0833f62
GM
25632013-11-04 Glenn Morris <rgm@gnu.org>
2564
2565 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2566
e61845c1
SM
25672013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2568
2569 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2570 (ruby-smie-rules): Use smie-rule-parent instead.
2571
2572 * emacs-lisp/smie.el (smie-rule-parent): Always call
2573 smie-indent-virtual rather than only for hanging tokens.
2574 (smie--next-indent-change): New helper command.
2575
62942f89
GM
25762013-11-03 Glenn Morris <rgm@gnu.org>
2577
2578 * Makefile.in (abs_srcdir): Remove.
2579 (emacs): Unset EMACSLOADPATH.
2580
b0b9e592
GM
25812013-11-02 Glenn Morris <rgm@gnu.org>
2582
18ba6a33 2583 * Makefile.in (EMACS): Use a relative filename.
8061810d 2584 (abs_top_builddir): Remove.
18ba6a33
GM
2585 (custom-deps, finder-data, autoloads): Use --chdir.
2586
6a8b929e
GM
2587 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2588
c617f3d0
GM
2589 Use relative filenames in TAGS files.
2590 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2591 (lisptagsfiles4, TAGS): Use relative file names.
2592 (TAGS-LISP): Remove.
2593 (maintainer-clean): No more TAGS-LISP file.
2594
b0b9e592
GM
2595 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2596 (lisptagsfiles4): Use absolute filenames again.
2597 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2598 Remove all *loaddefs files, not just the first. Remove esh-groups.
2599 (maintainer-clean): Delete TAGS, TAGS-LISP.
2600
d1c0ea6a
BB
26012013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2602
e61845c1
SM
2603 * emacs-lisp/package.el (package-version-join):
2604 Recognize snapshot versions.
d1c0ea6a 2605
684d71c6
BB
26062013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2607
2608 * subr.el (version-regexp-alist): Add support for snapshot versions.
2609
3d42b968
DG
26102013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2611
e61845c1
SM
2612 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2613 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2614 skip over our direct parent if it's an assignment token..
2615 (ruby-smie-rules): Use it.
2616
7ffd3721
DG
26172013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2618
8449dd1f 2619 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
2620 unconditionally. Remove now unnecessary forward declarations.
2621 Remove XEmacs-specific setup.
2622 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2623 (ruby-font-lock-syntactic-keywords)
2624 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2625 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2626 (ruby-here-doc-end-syntax): Remove.
2627 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2628 defined as function.
2629
a3996a2e
BB
26302013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2631
2632 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2633
6f9260e8
BB
26342013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2635
2636 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2637 table and abbrev table, `define-derived-mode' does that for us
2638 anyway.
2639
6014de84
GM
26402013-11-01 Glenn Morris <rgm@gnu.org>
2641
2642 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2643 files is atomic for some time, so no parallel compilation issues).
2644
3c334c14
JD
26452013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2646
2647 * faces.el (face-x-resources): Add :distant-foreground.
2648 (region): Use :distant-foreground for gtk and ns.
2649
9bc236c8
TH
26502013-11-01 Tassilo Horn <tsdh@gnu.org>
2651
5246583b 2652 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2653 BibTeX.
2654 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2655 (reftex-locate-bibliography-files): Us it.
2656
d14c81ee
CB
26572013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2658
0e7690de
CB
2659 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2660 allow comments in pbm files.
2661
d14c81ee
CB
2662 * term/w32-win.el (dynamic-library-alist): Support newer versions
2663 of libjpeg starting with v7: look only for the DLL from the
2664 version against which Emacs was built.
ac1bf374 2665 Support versions of libpng beyond 1.4.x.
019c8218 2666 Support libtiff v4.x.
d14c81ee 2667
983d0df5
BB
26682013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2669
2670 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2671 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2672 Add property :safe.
2673 (ruby-deep-arglist): Add property :type.
2674
47f58d85
GM
26752013-10-31 Glenn Morris <rgm@gnu.org>
2676
2677 * Makefile.in (custom-deps, finder-data): No need to setq the target
2678 variables, we are in the right directory and the defaults work fine.
2679
4f85b479
GM
26802013-10-30 Glenn Morris <rgm@gnu.org>
2681
ca7dd4cd
GM
2682 * Makefile.in (autoloads): Do not use abs_lisp.
2683
4f85b479
GM
2684 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2685 `newline' does not respect `standard-output', so use `princ'.
2686
cf59e41c
AA
26872013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2688
2689 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2690 * buff-menu.el (Buffer-menu--unmark): New function.
2691 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2692
74cf04fb
GM
26932013-10-30 Glenn Morris <rgm@gnu.org>
2694
b040b60e
GM
2695 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2696
f53d3815
GM
2697 * emacs-lisp/package.el (lm-homepage): Declare.
2698
5413d873
GM
2699 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2700 Fix doc typos.
2701
cecedb36
GM
2702 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2703
74cf04fb
GM
2704 * Makefile.in (finder-data, autoloads, update-subdirs)
2705 (compile-main, compile-clean, compile-always, bootstrap-clean):
2706 Check return value of cd.
2707 (compile-calc): Remove.
2708
195ee2f0
SM
27092013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2710
ae4002ce
SM
2711 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2712
2713 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2714 (byte-compile-and-folded): New function.
2715 (=, <, >, <=, >=): Use it.
2716
2717 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2718 (path-separator, null-device, buffer-file-coding-system)
2719 (lpr-headers-switches): Check system-type before modifying them.
2720 (find-buffer-file-type-coding-system): Mark obsolete.
2721 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2722 find-file-not-found-set-buffer-file-coding-system.
2723 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2724 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2725 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2726 (w32-direct-print-region-helper, w32-direct-print-region-function)
2727 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2728 * startup.el (normal-top-level-add-subdirs-to-load-path):
2729 * ps-print.el (ps-print-region-function):
2730 * lpr.el (print-region-function): Use new name.
2731
53b39e89
SM
2732 * subr.el (custom-declare-variable-early): Remove function.
2733 (custom-declare-variable-list): Remove var.
2734 (error, user-error): Remove `while' loop.
2735 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2736 (user-emacs-directory-warning, locate-user-emacs-file):
2737 Move to files.el.
2738 * simple.el (read-quoted-char-radix, read-quoted-char):
2739 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2740 Move from subr.el.
2741 * custom.el (custom-declare-variable-list): Don't process
2742 custom-declare-variable-list.
2743
195ee2f0
SM
2744 * progmodes/python.el (python-shell-get-buffer): New function.
2745 (python-shell-get-process): Use it.
2746 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2747 Python which encoding was used. Don't split-string since we only care
2748 about the first line. Return the temp-file, if applicable.
2749 (python-shell-send-region): Tell compile.el how to turn locations in
2750 the temp-file into locations in the source buffer.
2751
7e3561ee
SM
27522013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2753
4c9797cb
SM
2754 * subr.el (undefined): Add missing behavior from the C code for
2755 unbound keys.
2756
3472b6c6
SM
2757 * rect.el: Use lexical-binding. Add new rectangular region support.
2758 (rectangle-mark): New command.
2759 (rectangle--region): New var.
2760 (deactivate-mark-hook): Reset rectangle--region.
2761 (rectangle--extract-region, rectangle--insert-for-yank)
2762 (rectangle--highlight-for-redisplay)
2763 (rectangle--unhighlight-for-redisplay): New functions.
2764 (region-extract-function, redisplay-unhighlight-region-function)
2765 (redisplay-highlight-region-function): Use them to handle
2766 rectangular region.
2767 * simple.el (region-extract-function): New var.
2768 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2769 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2770 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2771 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2772 (redisplay-unhighlight-region-function)
2773 (redisplay-highlight-region-function): New vars.
2774 (redisplay--update-region-highlight): New function.
2775 (pre-redisplay-function): Use it.
2776 (exchange-point-and-mark): Don't deactivate the mark before
2777 reactivate-it anyway.
2778 * comint.el (comint-kill-region): Remove yank-handler argument.
2779 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2780 (delete-char): Remove property, since it's now part of their
2781 default behavior.
2782 (self-insert-iso): Remove property since this command doesn't exist.
2783
7e3561ee
SM
2784 * emacs-lisp/package.el (package--download-one-archive)
2785 (describe-package-1): Don't query the user about final newline.
2786
b9bef71f
DC
27872013-10-29 Daniel Colascione <dancol@dancol.org>
2788
2789 * net/tramp.el (tramp-methods): Document new functionality.
2790 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2791 tramp-hostname-checker if method provides one instead of scanning
2792 argument list for "%h" to decide hostname acceptability.
2793
4efc33f0
MA
27942013-10-28 Michael Albinus <michael.albinus@gmx.de>
2795
2796 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2797 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2798 Handle COPY-CONTENTS. (Bug#15737)
2799
ed42a877
DU
28002013-10-28 Daiki Ueno <ueno@gnu.org>
2801
2802 * epa-file.el
7e3561ee
SM
2803 (epa-file-cache-passphrase-for-symmetric-encryption):
2804 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2805
18c9f8a2
XF
28062013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2807
7a4bc7be
XF
2808 * image.el (defimage):
2809 (image-load-path): Doc fixes.
18c9f8a2 2810
b1e8e010
AM
28112013-10-27 Alan Mackenzie <acm@muc.de>
2812
2813 Indent statements in macros following "##" correctly.
7e3561ee
SM
2814 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2815 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2816
73d40d1e 28172013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2818
2819 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2820
c8c605ac
DG
28212013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2822
2823 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2824 after `=' is probably a new expression.
2825
ca7e59d4
RS
28262013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2827
2828 * man.el (man-imenu-title): New option.
2829 (Man-mode-map): Add menu. (Bug#15722)
2830 (Man-mode): Add imenu to menu.
2831
bae91342
DG
28322013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2833
2834 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2835 specific in what the first arg can be: a non-keyword word,
2836 string/regexp/percent literal opener, opening paren, or unary
2837 operator followed directly by word.
2838
eb89dc14
SM
28392013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2840
2841 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2842 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2843 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2844 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2845 Remove vars, they do not apply any more.
2846 (prolog-mode-abbrev-table): Remove redundant declaration.
2847 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2848 (prolog-use-smie): Remove.
2849 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2850 supported by prolog-electric-if-then-else-flag.
2851 (prolog-mode-variables, prolog-menu): Use setq-local.
2852 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2853 Remove binding to `Backspace' since this key doesn't exist anyway.
2854 Remove bindings for electric self-inserting keys.
2855 (prog-mode): Assume it's defined.
2856 (prolog-post-self-insert): New function.
2857 (prolog-mode): Use it.
2858 (prolog-indent-line, prolog-indent-level)
2859 (prolog-find-indent-of-matching-paren)
2860 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2861 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2862 (prolog-goto-next-paren, prolog-in-string-or-comment)
2863 (prolog-tokenize, prolog-inside-mline-comment)
2864 (prolog-find-start-of-mline-comment): Remove functions.
2865 (prolog-find-unmatched-paren, prolog-clause-end)
2866 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2867 (prolog-electric--if-then-else): Rename from
2868 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2869 (prolog-tokenize-searchkey): Remove const.
2870 (prolog-clause-info): Use forward-sexp.
2871 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2872 (prolog-electric-if-then-else): Remove commands.
2873 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2874 for use in post-self-insert-hook.
2875 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2876 for use in post-self-insert-hook.
2877 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2878 for use in post-self-insert-hook.
2879 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2880 adapt it for use in post-self-insert-hook.
2881
3dab0a83
MA
28822013-10-25 Michael Albinus <michael.albinus@gmx.de>
2883
2884 * emacs-lisp/ert.el (ert-run-tests-interactively):
2885 Use `completing-read'. (Bug#9756)
2886
fbfd0e1d
EZ
28872013-10-25 Eli Zaretskii <eliz@gnu.org>
2888
2889 * simple.el (line-move): Call line-move-1 instead of
2890 line-move-visual when the current window hscroll is zero, but
2891 temporary-goal-column indicates we will need to hscroll as result
2892 of the movement. (Bug#15712)
2893
963ce636
DG
28942013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2895
2896 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2897 capitalization. Use :visible instead of :active.
2898 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2899 commands that are used with SMIE.
2900 (ruby-do-end-to-brace): Insert space after `{'.
2901
a0be396a
JA
29022013-10-25 John Anthony <john@jo.hnanthony.com>
2903
f73754c9
JA
2904 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2905
2906 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2907
f5bf77df
GM
29082013-10-25 Glenn Morris <rgm@gnu.org>
2909
2910 * vc/vc.el (vc-print-log): Don't use a working revision unless
2911 one was explicitly specified. (Bug#15322)
2912
37241f62
SM
29132013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2914
2915 * subr.el (add-to-list): Preserve return value in compiler-macro
2916 (bug#15692).
2917
6408a65d
RS
29182013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2919
2920 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2921 result. Ask user to retry using '-all' flag. (Bug#15701)
2922
71e3276b
SM
29232013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * emacs-lisp/smie.el: New smie-config system.
2926 (smie-config): New defcustom.
2927 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2928 (smie-config-guess, smie-config-save): New commands.
2929 (smie-config--mode-local, smie-config--buffer-local)
2930 (smie-config--trace, smie-config--modefuns): New vars.
2931 (smie-config--advice, smie-config--mode-hook)
2932 (smie-config--setter, smie-config-local, smie-config--get-trace)
2933 (smie-config--guess-value, smie-config--guess): New functions.
2934 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2935 text properties. Treat "string fence" syntax like string syntax.
2936
2937 * progmodes/sh-script.el (sh-use-smie): Change default.
2938 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2939 (sh-var-value): Simplify by CSE.
2940 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2941 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2942 is used.
2943 (sh-guess-basic-offset): Use cl-incf.
2944 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2945
60db713e
HE
29462013-10-24 Helmut Eller <eller.helmut@gmail.com>
2947
2948 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2949 (bug#15699).
2950
8b251df6
GM
29512013-10-24 Glenn Morris <rgm@gnu.org>
2952
2953 * Makefile.in (abs_top_srcdir): Remove.
2954 (update-subdirs): Use relative path to update-subdirs.
2955
6be0e22b
EZ
29562013-10-24 Eli Zaretskii <eliz@gnu.org>
2957
2958 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2959 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2960 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2961 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2962
50b5b857
MA
29632013-10-24 Michael Albinus <michael.albinus@gmx.de>
2964
2965 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2966 (ert-test-skipped): New error.
2967 (ert-skip, ert-stats-skipped): New defuns.
2968 (ert--skip-unless): New macro.
2969 (ert-test-skipped): New struct.
2970 (ert--run-test-debugger, ert-test-result-type-p)
2971 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2972 (ert--stats-set-test-and-result, ert-char-for-test-result)
2973 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2974 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2975 Handle skipped tests. (Bug#9803)
50b5b857 2976
6f317c2f
GM
29772013-10-24 Glenn Morris <rgm@gnu.org>
2978
e43817c1
GM
2979 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2980
6f317c2f
GM
2981 * Makefile.in (abs_top_srcdir): New, set by configure.
2982 (update-subdirs): Correct build-aux location.
2983
369bbf71
DG
29842013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2985
8297b2cf
DG
2986 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2987 value, whether we could auto-deduce `backend', or not.
2988
369bbf71
DG
2989 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2990 with parameters" example. Simplify the "is it block or is it
2991 hash" check, but also make it more thorough.
2992
d5f1282f
MF
29932013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2994
2995 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2996
bc4aaa31
SM
29972013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2998
03d44565
SM
2999 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3000 { if it is hanging.
3001
bc4aaa31
SM
3002 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3003 :before ";".
3004
f493ff19
JB
30052013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3006
3007 * progmodes/compile.el (compilation-directory-matcher)
3008 (compilation-page-delimiter):
3009 Support GNU Make-4.0 directory quoting. (Bug#15678)
3010
c744a3b9
LL
30112013-10-23 Leo Liu <sdl.web@gmail.com>
3012
3013 * ido.el (ido-tidy): Handle read-only text.
3014
b8e3b0a9
GM
30152013-10-23 Glenn Morris <rgm@gnu.org>
3016
3017 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3018 (emacs, compile, compile-always):
3019 Quote entities that might contain whitespace.
3020 (custom-deps, finder-data, autoloads): Use abs_lisp.
3021 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3022 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3023 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3024
ee4282cd
DG
30252013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3026
bc4aaa31
SM
3027 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3028 Use `following-char'.
7790a270 3029
ee4282cd 30302013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3031
3032 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3033 * progmodes/ruby-mode.el (ruby-smie-rules):
3034 Remove corresponding workaround. Fix indentation rule of ";" so it
3035 also applies when ";" is the parent.
3036
d40a46d7
XF
30372013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3038
3039 * frame.el (display-screens, display-pixel-height)
3040 (display-pixel-width, display-mm-width, display-backing-store)
3041 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3042 (display-visual-class, display-monitor-attributes-list):
3043 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3044
a0f143c9
MG
30452013-10-22 Michael Gauland <mikelygee@amuri.net>
3046
3047 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3048 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3049
18cacc39
DG
30502013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3051
3052 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3053 TODO. Add "." after " @ ".
3054 (ruby-smie--at-dot-call): New function. Checks if point at method
3055 call with explicit target.
3056 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3057 to the method name tokens when it precedes them.
3058 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3059 (ruby-smie-rules): Add rule for indentation before and after "."
3060 token.
3061
df74c4be
SM
30622013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3063
c6dab55f
SM
3064 * textmodes/remember.el (remember-diary-extract-entries):
3065 Avoid add-to-list.
3066
df74c4be
SM
3067 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3068 an instruction.
3069
8c1ae481
DG
30702013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3071
e9dc713d
JB
3072 * progmodes/ruby-mode.el (ruby-smie-grammar):
3073 Add (almost) all infix operators.
cfef16c0
DG
3074 (ruby-smie--implicit-semi-p): Add new operator chars.
3075
8c1ae481
DG
3076 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3077 `smie-down-list'.
3078 (ruby-smie--args-separator-p): Check that there's no newline
3079 between method call and its arguments.
3080
87756ca9
AM
30812013-10-20 Alan Mackenzie <acm@muc.de>
3082
3083 Allow comma separated lists after Java "implements".
3084
df74c4be
SM
3085 * progmodes/cc-engine.el (c-backward-over-enum-header):
3086 Parse commas.
87756ca9
AM
3087 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3088 from a "disallowed" list in enum fontification.
3089
c25f8957
JB
30902013-10-20 Johan Bockgård <bojohan@gnu.org>
3091
df74c4be 3092 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3093
c25f8957
JB
3094 * progmodes/verilog-mode.el (verilog-mode): Don't set
3095 comment-indent-function globally.
3096
aca5fcdc
JD
30972013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3098
5f161884
JD
3099 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3100 Move Info menu item creation to ns-win.el.
3101
3102 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3103 in menu bar.
3104
aca5fcdc
JD
3105 * menu-bar.el: Move GNUStep specific menus...
3106
3107 * term/ns-win.el (ns-initialize-window-system): ... to here.
3108
914b7f98
SM
31092013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * simple.el (newline): Only run post-self-insert-hook when
3112 called interactively.
3113
846ffe77
JB
31142013-10-19 Johan Bockgård <bojohan@gnu.org>
3115
3116 * icomplete.el (icomplete-with-completion-tables): Add :version.
3117
033f22dd
AM
31182013-10-19 Alan Mackenzie <acm@muc.de>
3119
3120 Fix fontification bugs with constructors and const.
3121
3122 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3123 CASE 2) Remove the check for the absence of a suffix construct
3124 after a function declaration with only types (no identifiers) in
3125 the parentheses. Also, accept a function declaration with just a
3126 type inside the parentheses, if this type can be positively
3127 recognised as such, or if a prefix keyword like "explicit" nails
3128 down the construct as a declaration.
3129
58ce0cfc
EZ
31302013-10-19 Eli Zaretskii <eliz@gnu.org>
3131
3132 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3133 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3134 the problem whereby selecting a menu item that leads to a
3135 minibuffer prompt moves the cursor out of the minibuffer window,
3136 making it hard to type at the prompt. Suggested by Stefan Monnier
3137 <monnier@iro.umontreal.ca>.
3138
50e28e7d
JD
31392013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3140
3141 * menu-bar.el: Don't make Services menu.
3142
7deed4bf
RS
31432013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3144
3145 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3146 (ffap-alist): Use ffap-c++-mode for c++-mode.
3147 (ffap-c++-path): New variable.
3148 (ffap-c++-mode): New function.
3149
7bcb455b
JVJ
31502013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3151
3152 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3153
f0ff1cd5
MA
31542013-10-18 Michael Albinus <michael.albinus@gmx.de>
3155
3156 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3157 introduced on 2013-09-08, which results in an infinite loop
3158 requesting a password.
3159
d64da4b7
GM
31602013-10-18 Glenn Morris <rgm@gnu.org>
3161
3162 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3163
ea89ff08
WS
31642013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3165
3166 Sync with upstream verilog-mode revision 1a6ecec7.
3167 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3168 (verilog-mode-release-date): Remove.
3169 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3170 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3171 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3172 (verilog-auto-tieoff-ignore-regexp)
3173 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3174 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3175 (verilog-signals-with, verilog-dir-cache-preserving)
3176 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3177 Doc fixes.
3178 (verilog-case-fold): New option, to control case folding in
3179 regexp searches, bug597.
3180 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3181 (verilog-string-match-fold, verilog-in-paren-count)
3182 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3183 (verilog-at-close-struct-p): New functions.
3184 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3185 (verilog-forward-sexp, verilog-set-auto-endcomments):
3186 (verilog-leap-to-case-head): Handle "unique0" case.
3187 (verilog-in-constraint-re): New constant.
3188 (verilog-keywords, verilog-type-font-keywords):
3189 Add some SystemVerilog 1800-2012 keywords.
3190 (verilog-label-be): Remove unimplemented argument, bug669.
3191 (verilog-batch-execute-func): When batch expanding clear
3192 create-lockfiles to prevent spurious user locks when a file ends
3193 up not changing.
3194 (verilog-calculate-indent, verilog-calc-1)
3195 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3196 (verilog-do-indent): Fix indentation of nested constraints
3197 and structures.
3198 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3199 (verilog-auto-inst-param): Use verilog-string-match-fold.
3200 (verilog-read-inst-module-matcher):
3201 Fix AUTOINST on gate primitives with #1.
3202 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3203 Reads all user-defined typed variables.
3204 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3205 (verilog-signals-matching-regexp)
3206 (verilog-signals-not-matching-regexp, verilog-auto):
3207 Respect verilog-case-fold.
3208 (verilog-diff-report): Fix line count.
3209 (verilog-auto-assign-modport): Remove unused local `modi'.
3210 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3211 better handle multidimensional arrays.
3212 Fix packed array ports misadding bit index in AUTOINST, bug637.
3213 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3214 to not double-declare existing outputs and inputs, respectively.
3215 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3216 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3217 (verilog-sk-uvm-component): New skeleton.
3218 (verilog-submit-bug-report): Add verilog-case-fold,
3219 remove verilog-mode-release-date.
3220
ef566920
BR
32212013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3222
3223 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3224 as before.
3225
29df8a0b
RT
32262013-10-18 Reuben Thomas <rrt@sc3d.org>
3227
e0eb0550 3228 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3229 remember buffers (bug#13566).
3230
04a19a79
DC
32312013-10-18 Daniel Colascione <dancol@dancol.org>
3232
3233 When evaluating forms in ielm, direct standard output to ielm
3234 buffer. Add new ielm-return-for-effect command. Remove trailing
3235 whitespace throughout.
3236
3237 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3238 (ielm-return-for-effect): New command.
3239 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3240 (ielm-eval-input): Accept optional `for-effect' parameter.
3241 Bind `standard-output' to stream we create using
04a19a79
DC
3242 `ielm-standard-output-impl'. Suppress printing result when
3243 `for-effect'.
3244 (ielm-standard-output-impl): New function.
3245 (inferior-emacs-lisp-mode): Explain new features in documentation.
3246
4c1f03ef
MA
32472013-10-17 Michael Albinus <michael.albinus@gmx.de>
3248
3249 Code cleanup.
3250
3251 * net/tramp.el (tramp-debug-message): Do not check for connection
3252 buffer.
3253 (tramp-message): Use "vector" connection property.
3254
3255 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3256 (tramp-equal-remote, tramp-eshell-directory-change)
3257 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3258 (tramp-adb-handle-rename-file)
3259 * net/tramp-cmds.el (tramp-list-remote-buffers)
3260 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3261 * net/tramp-compat.el (tramp-compat-process-running-p)
3262 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3263 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3264 (tramp-gvfs-handle-rename-file)
3265 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3266 (tramp-set-file-uid-gid)
3267 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3268 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3269 of `file-remote-p'.
3270
3271 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3272 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3273 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3274 (tramp-gw-open-network-stream): Suppress unrelated traces.
3275
3276 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3277 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3278 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3279 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3280 connection property.
3281
3282 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3283 persistency file.
4c1f03ef
MA
3284
3285 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3286 Refactor common code. Improve debug message.
3287 (tramp-maybe-open-connection)
3288 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3289 connection buffer too early.
3290
3291 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3292 from `tramp-smb-actions-with-acl'.
3293 (tramp-smb-actions-set-acl): New defconst.
3294 (tramp-smb-handle-copy-directory)
3295 (tramp-smb-action-get-acl): New defun, renamed from
3296 `tramp-smb-action-with-acl'.
3297 (tramp-smb-action-set-acl): New defun.
3298 (tramp-smb-handle-set-file-acl): Rewrite.
3299
642eb8b6
GM
33002013-10-17 Glenn Morris <rgm@gnu.org>
3301
3302 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3303
85527ff3
SM
33042013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3305
921c1d62
SM
3306 * skeleton.el (skeleton-newline): Remove.
3307 (skeleton-internal-1): Use (insert "\n") instead.
3308
e333fb10
SM
3309 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3310 let-bindings.
3311
85527ff3
SM
3312 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3313 forward-sexp-function while we redo its job (bug#15613).
3314
c8722a97
JB
33152013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3316
3317 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3318 represented by lists.
3319
7a550bbb
GM
33202013-10-16 Glenn Morris <rgm@gnu.org>
3321
3322 * tmm.el (tmm--history): New dynamic variable.
3323 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3324
f19da8ad
MA
33252013-10-16 Michael Albinus <michael.albinus@gmx.de>
3326
3327 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3328 (tramp-smb-errors): Add error messages.
3329 (tramp-smb-actions-with-acl): New defconst.
3330 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3331 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3332 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3333 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3334 (tramp-smb-get-stat-capability): Fix tests.
3335
a24b9961
DK
33362013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3337
3338 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3339 (bug#15580).
3340
62ad85e6
GM
33412013-10-16 Glenn Morris <rgm@gnu.org>
3342
0283d6b0
GM
3343 * ansi-color.el (ansi-color-drop-regexp):
3344 Add 1J, 1K, 2K. (Bug#15617)
3345
012e2f9f
GM
3346 * files.el (hack-local-variables--warned-lexical): New.
3347 (hack-local-variables):
3348 Warn about misplaced lexical-binding. (Bug#15616)
3349
62ad85e6
GM
3350 * net/eww.el (eww-render): Always set eww-current-url,
3351 and update header line. (Bug#15622)
3352 (eww-display-html): ... Rather than just doing it here.
3353
6456c0ea
EZ
33542013-10-15 Eli Zaretskii <eliz@gnu.org>
3355
3356 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3357 menu navigations commands.
3358
c2de5588
DK
33592013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3360
3361 * progmodes/subword.el (subword-capitalize): Be careful when
3362 the search for [[:alpha:]] fails (bug#15580).
3363
ccd4a783
EZ
33642013-10-14 Eli Zaretskii <eliz@gnu.org>
3365
3366 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3367 to commands that scroll the menu.
3368
1eda1d8d
DG
33692013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3370
c2de5588
DK
3371 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3372 Handle methods ending with `?' and `!'.
1eda1d8d 3373
e70181b8
AM
33742013-10-14 Akinori MUSHA <knu@iDaemons.org>
3375
3376 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3377 `japanese-cp932' to `cp932' to fix the problem where saving a
3378 source file written in Shift_JIS twice would end up having
3379 `coding: japanese-cp932' which Ruby could not recognize.
3380 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3381 in `ruby-encoding-map'.
3382 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3383 doesn't need to be explicitly declared in magic comment.
3384 (ruby-encoding-map): Add type declaration for better customize UI.
3385
9148ee92
GM
33862013-10-13 Glenn Morris <rgm@gnu.org>
3387
a5d38e34
GM
3388 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3389 Occur buffers are read-only. http://bugs.debian.org/720775
3390
9148ee92
GM
3391 * emacs-lisp/authors.el (authors-fixed-entries):
3392 Comment out old alpha stuff.
3393
a9ba094b
DG
33942013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3395
3396 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3397 to `after-save-hook' instead of `before-save-hook'.
3398 (ruby-mode-set-encoding): Use the value of coding system used to
3399 write the file. Call `basic-save-buffer-1' after modifying the
3400 buffer.
3401
7a068717
AM
34022013-10-13 Alan Mackenzie <acm@muc.de>
3403
3404 Fix indentation/fontification of Java enum with
3405 "implements"/generic.
3406
c2de5588
DK
3407 * progmodes/cc-engine.el (c-backward-over-enum-header):
3408 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3409 (c-inside-bracelist-p): Uses new function above.
3410 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3411 function above.
3412 (c-font-lock-enum-tail): Uses new function above.
3413
85b64f02
KH
34142013-10-13 Kenichi Handa <handa@gnu.org>
3415
3416 * international/mule-cmds.el (select-safe-coding-system): Remove a
3417 superfluous condition in chekcing whether a coding system is safe
3418 or not.
3419
fc7f501b
OK
34202013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3421
3422 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3423
fdcb2049
AP
34242013-10-13 Andreas Politz <politza@hochschule-trier.de>
3425
3426 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3427
8c106d17
GM
34282013-10-13 Glenn Morris <rgm@gnu.org>
3429
feab892d
GM
3430 * menu-bar.el (menu-bar-update-buffers):
3431 Unify Buffers menu prompt string. (Bug#15576)
3432
b22d0686
GM
3433 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3434
8c106d17
GM
3435 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3436 Add some entries.
3437 (authors-fixed-entries): Use accented form of name.
3438
1b12c797
SM
34392013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3440
650fa7bf 3441 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3442 method calls (bug#15594).
650fa7bf
SM
3443 (ruby-smie--args-separator-p): New function.
3444 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3445 recognize paren-free method calls.
3446
1b12c797
SM
3447 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3448 internals of universal-argument.
3449
029619c8
EZ
34502013-10-11 Eli Zaretskii <eliz@gnu.org>
3451
3452 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3453 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3454 dropped menu on second mouse click on the menu bar.
029619c8 3455
dd070019
SM
34562013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3457
3458 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3459 (explicit-shell-file-name): Declare.
3460 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3461 (sh-completion-at-point-function): New function.
3462 (sh-mode): Use it.
3463 (sh-smie--keyword-p): Remove unused argument.
3464 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3465 vars.
3466 (sh-set-shell): Always setup SMIE, even if we use the
3467 old indentation code.
3468
0922b826
DG
34692013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3470
b68e2926
DG
3471 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3472 cases of ? and =.
3473 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3474 predicate would return nil are almost non-existent.
3475 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3476
0922b826
DG
3477 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3478 cache also after commands that modify the buffer but don't move
3479 point.
3480
ee041f2d
SM
34812013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3482
3483 * env.el (substitute-env-in-file-name): New function.
3484 (substitute-env-vars): Extend the meaning of the optional arg.
3485
a5dab159
EZ
34862013-10-10 Eli Zaretskii <eliz@gnu.org>
3487
3488 * term/w32-win.el (dynamic-library-alist): Define separate lists
3489 of GIF DLLs for versions before and after 5.0.0 of giflib.
3490 (Bug#15531)
3491
0449d6cd 34922013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3493
3494 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3495 not locked, use last revision and current source as
3496 defaults. (Bug#15569)
3497
2f6e161e
MY
34982013-10-10 Masatake YAMATO <yamato@redhat.com>
3499
3500 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3501 menu-bar is hidden.
3502
6c8413fc
MR
35032013-10-10 Martin Rudalics <rudalics@gmx.at>
3504
3505 * window.el (pop-to-buffer-same-window): Fix doc-string.
3506 (Bug#15492)
3507
20832de0
SM
35082013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3509
3510 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3511
c6e8ae77
AC
35122013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3513
3514 * calendar/icalendar.el (icalendar-import-file):
3515 Fix interactive spec. (Bug#15482)
3516
9db13baf
GM
35172013-10-10 Glenn Morris <rgm@gnu.org>
3518
9271e90e
GM
3519 * desktop.el (desktop-save): Default to saving in .emacs.d,
3520 since PWD is no longer in desktop-path by default. (Bug#15319)
3521
9db13baf
GM
3522 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3523 now that text mode has a menu with the same entry.
3524 (menu-bar-text-mode-auto-fill): Remove now unused func.
3525 * textmodes/text-mode.el (text-mode-map):
3526 Use auto-fill help text from menu-bar.el.
3527
a0be396a 35282013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3529
3530 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3531
2edcd3c7
JL
35322013-10-09 Juri Linkov <juri@jurta.org>
3533
3534 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3535 instead of this-command-keys. Add universal-argument-more and
3536 universal-argument-minus to the list of prefix commands. (Bug#15568)
3537
574411d0
GM
35382013-10-09 Glenn Morris <rgm@gnu.org>
3539
14afa541
GM
3540 * vc/vc-svn.el (vc-svn-create-repo):
3541 Expand paths in file://... url. (Bug#15446)
3542
574411d0
GM
3543 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3544 Add some entries.
3545 (authors): Remove unused local variables.
3546
79804536
SM
35472013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3548
3549 * profiler.el: Create a more coherent calltree from partial backtraces.
3550 (profiler-format): Hide the tail with `invisible' so that C-s can still
3551 find the hidden elements.
3552 (profiler-calltree-depth): Don't recurse so enthusiastically.
3553 (profiler-function-equal): New hash-table-test.
3554 (profiler-calltree-build-unified): New function.
3555 (profiler-calltree-build): Use it.
3556 (profiler-report-make-name-part): Indent the calltree less.
3557 (profiler-report-mode): Add visibility specs for profiler-format.
3558 (profiler-report-expand-entry, profiler-report-toggle-entry):
3559 Expand the whole subtree when provided with a prefix arg.
3560
238150c8
DG
35612013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3562
3563 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3564 iuwu-mod token.
3565 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3566 hanging iuwu-mod token.
3567 (ruby-smie--forward-token): Do not include a dot after a token in
3568 that token.
3569 (ruby-smie--backward-token): Likewise.
3570
b0949cc4
JL
35712013-10-08 Juri Linkov <juri@jurta.org>
3572
3573 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3574 to isearch-other-control-char.
3575 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3576 and isearch-post-command-hook to post-command-hook.
3577 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3578 and isearch-post-command-hook from post-command-hook.
3579 (isearch-unread-key-sequence)
3580 (isearch-reread-key-sequence-naturally)
3581 (isearch-lookup-scroll-key, isearch-other-control-char)
3582 (isearch-other-meta-char): Remove functions.
3583 (isearch-pre-command-hook, isearch-post-command-hook):
3584 New functions based on isearch-other-meta-char rewritten
3585 relying on the new behavior of overriding-terminal-local-map
3586 that does not replace the local keymaps any more. (Bug#15200)
3587
4ed77415
EZ
35882013-10-08 Eli Zaretskii <eliz@gnu.org>
3589
3590 Support menus on text-mode terminals.
3591 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3592 functionality.
3593
3594 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3595
c2de5588
DK
3596 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3597 Move here from mouse.el.
4ed77415
EZ
3598 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3599 and arrow keys.
3600 (tty-menu-navigation-map): New map for TTY menu navigation.
3601
3602 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3603
3604 * frame.el (display-mouse-p): Report text-mode mouse as available
3605 on w32.
3606 (display-popup-menus-p): Report availability if mouse is
3607 available; don't condition on window-system.
3608
3609 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3610 (tty-menu-selected-face): New faces.
3611
b7d5bd82
TL
36122013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3613
06286513
SM
3614 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3615 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3616 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3617 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3618 New constants.
3619 (lisp-mode-variables): New `elisp' argument.
3620 (emacs-lisp-mode): Use it.
3621 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3622 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3623
b7d5bd82
TL
3624 * indent.el: Use lexical-binding.
3625 (indent-region): Add progress reporter.
3626 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3627 last step.
3628 (indent--next-tab-stop): New function to implement this behavior.
3629 (tab-to-tab-stop, move-to-tab-stop): Use it.
3630
36312013-10-08 Teemu Likonen <tlikonen@iki.fi>
3632
3633 * indent.el (indent-rigidly--current-indentation): New function.
3634 (indent-rigidly-map): New var.
3635 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3636
5ea75d23
BG
36372013-10-08 Bastien Guerry <bzg@gnu.org>
3638
3639 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3640
cc5da1ec
SM
36412013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3642
8ffa1a0b
SM
3643 * progmodes/perl-mode.el: Use lexical-binding.
3644 Remove redundant :group args.
3645 (perl-nochange): Change default to be closer to other major modes's
3646 standard behavior.
3647 (perl-indent-line): Don't consider text on current line as a
3648 valid beginning of function from which to indent.
3649
f2223371
SM
3650 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3651 with more than one argument (bug#15538).
3652
44256060
SM
3653 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3654
cc5da1ec
SM
3655 * vc/pcvs.el: Use lexical-binding.
3656 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3657 environment of `eval'.
3658 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3659 than a list of expressions. Adjust callers.
3660 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3661
0ea1599d
DG
36622013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3663
3664 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3665 case of the dot in a chained method call being on the following line.
0ea1599d 3666
da3e5ebb
SM
36672013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3668
2abb4e65
SM
3669 * electric.el (electric-indent-inhibit): New var.
3670 (electric-indent-post-self-insert-function): Use it.
3671 * progmodes/python.el (python-mode): Set it.
3672
d2e0e795
SM
3673 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3674 open braces.
3675
3676 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3677
bdc6b4c8
SM
3678 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3679 (css-mode): Use electric-indent-chars.
3680
da3e5ebb
SM
3681 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3682 (font-lock-beg, font-lock-end): Move before first use.
3683 (nxml-mode): Use syntax-propertize-function.
3684 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3685 (nxml-extend-after-change-region): Remove.
3686 * nxml/xmltok.el: Use lexical-binding.
3687 (xmltok-save): Use `declare'.
3688 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3689 * nxml/nxml-util.el: Use lexical-binding.
3690 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3691 Use `declare'.
3692 * nxml/nxml-ns.el: Use lexical-binding.
3693 (nxml-ns-save): Use `declare'.
3694 (nxml-ns-prefixes-for): Avoid add-to-list.
3695 * nxml/rng-match.el: Use lexical-binding.
3696 (rng--ipattern): Use cl-defstruct.
3697 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3698 (rng-cons-group-after, rng-subst-group-after)
3699 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3700 Use closures instead of `(lambda...).
3701
f8f91d5d
MA
37022013-10-07 Michael Albinus <michael.albinus@gmx.de>
3703
3704 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3705 of BEG and END.
3706
da3e5ebb
SM
3707 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3708 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3709 (tramp-gvfs-handle-insert-file-contents): Remove function.
3710
da3e5ebb
SM
3711 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3712 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3713
3714 * net/trampver.el: Update release number.
3715
7ccae3b1
SM
37162013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3717
55ca2c0d
SM
3718 * progmodes/compile.el (compilation-parse-errors):
3719 Use compilation--put-prop.
3720 (compilation--ensure-parse): Check compilation-multiline.
3721
731fc3ae
SM
3722 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3723
da3e5ebb
SM
3724 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3725 lexical-binding.
a5833280 3726
2e7ba2c2
SM
3727 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3728
7ccae3b1
SM
3729 * progmodes/ruby-mode.el: Fix recently added tests.
3730 (ruby-smie-grammar): Add - and +.
3731 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3732 (ruby-smie--backward-id): New functions.
3733 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3734 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3735 any more.
3736
85698d63
LL
37372013-10-07 Leo Liu <sdl.web@gmail.com>
3738
3739 * register.el (register-preview-delay)
3740 (register-preview-functions): New variables.
3741 (register-read-with-preview, register-preview)
3742 (register-describe-oneline): New functions.
3743 (point-to-register, window-configuration-to-register)
3744 (frame-configuration-to-register, jump-to-register)
3745 (number-to-register, view-register, insert-register)
3746 (copy-to-register, append-to-register, prepend-to-register)
3747 (copy-rectangle-to-register): Use register-read-with-preview to
3748 read register. (Bug#15525)
3749
3986af6c
DS
37502013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3751
3752 * net/network-stream.el (network-stream-open-starttls): Don't add
3753 --insecure if it's already present, because that gnutls-cli
3754 rejects getting that parameter twice.
3755
5cd9cda9
DG
37562013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3757
3758 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3759 keyword, too.
3760
da9ea6d9
DG
37612013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3762
3763 * newcomment.el (comment-use-global-state): Change default value
3764 to t, mark obsolete (Bug#15251).
3765 (comment-beginning): In addition to `comment-to-syntax', check the
3766 value of `comment-use-global-state'.
3767
34d1a133
SM
37682013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3769
3770 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3771 (ruby-comment-column): Follow the global default, by default.
3772 (ruby-smie-grammar): Add assignment syntax.
3773 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3774 open-paren, a comma, or a \.
3775 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3776 and line continuations.
3777 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3778 followed by implicit semi-colons. Add rule for string concatenation
3779 and for indentation at BOB.
3780 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3781
3782 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3783 calling next-sexp, since next-token may have skipped chars which
3784 next-sexp doesn't know should be skipped!
3785
6f6ab820
LL
37862013-10-05 Leo Liu <sdl.web@gmail.com>
3787
34d1a133
SM
3788 * progmodes/octave.el (octave-send-region):
3789 Call compilation-forget-errors.
6f6ab820 3790
34ca0f4c
XF
37912013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3792
3793 * vc/vc-svn.el (vc-svn-find-admin-dir):
3794 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3795 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3796 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3797 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3798
a27c1b72
SM
37992013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3800
3801 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3802
258ab3bc
SM
38032013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3804
3805 * subr.el (read-passwd): Hide chars even when called within a context
3806 where after-change-functions is disabled (bug#15501).
3807 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3808 until we removed ourself from overriding-terminal-local-map.
3809
939fb29c
LL
38102013-10-04 Leo Liu <sdl.web@gmail.com>
3811
258ab3bc
SM
3812 * progmodes/octave.el (inferior-octave-mode):
3813 Call compilation-forget-errors.
939fb29c 3814
63bd7f35
XF
38152013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3816
3817 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3818
9e6229fa
MA
38192013-10-04 Michael Albinus <michael.albinus@gmx.de>
3820
3821 * net/secrets.el (secrets-create-collection): Add optional
3822 argument ALIAS. Use proper Label keyword. Append ALIAS as
3823 dbus-call-method argument. (Bug#15516)
3824
1dab32a3
LL
38252013-10-04 Leo Liu <sdl.web@gmail.com>
3826
3827 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3828 (inferior-octave-compilation-font-lock-keywords): New variables.
3829 (compilation-error-regexp-alist)
3830 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3831 (inferior-octave-mode): Use compilation-shell-minor-mode.
3832
6cad7ba3
JS
38332013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3834
3835 * minibuffer.el (completion--replace): Be careful that `end' might be
3836 a marker.
3837
acbadd00
DU
38382013-10-03 Daiki Ueno <ueno@gnu.org>
3839
3840 Add support for package signature checking.
3841 * emacs-lisp/package.el (url-http-file-exists-p)
3842 (epg-make-context, epg-context-set-home-directory)
3843 (epg-verify-string, epg-context-result-for)
3844 (epg-signature-status, epg-signature-to-string)
3845 (epg-check-configuration, epg-configuration)
3846 (epg-import-keys-from-file): Declare.
3847 (package-check-signature): New user option.
3848 (package-unsigned-archives): New user option.
3849 (package-desc): Add `signed' field.
3850 (package-load-descriptor): Set `signed' field if .signed file exists.
3851 (package--archive-file-exists-p): New function.
3852 (package--check-signature): New function.
3853 (package-install-from-archive): Check package signature.
3854 (package--download-one-archive): Check archive signature.
3855 (package-delete): Remove .signed file.
3856 (package-import-keyring): New command.
3857 (package-refresh-contents): Import default keyring.
3858 (package-desc-status): Add "unsigned" status.
3859 (describe-package-1, package-menu--print-info)
3860 (package-menu-mark-delete, package-menu--find-upgrades)
3861 (package-menu--status-predicate): Support "unsigned" status.
3862
adf2aa61
SM
38632013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3866 the new compilation scheme using the new byte-codes.
3867
3868 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3869 (byte-pophandler): New byte codes.
3870 (byte-goto-ops): Adjust accordingly.
3871 (byte-compile--use-old-handlers): New var.
3872 (byte-compile-catch): Use new byte codes depending on
3873 byte-compile--use-old-handlers.
3874 (byte-compile-condition-case--old): Rename from
3875 byte-compile-condition-case.
3876 (byte-compile-condition-case--new): New function.
3877 (byte-compile-condition-case): New function that dispatches depending
3878 on byte-compile--use-old-handlers.
3879 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3880 when we can.
3881
3882 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3883 Optimize under `condition-case' and `catch' if
3884 byte-compile--use-old-handlers is nil.
3885 (disassemble-offset): Handle new bytecodes.
3886
328a8179
SM
38872013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3888
3889 * subr.el (error): Use `declare'.
3890 (decode-char, encode-char): Use advertised-calling-convention instead
3891 of the docstring to discourage use of the `restriction' arg.
3892
15a1e936
DU
38932013-10-03 Daiki Ueno <ueno@gnu.org>
3894
3895 * epg.el (epg-verify-file): Add a comment saying that it does not
3896 notify verification error as a return value nor a signal.
3897 (epg-verify-string): Ditto.
3898
376f862a
KR
38992013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3900
3901 * progmodes/compile.el (compilation-start): Try globbing the arg to
3902 `cd' (bug#15417).
3903
a2f93a5f
MA
39042013-10-02 Michael Albinus <michael.albinus@gmx.de>
3905
3906 Sync with Tramp 2.2.8.
3907
3908 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3909 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3910 * net/trampver.el: Update release number.
3911
0daa0804
JD
39122013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3913
3914 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3915 and default-process-coding-system for darwin only.
3916
abd1ae34
SM
39172013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3918
3919 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3920
be4e325d
MH
39212013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3922
3923 * vc/vc-git.el (vc-git-grep): Disable pager.
3924
e9155c4a
DG
39252013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3926
494e898b
DG
3927 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3928 Use :url instead of :homepage, as per
3929 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3930
e9155c4a
DG
3931 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3932 non-nil, use `syntax-ppss' (Bug#15251).
3933
481a8e0f
RS
39342013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3935
be4e325d
MH
3936 * progmodes/octave.el (inferior-octave-startup-file):
3937 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3938
056453c6
DG
39392013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3940
be4e325d
MH
3941 * emacs-lisp/package.el (package-desc-from-define):
3942 Accept additional arguments as plist, convert them to an alist and store
3943 them in the `extras' slot.
056453c6
DG
3944 (package-generate-description-file): Convert extras alist back to
3945 plist and append to the `define-package' form arguments.
3946 (package--alist-to-plist): New function.
3947 (package--ac-desc): Add `extras' slot.
3948 (package--add-to-archive-contents): Check if the archive-contents
3949 vector is long enough, and if it is, pass its `extras' slot value
3950 to `package-desc-create'.
3951 (package-buffer-info): Call `lm-homepage', pass the returned value
3952 to `package-desc-from-define'.
3953 (describe-package-1): Render the homepage button (Bug#13291).
3954
be4e325d
MH
3955 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3956 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3957
832966e5
JD
39582013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3959
3960 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3961 and default-process-coding-system to utf-8-unix (Bug#15402).
3962
6cfe977d
XF
39632013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3964
3965 * subr.el (looking-back): Do not recommend using looking-back.
3966
38de11bd
AM
39672013-09-28 Alan Mackenzie <acm@muc.de>
3968
3969 Fix indentation/fontification of Java enum with "implements".
3970
3971 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3972 regexp which matches "implements", etc., in Java.
3973 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3974 specifier clauses coming after "enum".
3975 * progmodes/cc-fonts.el (c-font-lock-declarations)
3976 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3977 after "enum".
3978
1610938f
JD
39792013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3980
3981 * faces.el (region): Change ns_selection_color to
3982 ns_selection_fg_color, add ns_selection_bg_color.
3983
e090f499
LL
39842013-09-28 Leo Liu <sdl.web@gmail.com>
3985
4d2e94d1
LL
3986 * progmodes/octave.el (inferior-octave-completion-table)
3987 (inferior-octave-completion-at-point): Minor tweaks.
3988
e090f499
LL
3989 * textmodes/ispell.el (ispell-lookup-words): Rename from
3990 lookup-words. (Bug#15460)
3991 (lookup-words): Obsolete.
3992 (ispell-complete-word, ispell-command-loop): All uses changed.
3993
7e138a62
RS
39942013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3995
3996 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3997 (octave-mode-menu): Add octave-send-buffer.
3998 (octave-send-buffer): New function.
3999
5af5ed08
RS
40002013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4001
4002 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
4003 octave-lookfor.
4004 (octave-mode-menu): Add octave-lookfor.
4005 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4006 octave-lookfor.
4007 (octave-lookfor): New function.
4008
3b7b2692
SM
40092013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4010
4011 * emacs-lisp/cl-macs.el:
4012 (cl--loop-destr-temps): Remove.
4013 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4014 its convention.
4015 (cl--loop-set-iterator-function): New function.
4016 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4017 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4018 Bind `it' with `let' instead of substituting it with `cl-subst'.
4019 (cl--unused-var-p): New function.
4020 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4021 Eliminate some unused variable warnings (bug#15326).
4022
529fb53f
TH
40232013-09-27 Tassilo Horn <tsdh@gnu.org>
4024
4025 * doc-view.el (doc-view-scale-reset): Rename from
4026 `doc-view-reset-zoom-level'.
4027 (doc-view-scale-adjust): New command.
4028 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4029 `doc-view-scale-adjust'.
4030
0550c95a
TH
40312013-09-26 Tassilo Horn <tsdh@gnu.org>
4032
4033 * doc-view.el (doc-view-reset-zoom-level): New command.
4034 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4035 zoom commands (bug#15466).
4036
6950f152
KH
40372013-09-26 Kenichi Handa <handa@gnu.org>
4038
4039 * international/quail.el (quail-help): Make it not a command.
4040
39587580
LL
40412013-09-26 Leo Liu <sdl.web@gmail.com>
4042
4043 * minibuffer.el (completion-all-sorted-completions): Make args
4044 optional as they are.
4045
00578659
DC
40462013-09-25 Daniel Colascione <dancol@dancol.org>
4047
4048 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4049 specs are and that they're not evaluated.
4050
0c173878
SS
40512013-09-24 Sam Steingold <sds@gnu.org>
4052
4053 * midnight.el (clean-buffer-list-kill-regexps)
4054 (clean-buffer-list-kill-buffer-names): Update for the new Man
4055 buffer naming which includes the object name.
4056
84998447
SM
40572013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4058
4059 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4060 (eshell-parse-command, eshell-parse-pipeline): Use it since
4061 eshell-separate-commands requires a dynamic scoped var.
4062 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4063
33215353
LL
40642013-09-23 Leo Liu <sdl.web@gmail.com>
4065
4066 * autoinsert.el (auto-insert-alist): Make the value of
4067 lexical-binding match its file setting.
4068
57b16162
JB
40692013-09-23 Juanma Barranquero <lekktu@gmail.com>
4070
c8af4e67
JB
4071 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4072
57b16162
JB
4073 * autoarg.el (autoarg-kp-digit-argument):
4074 * electric.el (Electric-command-loop):
4075 * kmacro.el (kmacro-step-edit-insert):
4076 Do not set universal-argument-num-events.
4077
7186ba60
LL
40782013-09-22 Leo Liu <sdl.web@gmail.com>
4079
4080 * files.el (interpreter-mode-alist): Add octave.
4081
ece15004
AM
40822013-09-21 Alan Mackenzie <acm@muc.de>
4083
4084 C++: fontify identifier in declaration following "public:" correctly.
4085 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4086 to match "public", etc.
4087 (c-decl-prefix-re): Add ":" into the C++ value.
4088 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4089 bit. Add a check for a ":" preceded by "public", etc.
4090
75d83e22
EZ
40912013-09-21 Eli Zaretskii <eliz@gnu.org>
4092
4093 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4094 recognized by GDB 7.5 and later.
4095
d052d3bd
XF
40962013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4097
4098 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4099
31dca772
R
41002013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4101
4102 * subr.el (internal--call-interactively): New const.
4103 (called-interactively-p): Use it (bug#3984).
4104
98ccf24e
XF
41052013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4106
4107 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4108 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4109 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4110
c39cc7d1
SM
41112013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4112
4113 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4114 (eshell-ls-orig-insert-directory): Remove.
4115 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4116 (eshell-ls-use-in-dired): Use advice-add/remove.
4117 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4118 Add `orig-fun' arg for use in :around advice.
4119 Make it check (redundantly) eshell-ls-use-in-dired.
4120
9a0289a2
GM
41212013-09-19 Glenn Morris <rgm@gnu.org>
4122
a2c501b8
GM
4123 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4124
c440407a
GM
4125 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4126
9a0289a2
GM
4127 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4128
85e05915
MA
41292013-09-19 Michael Albinus <michael.albinus@gmx.de>
4130
4131 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4132 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4133 (tramp-get-remote-python): New defuns.
4134 (tramp-get-remote-uid-with-perl)
4135 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4136 contributed by yary <not.com@gmail.com> (tiny change).
4137 (tramp-get-remote-uid-with-python)
4138 (tramp-get-remote-gid-with-python): New defuns. Python code
4139 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4140 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4141
ce503312
GM
41422013-09-19 Glenn Morris <rgm@gnu.org>
4143
f7544773
GM
4144 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4145
72fd2877
GM
4146 * eshell/em-unix.el (eshell-remove-entries):
4147 Rename argument to avoid name-clash with global `top-level'.
4148
336b5a56
GM
4149 * eshell/esh-proc.el (eshell-kill-process-function):
4150 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4151 (eshell-reset-after-proc): Remove unused arg `proc'.
4152
57a3a53d
GM
4153 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4154 (directory-files-and-attributes): Mark unused arg.
4155
3261d4af
GM
4156 * eshell/em-unix.el (eshell-remove-entries):
4157 Remove unused arg `path'. Update callers.
4158
8e51b5d0
GM
4159 * eshell/em-hist.el (eshell-hist-parse-arguments):
4160 Remove unused arg `silent'. Update callers.
4161
ce503312
GM
4162 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4163 Fix (f)boundp mix-up.
4164
4165 * eshell/em-smart.el (eshell-smart-scroll-window)
4166 (eshell-disable-after-change):
336b5a56 4167 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4168
ee3ce8a7
AM
41692013-09-18 Alan Mackenzie <acm@muc.de>
4170
4171 Fix fontification of type when followed by "const".
4172 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4173 "known" types from fontification.
4174
ec9177ba
GM
41752013-09-18 Glenn Morris <rgm@gnu.org>
4176
7bb3e768
GM
4177 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4178 (chart-face-list): Drop Emacsen without display-color-p.
4179
5148da15
GM
4180 * net/eww.el (libxml-parse-html-region): Declare.
4181 (eww-display-html): Explicit error if no libxml2 support.
4182
2f68e157
GM
4183 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4184
9019d095
GM
4185 * image.el (image-type-from-buffer, image-multi-frame-p):
4186 Remove --without-x warning/error.
67645389 4187
5f30349b 4188 * mouse.el (mouse-yank-primary):
45069b2e 4189 * term.el (term-mouse-paste):
5f30349b
GM
4190 Reorder to silence --without-x compilation.
4191
cd8edbbe
GM
4192 * mpc.el (doc-view-mode): Silence --without-x compilation.
4193
8a78544e
GM
4194 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4195 Silence --without-x compilation.
4196
12679bfd
GM
4197 * progmodes/gud.el (gud-find-file, gud-mode):
4198 Silence --without-x compilation.
4199 (tooltip-mode): Declare.
30810a05 4200
f0047cb9
GM
4201 * wdired.el (dired-backup-overwrite): Remove declaration.
4202 (wdired-mode-map): Add doc string.
4203
e740f9d2
GM
4204 * custom.el (x-get-resource): Declare.
4205
92d77c89
GM
4206 * eshell/em-glob.el (ange-cache):
4207 * eshell/em-unix.el (ange-cache): Declare.
4208
76e69577
GM
4209 * faces.el (x-display-list, x-open-connection, x-get-resource):
4210 Declare.
7e58af4b
GM
4211
4212 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4213 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4214 Declare.
76e69577 4215
4bd4c0af 4216 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4217
ffb82dbd
GM
4218 * net/gnutls.el (gnutls-log-level): Declare.
4219
986ed135
GM
4220 * net/shr.el (image-size, image-animate): Declare.
4221
e740f9d2
GM
4222 * simple.el (font-info): Declare.
4223
d2f3e9f8
GM
4224 * subr.el (x-popup-dialog): Declare.
4225
047a1a4c
GM
4226 * term/common-win.el (x-select-enable-primary)
4227 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4228 Declare.
4229
f4a1d572
GM
4230 * term/ns-win.el (x-handle-args): Declare.
4231
e843de77
GM
4232 * term/x-win.el (x-select-enable-clipboard): Declare.
4233
5fa89513
GM
4234 * term/w32-win.el (create-default-fontset): Declare.
4235
38702b5b
GM
4236 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4237 Declare.
4238
e740f9d2
GM
4239 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4240 (fit-frame-to-buffer): Explicit error if --without-x.
4241 (mouse-autoselect-window-select): Silence compiler.
4242
49a053fc
GM
4243 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4244
4245 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4246 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4247 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4248 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4249 Remove unused local variables.
4250
4251 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4252
ec9177ba
GM
4253 * textmodes/two-column.el: Make 2C-split work for --without-x.
4254 (scroll-bar-columns): Autoload.
4255 (top-level): Require fringe when compiling.
4256
9f25cb77
LL
42572013-09-18 Leo Liu <sdl.web@gmail.com>
4258
4259 * subr.el (add-hook): Robustify to handle closure as well.
4260
2b42da98
GM
42612013-09-17 Glenn Morris <rgm@gnu.org>
4262
4263 * simple.el (messages-buffer-mode-map): Unbind "g".
4264
e8b66a6a
SM
42652013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4266
9c0ad4f7
SM
4267 * help-mode.el (help-mode-finish): Use derived-mode-p.
4268 Remove obsolete highlighting.
4269
7a806dfb
SM
4270 * play/life.el (life-mode): Use define-derived-mode. Derive from
4271 special-mode.
4272 (life): Let-bind inhibit-read-only.
4273 (life-setup): Avoid `setq'. Use `life-mode'.
4274
96dbf5a8
SM
4275 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4276 which should not be needed any more.
4277 (package-menu-refresh, package-menu-describe-package): Use user-error.
4278
e8b66a6a
SM
4279 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4280 (eshell-post-rewrite-command-hook): Make obsolete.
4281 (eshell-parse-command): Simplify.
4282 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4283 (eshell--cmd): Declare.
4284 (eshell-parse-pipeline): Remove unused var `final-p'.
4285 Pass a dynvar to eshell-post-rewrite-command-hook.
4286 Implement the new eshell-post-rewrite-command-function.
4287 (eshell-invoke-directly): Remove unused arg `input'.
4288 * eshell/esh-io.el (eshell-io-initialize):
4289 Use eshell-post-rewrite-command-function (bug#15399).
4290 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4291 adjust to new calling convention.
4292 (eshell-create-handles): Rename args to avoid clashing with dynvar
4293 `standard-output'.
4294
90582f05
GM
42952013-09-17 Glenn Morris <rgm@gnu.org>
4296
4297 * simple.el (messages-buffer-mode): New major mode.
4298 (messages-buffer): New function.
4299 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4300 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4301 (ert-run-test): Use `messages-buffer' function.
90582f05 4302 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4303 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4304 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4305
39eb0cb5 43062013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4307
4308 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4309
1d42e5b6 4310 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4311
70568a90
SM
43122013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4313
504a0381
SM
4314 * icomplete.el (icomplete-in-buffer): New var.
4315 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4316 vars and replace them with functions.
4317 (icomplete-minibuffer-setup): Adjust accordingly.
4318 (icomplete--completion-table, icomplete--completion-predicate)
4319 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4320 New functions.
4321 (icomplete-forward-completions, icomplete-backward-completions)
4322 (icomplete-simple-completing-p, icomplete-exhibit)
4323 (icomplete-completions): Use them.
4324 (icomplete--in-region-buffer): New var.
4325 (icomplete--in-region-setup): New function.
4326 (icomplete-mode): Use it.
4327
70568a90
SM
4328 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4329 (bug#15379).
4330 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4331 return args and options.
4332 (eshell-eval-using-options): Use the new return value of
4333 eshell--do-opts to set the options's vars in their scope.
4334 (eshell--set-option): Rename from eshell-set-option.
4335 Add arg `opt-vals'.
4336 (eshell--process-option): Rename from eshell-process-option.
4337 Add arg `opt-vals'.
4338 (eshell--process-args): Use an `opt-vals' alist to store the options's
4339 values during their processing and return them additionally to the
4340 remaining args.
4341
578c21bc
DG
43422013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4343
4344 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4345 continuation character an operator, as far as indentation is
4346 concerned (Bug#15369).
4347
c089653d
MR
43482013-09-15 Martin Rudalics <rudalics@gmx.at>
4349
4350 * window.el (window--state-put-2): Don't process buffer state
4351 when buffer doesn't exist any more (Bug#15382).
4352
1e53bb4b
GM
43532013-09-15 Glenn Morris <rgm@gnu.org>
4354
30753242
GM
4355 * eshell/em-unix.el (eshell/rm):
4356 Make -f ignore missing files. (Bug#15373)
4357
1e53bb4b
GM
4358 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4359 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4360 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4361
0d8863b3
GM
43622013-09-14 Glenn Morris <rgm@gnu.org>
4363
4364 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4365
d3fc6549
GM
43662013-09-13 Glenn Morris <rgm@gnu.org>
4367
4368 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4369 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4370
fcd42c11
DA
43712013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4372
4373 * frame.el (x-focus-frame): Mark as declared in frame.c.
4374
7830899f
SM
43752013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4376
4377 * ls-lisp.el: Use advice-add.
4378 (original-insert-directory): Remove.
4379 (ls-lisp--insert-directory): Rename from insert-directory; add
4380 `orig-fun' argument.
4381 (insert-directory): Advise.
4382
84387cd2
EZ
43832013-09-13 Eli Zaretskii <eliz@gnu.org>
4384
4385 * term.el (term-emulate-terminal): Decode the command string
4386 before passing it to term-command-hook. (Bug#15337)
4387
35ffc6ba
GM
43882013-09-13 Glenn Morris <rgm@gnu.org>
4389
5c3f9bcc
GM
4390 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4391
2ada368a
GM
4392 * eshell/esh-ext.el (eshell-search-path): Declare.
4393
fcef2e13
GM
4394 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4395 Otherwise an error occurs if eshell-dirs module not loaded.
4396
35ffc6ba
GM
4397 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4398
35c3d36e
MA
43992013-09-13 Michael Albinus <michael.albinus@gmx.de>
4400
4401 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4402 `tramp-check-proper-host'. Check for a valid method name.
4403
4404 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4405 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4406 * net/tramp-sh.el (tramp-maybe-open-connection):
4407 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4408
4409 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4410 also for hash values.
4411
ae5e4c48
SM
44122013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4413
379add74
SM
4414 * term/ns-win.el (parameters): Don't declare as dynamic.
4415 (before-make-frame-hook): Don't add ineffective function.
4416
ae5e4c48
SM
4417 * eshell/*.el: Use lexical-binding (bug#15231).
4418
b5623270
KH
44192013-09-12 Kenichi Handa <handa@gnu.org>
4420
ae5e4c48 4421 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4422
30213927
GM
44232013-09-12 Glenn Morris <rgm@gnu.org>
4424
be94d713 4425 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4426 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4427
44915370
GM
4428 * subr.el (do-after-load-evaluation): Also give compiler warnings
4429 when obsolete files are used (except by obsolete files).
4430
a6ae021f
GM
4431 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4432 in the status output, assume `filename' is the first. (Bug#15322)
4433
40e64f0c
GM
4434 * vc/vc.el (vc-deduce-fileset): Doc fix.
4435
16d9f896
GM
4436 * calc/calc-help.el (Info-goto-node):
4437 * progmodes/cperl-mode.el (Info-find-node):
4438 * vc/ediff.el (Info-goto-node): Update declarations.
4439
dea01c6e
GM
4440 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4441
759880bf 4442 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4443 (vc-bzr-pull): Require vc-dispatcher.
4444 * vc/vc-git.el (vc-compilation-mode): Declare.
4445 (vc-git-pull): Require vc-dispatcher.
4446
08d66420
GM
4447 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4448
30b626e9
GM
4449 * progmodes/octave.el (help-button-action): Declare.
4450
8c05cb10
GM
4451 * shell.el (shell-directory-tracker): Output error as a message
4452 rather than just returning it as a string.
4453 (shell-process-pushd): Remove useless use of message.
4454
30213927
GM
4455 * dframe.el (dframe-timer-fn):
4456 * files.el (dir-locals-read-from-file):
4457 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4458 (mpc-format):
4459 * reveal.el (reveal-post-command):
4460 * saveplace.el (load-save-place-alist-from-file):
4461 * shell.el (shell-resync-dirs):
4462 * w32-common-fns.el (x-get-selection-value):
4463 * emacs-lisp/copyright.el (copyright-find-copyright):
4464 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4465 * emulation/tpu-edt.el (tpu-copy-keyfile):
4466 * play/bubbles.el (bubbles--mark-neighbourhood):
4467 * progmodes/executable.el
4468 (executable-make-buffer-file-executable-if-script-p):
4469 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4470
d3b049e6
SM
44712013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4472
170266d0
SM
4473 Cleanup Eshell to rely less on dynamic scoping.
4474 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4475 last-value, and ext-command here. Bind `args' closer to `body'.
4476 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4477 (eshell--args): Declare new dynamic var.
4478 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4479 last-value, and ext-command. Pass `args' to `body'.
4480 (eshell-process-args): Bind eshell--args.
4481 (eshell-set-option): Use eshell--args.
4482 * eshell/eshell.el (eshell): Use derived-mode-p.
4483 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4484 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4485 (eshell-glob-function): Declare.
4486 * eshell/esh-util.el: Require cl-lib.
4487 (eshell-read-hosts-file): Avoid add-to-list.
4488 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4489 `err'.
4490 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4491 Declare.
4492 (eshell/diff): Remove unused var `err'.
4493 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4494 `killflag'.
4495 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4496 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4497 first use.
4498 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4499 Move declaration before first use.
4500 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4501 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4502 rely on cl-return.
4503
56834f3b
GM
45042013-09-12 Glenn Morris <rgm@gnu.org>
4505
4506 * term/ns-win.el (global-map): Remove binding for ispell-next,
4507 deleted 1999-05-29. (Bug#15357)
4508
5c91a2b8
GM
45092013-09-11 Glenn Morris <rgm@gnu.org>
4510
da712f22
GM
4511 * echistory.el (electric-command-history): Remove call to deleted func.
4512
512e4cdc
GM
4513 * play/landmark.el (landmark-mode): Fix typos.
4514
d3506ca5
GM
4515 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4516 Check cvs-sort-ignore-file is bound.
4517
5c91a2b8
GM
4518 * savehist.el: No need for cl when compiling on Emacs.
4519
feeff482
SM
45202013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4521
656bd483
SM
4522 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4523 (bug#15338).
d3b049e6
SM
4524 (eshell-self-insert-command, eshell-send-invisible):
4525 Remove unused argument.
656bd483
SM
4526 (eshell-handle-control-codes): Remove unused var `orig'.
4527 Avoid delete-backward-char.
4528
feeff482
SM
4529 * files.el (set-auto-mode): Simplify a bit further.
4530
2a08047a
GM
45312013-09-11 Glenn Morris <rgm@gnu.org>
4532
4533 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4534 (set-auto-mode): Don't regexp-quote elements.
4535 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4536 * progmodes/cc-mode.el (interpreter-mode-alist):
4537 * progmodes/ruby-mode.el (interpreter-mode-alist):
4538 Revert previous change.
4539
34675540
SM
45402013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4541
1b3b87df
SM
4542 * play/snake.el (snake-mode):
4543 * play/mpuz.el (mpuz-mode):
4544 * play/landmark.el (lm-mode):
4545 * play/blackbox.el (blackbox-mode):
4546 * play/5x5.el (5x5-mode):
4547 * obsolete/options.el (Edit-options-mode):
4548 * net/quickurl.el (quickurl-list-mode):
4549 * net/newst-treeview.el (newsticker-treeview-mode):
4550 * mail/rmailsum.el (rmail-summary-mode):
4551 * mail/mspools.el (mspools-mode):
4552 * locate.el (locate-mode):
4553 * ibuffer.el (ibuffer-mode):
4554 * emulation/ws-mode.el (wordstar-mode):
4555 * emacs-lisp/debug.el (debugger-mode):
4556 * array.el (array-mode):
4557 * net/eudc.el (eudc-mode): Use define-derived-mode.
4558 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4559 Move initialization into declaration.
4560 (mairix-searches-mode): Use define-derived-mode.
4561 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4562 (eudc-edit-hotlist): Use dolist.
4563 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4564 (Man-mode): Use define-derived-mode.
4565 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4566 (Info-edit-mode): Use define-derived-mode.
4567 (Info-cease-edit): Use Info-mode.
4568 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4569 into declaration.
4570 (eshell-mode): Use define-derived-mode.
4571 * chistory.el (command-history-mode-map): Rename from
4572 command-history-map.
4573 (command-history-mode): Use define-derived-mode.
da712f22 4574 (Command-history-setup): Remove function.
1b3b87df
SM
4575 * calc/calc.el (calc-trail-mode-map): New var.
4576 (calc-trail-mode): Use define-derived-mode.
4577 (calc-trail-buffer): Set calc-main-buffer manually.
4578 * bookmark.el (bookmark-insert-annotation): New function.
4579 (bookmark-edit-annotation): Use it.
4580 (bookmark-edit-annotation-mode): Make it a proper major mode.
4581 (bookmark-send-edited-annotation): Use derived-mode-p.
4582 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4583 closer to its ideal place. Use \' to match EOS.
4584
34675540
SM
4585 * profiler.el (profiler-calltree-find): Use function-equal.
4586
6a5c15d9
GM
45872013-09-10 Glenn Morris <rgm@gnu.org>
4588
1af4c220
GM
4589 * files.el (interpreter-mode-alist): Convert to regexps.
4590 (set-auto-mode): Adapt for this. (Bug#15306)
4591 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4592 Comment out unused variable.
4593 * progmodes/cc-mode.el (interpreter-mode-alist):
4594 * progmodes/python.el (interpreter-mode-alist):
4595 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4596 * progmodes/sh-script.el (sh-set-shell):
4597 No longer use interpreter-mode-alist to get list of shells.
4598
6a5c15d9
GM
4599 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4600
8c27f5ff
SM
46012013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4602
02ef6c1a 4603 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4604 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4605 Bind switch-frame explicitly. Replace universal-argument-minus with
4606 a conditional binding.
4607 (universal-argument-num-events, saved-overriding-map): Remove.
4608 (restore-overriding-map): Remove.
4609 (universal-argument--mode): Rename from save&set-overriding-map,
4610 and rewrite.
4611 (universal-argument, universal-argument-more, negative-argument)
4612 (digit-argument): Adjust accordingly.
4613 (universal-argument-minus): Remove.
4614 (universal-argument-other-key): Remove.
4615
8c27f5ff
SM
4616 * subr.el (with-demoted-errors): Add `format' argument.
4617
6480194c
MA
46182013-09-10 Michael Albinus <michael.albinus@gmx.de>
4619
4620 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4621 `tramp-cleanup-connection'.
4622
4623 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4624 parameters KEEP-DEBUG and KEEP-PASSWORD.
4625
4626 * net/tramp.el (tramp-file-name-handler):
4627 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4628 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4629 (tramp-maybe-open-connection):
8c27f5ff
SM
4630 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4631 Use `tramp-cleanup-connection'.
6480194c 4632
8c27f5ff
SM
4633 * net/tramp-sh.el (tramp-maybe-open-connection):
4634 Catch 'uname-changed inside the progress reporter.
6480194c 4635
e5e916d8
GM
46362013-09-10 Glenn Morris <rgm@gnu.org>
4637
9a2c9b47
GM
4638 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4639
e5e916d8
GM
4640 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4641 returns "alternate access method" in mode (eg "-rw-r--r--.").
4642
144e38fe
GM
46432013-09-08 Glenn Morris <rgm@gnu.org>
4644
4645 * saveplace.el (load-save-place-alist-from-file):
4646 Demote errors. (Bug#15305)
4647
af9ff9e8
MA
46482013-09-08 Michael Albinus <michael.albinus@gmx.de>
4649
4650 Improve compatibility with older Emacsen, and XEmacs.
4651
4652 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4653 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4654 (with-tramp-progress-reporter): Do not let-bind `result'.
4655 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4656 (tramp-handle-make-auto-save-file-name): New function, moved from
4657 tramp-sh.el.
4658
4659 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4660 for `make-auto-save-file-name'.
8c27f5ff
SM
4661 (tramp-adb--gnu-switches-to-ash):
4662 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4663
4664 * net/tramp-cache.el (tramp-cache-print): Call
4665 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4666
4667 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4668 bound. It isn't for XEmacs.
4669
8c27f5ff
SM
4670 * net/tramp-compat.el (tramp-compat-copy-file):
4671 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4672 (tramp-compat-replace-regexp-in-string): New defun.
4673
4674 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4675 for `make-auto-save-file-name'.
4676 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4677 `copy-file'.
4678 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4679 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4680 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4681
8c27f5ff
SM
4682 * net/tramp-gw.el (tramp-gw-open-network-stream):
4683 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4684
8c27f5ff
SM
4685 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4686 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4687 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4688 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4689 (tramp-sh-file-inotifywait-process-filter):
4690 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4691 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4692
4693 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4694 for `make-auto-save-file-name'.
8c27f5ff
SM
4695 (tramp-smb-handle-copy-directory):
4696 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4697 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4698 (tramp-smb-handle-copy-file): Improve error message.
4699 (tramp-smb-handle-rename-file): Rename directly only in case
4700 `newname' does not exist yet. This is a restriction of smbclient.
4701 (tramp-smb-maybe-open-connection): Rerun the function only when
4702 `auth-sources' is non-nil.
4703
0ca754d0
KH
47042013-09-08 Kenichi Handa <handa@gnu.org>
4705
e0eb0550 4706 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4707 more characters.
4708
e8dd0787
AM
47092013-09-07 Alan Mackenzie <acm@muc.de>
4710
4711 Correctly fontify Java class constructors.
4712 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4713 in Java Mode.
4714 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4715 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4716 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4717 "typeless" declaration there.
4718
f2f248e7
RW
47192013-09-07 Roland Winkler <winkler@gnu.org>
4720
4721 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4722 field subtitle for entry type book.
4723
67982e2b
SM
47242013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4725
4726 * minibuffer.el: Make minibuffer-complete call completion-in-region
4727 rather than other way around.
4728 (completion--some, completion-pcm--find-all-completions):
4729 Don't delay signals when debugging.
4730 (minibuffer-completion-contents): Beware fields within the
4731 minibuffer contents.
4732 (completion-all-sorted-completions): Use defvar-local.
4733 (completion--do-completion, completion--cache-all-sorted-completions)
4734 (completion-all-sorted-completions, minibuffer-force-complete):
4735 Add args `beg' and `end'.
4736 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4737 (minibuffer-complete): Use completion-in-region.
4738 (completion-complete-and-exit): New fun, extracted from
4739 minibuffer-complete-and-exit.
4740 (minibuffer-complete-and-exit): Use it.
4741 (completion--complete-and-exit): Rename from
4742 minibuffer--complete-and-exit.
4743 (completion-in-region--single-word): New function, extracted from
4744 minibuffer-complete-word.
4745 (minibuffer-complete-word): Use it.
4746 (display-completion-list): Make `common-substring' argument obsolete.
4747 (completion--in-region): Call completion--in-region-1 instead of
4748 minibuffer-complete.
4749 (completion-help-at-point): Pass boundaries to
4750 minibuffer-completion-help as args rather than via an overlay.
4751 (completion-pcm--string->pattern): Use `any-delim'.
4752 (completion-pcm--optimize-pattern): New function.
4753 (completion-pcm--pattern->regex): Handle `any-delim'.
4754 * icomplete.el (icomplete-forward-completions)
4755 (icomplete-backward-completions, icomplete-completions):
4756 Adjust calls to completion-all-sorted-completions and
4757 completion--cache-all-sorted-completions.
4758 (icomplete-with-completion-tables): Default to t.
4759 * emacs-lisp/crm.el (crm--current-element): Rename from
4760 crm--select-current-element. Don't put an overlay but return the
4761 boundaries instead.
4762 (crm--completion-command): Take two new args to bind to the boundaries.
4763 (crm-completion-help): Adjust accordingly.
4764 (crm-complete): Use completion-in-region.
4765 (crm-complete-word): Use completion-in-region--single-word.
4766 (crm-complete-and-exit): Use completion-complete-and-exit.
4767
e17d94a5
SM
47682013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4769
4770 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4771 than dynamically.
4772
96727100
JL
47732013-09-06 Juri Linkov <juri@jurta.org>
4774
4775 * info.el (Info-display-images-node): When image file doesn't exist
4776 display text version of the image if it's provided in the Info file.
4777 Otherwise, display the location of missing image from SRC attribute.
4778 Add help-echo text property from ALT attribute. (Bug#15279)
4779
86cf7329
SM
47802013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4781
4782 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4783 (edit-abbrevs-mode): Use define-derived-mode.
4784
4785 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4786 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4787 that it's defined.
4788 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4789 Use define-derived-mode.
4790
4791 * epg.el (epg-start-encrypt): Minor CSE simplification.
4792
816244a2
WX
47932013-09-06 William Xu <william.xwl@gmail.com>
4794
4795 * arc-mode.el: Add support for 7za (bug#15264).
4796 (archive-7z-program): New var.
4797 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4798 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4799 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4800
1486fa31
MA
48012013-09-06 Michael Albinus <michael.albinus@gmx.de>
4802
4803 Remove URL syntax.
4804
4805 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4806 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4807 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4808 (tramp-postfix-host-format, tramp-file-name-regexp)
4809 (tramp-completion-file-name-regexp)
4810 (tramp-completion-dissect-file-name)
4811 (tramp-handle-substitute-in-file-name): Remove 'url case.
4812 (tramp-file-name-regexp-url)
4813 (tramp-completion-file-name-regexp-url): Remove constants.
4814
39785324
GM
48152013-09-06 Glenn Morris <rgm@gnu.org>
4816
4817 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4818
1f896cb7
DG
48192013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4820
4821 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4822 keywords" below "here-doc beginnings" (Bug#15270).
4823
c0458e0b
SM
48242013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4825
4826 * subr.el (pop): Use `car-safe'.
4827 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4828 to detect unused `pop' return value.
4829
4830 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4831 var `block-regexp'.
4832 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4833 (python-fill-string): Remove unused var `marker'.
4834 (python-skeleton-add-menu-items): Remove unused var `items'.
4835
4836 * international/mule-cmds.el: Require CL.
4837 (find-coding-systems-for-charsets): Avoid add-to-list.
4838 (sanitize-coding-system-list): New function, extracted from
4839 select-safe-coding-system-interactively.
4840 (select-safe-coding-system-interactively): Use it.
4841 (read-input-method-name): Accept symbols for `default'.
4842
4843 * emacs-lisp/advice.el (defadvice): Add indent rule.
4844
6c42fc3e
DH
48452013-09-05 Daniel Hackney <dan@haxney.org>
4846
4847 * dired-x.el:
4848 * net/ange-ftp.el:
4849 * net/browse-url.el:
4850 * net/dbus.el:
4851 * net/eudc.el:
4852 * net/eudcb-ldap.el:
4853 * net/eww.el:
4854 * net/imap.el:
4855 * printing.el:
4856 * vc/ediff-diff.el:
4857 * vc/ediff-init.el:
4858 * vc/ediff-merg.el:
4859 * vc/ediff-mult.el:
4860 * vc/ediff-util.el:
4861 * vc/ediff-wind.el:
4862 * vc/ediff.el:
4863 * vc/emerge.el:
4864 * vc/pcvs.el:
4865 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4866 byte compiler. Remove some unused let-bound variables.
4867
4c528aab
SM
48682013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4869
4870 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4871 a "ref-cell", since it gets better optimized (bug#14883).
4872
bd15c390
GM
48732013-09-05 Glenn Morris <rgm@gnu.org>
4874
4875 * progmodes/cc-awk.el (c-forward-sws): Declare.
4876
1c3ac2e5
GM
48772013-09-04 Glenn Morris <rgm@gnu.org>
4878
4879 * generic-x.el [rul-generic-mode]: Require cc-mode.
4880 (c++-mode-syntax-table): Declare.
4881 (rul-generic-mode-syntax-table): Init in the defvar.
4882
52b1cc79
SM
48832013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4884
c828af56
SM
4885 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4886 (vc-do-command, vc-set-async-update):
4887 * vc/vc-mtn.el (vc-mtn-dir-status):
4888 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4889 (vc-hg-pull, vc-hg-merge-branch):
4890 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4891 (vc-git-merge-branch):
4892 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4893 (vc-cvs-dir-status-files):
4894 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4895 (vc-bzr-dir-status-files):
4896 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4897 * vc/vc-annotate.el: Use lexical-binding.
4898 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4899 (vc-sentinel-movepoint): Declare.
4900 (vc-annotate): Don't use `goto-line'.
4901 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4902 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4903 (vc-sentinel-movepoint): Declare.
4904 * vc/vc-svn.el: Use lexical-binding.
4905 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4906 * vc/vc-sccs.el:
4907 * vc/vc-rcs.el: Use lexical-binding.
4908
abae272c
SM
4909 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4910 `deleted'. Don't drop errors silently.
4911
52b1cc79
SM
4912 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4913
63191d9f
XF
49142013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4915
4916 * vc/vc.el (vc-ignore): Rewrite.
4917 (vc-default-ignore): New function.
4918 (vc-default-ignore-completion-table): Use find-ignore-file.
4919
4920 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4921 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4922 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4923 Remove. Most code moved to vc.el.
4924
9d3f707c
SM
49252013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4926
abae272c 4927 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4928 * net/tramp-smb.el (tramp-smb-get-file-entries):
4929 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4930 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4931
fde38d49
SM
4932 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4933 Update call to it.
4934 (eww-change-select): Remove unused var `properties'.
4935 (eww-make-unique-file-name): Remove unused var `base'.
4936
4937 * finder.el (finder-compile-keywords): Don't mess with windows.
4938
84032db7
SM
4939 * calculator.el (calculator-funcall): Fix typo in last change.
4940
724f5e41
SM
4941 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4942
14b511d4
SM
4943 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4944 <pkg>-autoloads.el file stop us.
4945
9d3f707c 4946 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4947 warnings, and factor out common code.
9d3f707c 4948
88527bc0
DG
49492013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4950
4951 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4952 two-character operators and whether the character preceding them
4953 changes their meaning (Bug#15208).
4954
96edb677
FEG
49552013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4956
4957 Format code sent to Python shell for robustness.
9d3f707c
SM
4958 * progmodes/python.el (python-shell-buffer-substring):
4959 New function.
96edb677
FEG
4960 (python-shell-send-region, python-shell-send-buffer): Use it.
4961
95beaef3
MA
49622013-09-02 Michael Albinus <michael.albinus@gmx.de>
4963
4964 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4965 * net/tramp.el (tramp-user-error): ... here.
4966 (tramp-find-method, tramp-check-proper-host)
4967 (tramp-dissect-file-name, tramp-debug-message)
4968 (tramp-handle-shell-command):
4969 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4970 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4971
4972 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4973
f167c27b
MR
49742013-09-02 Martin Rudalics <rudalics@gmx.at>
4975
4976 * avoid.el (mouse-avoidance-point-position)
4977 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4978 returns nil.
4979
cd16c5f1
FEG
49802013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4981
4982 * progmodes/python.el (python-shell-completion-get-completions):
4983 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4984 (python-nav-if-name-main): New command.
cd16c5f1 4985
e73c3a0d
GM
49862013-09-01 Glenn Morris <rgm@gnu.org>
4987
f8ccce03
GM
4988 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4989 Avoid leading space in $wins. Otherwise the sed command used by
4990 eg compile-main ends up containing "/*.el". (Bug#15170)
4991
e73c3a0d
GM
4992 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4993
415f808e
GM
49942013-08-30 Glenn Morris <rgm@gnu.org>
4995
4996 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4997 Fix is-this-a-directory logic. (Bug#15220)
4998
f069bba8
SM
49992013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5000
112798c1
SM
5001 * textmodes/css-mode.el: Use SMIE.
5002 (css-smie-grammar): New var.
5003 (css-smie--forward-token, css-smie--backward-token)
5004 (css-smie-rules): New functions.
5005 (css-mode): Use them.
5006 (css-navigation-syntax-table): Remove var.
5007 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5008 (css-indent-calculate, css-indent-line): Remove functions.
5009
5010 Misc changes to reduce use of `(lambda...); and other cleanups.
5011 * cus-edit.el: Use lexical-binding.
5012 (customize-push-and-save, customize-apropos)
5013 (custom-buffer-create-internal): Use closures.
5014 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5015 * progmodes/ada-xref.el: Use setq.
5016 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5017 * dframe.el: Use lexical-binding.
5018 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5019 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5020 * descr-text.el: Use lexical-binding.
5021 (describe-text-widget, describe-text-sexp, describe-property-list):
5022 Use closures.
5023 * comint.el (comint-history-isearch-push-state): Use a closure.
5024 * calculator.el: Use lexical-binding.
5025 (calculator-number-to-string): Make it work with lexical-binding.
5026 (calculator-funcall): Same and use cl-letf.
5027
2da4c3ab
SM
5028 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5029 (lisp--company-doc-string, lisp--company-location): New functions.
5030 (lisp-completion-at-point): Use them to improve Company support.
5031
f069bba8
SM
5032 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5033 params of lambda expressions.
5034 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5035 (ruby-smie--opening-pipe-p): New function.
5036 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5037 symbols and matched |...| for formal params.
5038 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5039 from being treated as hanging. Handle "rescue".
5040
6758b6a8
GM
50412013-08-29 Glenn Morris <rgm@gnu.org>
5042
5043 * progmodes/cc-engine.el (c-pull-open-brace):
5044 Move definition before use.
5045
e8dfd197
SM
50462013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5047
5048 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5049 are immutable. Don't use `unsafe' any more.
5050 (cl--defsubst-expand): Don't substitute at the same time as keeping
5051 a residual unused let-binding. Don't use `unsafe' any more.
5052
cc585c96
GM
50532013-08-29 Glenn Morris <rgm@gnu.org>
5054
ba579ea6
GM
5055 * calendar/cal-china.el (calendar-chinese-year-cache):
5056 Recenter on 2015.
5057
8201a87e
GM
5058 * nxml/nxml-util.el (nxml-debug-clear-inside):
5059 Use cl-loop rather than loop.
5060
6ee877c7
GM
5061 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5062
cc585c96
GM
5063 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5064
27be8d39
GM
50652013-08-28 Glenn Morris <rgm@gnu.org>
5066
397440a1
GM
5067 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5068
2bb762d4
GM
5069 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5070
27be8d39
GM
5071 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5072
2d69b99e
SM
50732013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5074
f663baa7
SM
5075 * simple.el (repeat-complex-command--called-interactively-skip):
5076 New function.
5077 (repeat-complex-command): Use it (bug#14136).
5078
dd4f8b74
SM
5079 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5080 (c-define-abbrev-table): Add `doc' argument.
5081 (c-mode-abbrev-table, c++-mode-abbrev-table)
5082 (objc-mode-abbrev-table, java-mode-abbrev-table)
5083 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5084 (awk-mode-abbrev-table): Use it.
5085 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5086 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5087 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5088 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5089 Move initialization into the declaration; and remove any
5090 autoload cookie.
5091
b58969f7
SM
5092 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5093 and dynamic let binding.
5094
4021d6a6
SM
5095 * vc/smerge-mode.el: Remove redundant :group args.
5096
2d69b99e
SM
5097 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5098 to load-path.
5099
274919fd
JL
51002013-08-28 Juri Linkov <juri@jurta.org>
5101
5102 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5103 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5104 (isearch-other-meta-char): Handle an undefined shifted printing
5105 character by downshifting it. (Bug#15200)
5106
121f8c95
JL
51072013-08-28 Juri Linkov <juri@jurta.org>
5108
5109 * isearch.el (isearch-search): Change regexp error message for
5110 non-regexp searches. (Bug#15166)
5111
50b13cde
PE
51122013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5113
5114 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5115 for portability to hosts where /bin/sh has problems.
5116
95888bca
SM
51172013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5118
5119 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5120
bbe558f1
JL
51212013-08-27 Juri Linkov <juri@jurta.org>
5122
5123 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5124 in the keyboard macro. (Bug#15126)
5125
26f98a7d
JL
51262013-08-27 Juri Linkov <juri@jurta.org>
5127
5128 * isearch.el (isearch-quote-char): Comment out converting unibyte
5129 to multibyte, thus syncing with its `quoted-insert' counterpart.
5130 (Bug#15166)
5131
7c97d35e
MR
51322013-08-27 Martin Rudalics <rudalics@gmx.at>
5133
5134 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5135 argument in call of get-largest-window (Bug#15185).
5136 Reported by Stephen Leake.
7c97d35e 5137
a0b5606e 51382013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5139
5140 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5141
9e89d835
SM
51422013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5143
5144 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5145 from a matcher-function unless there's no more matches (bug#15161).
5146
78fc2530
MA
51472013-08-26 Michael Albinus <michael.albinus@gmx.de>
5148
5149 * minibuffer.el: Revert change from 2013-08-20.
5150
5151 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5152 with text property `tramp-default', if appropriate.
5153 (tramp-check-proper-host): New defun.
5154 (tramp-dissect-file-name): Do not check hostname. Revert change
5155 of 2013-03-18.
5156 (tramp-backtrace): Make VEC-OR-PROC optional.
5157
5158 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5159 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5160 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5161 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5162 Apply `tramp-check-proper-host'.
78fc2530 5163
edca97cd
TH
51642013-08-26 Tassilo Horn <tsdh@gnu.org>
5165
5166 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5167 lambda expression in order to have `describe-variable' display it.
5168
df54bcbd
MA
51692013-08-26 Michael Albinus <michael.albinus@gmx.de>
5170
5171 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5172 BUF can be optional. (Bug#15186)
5173
eed99101
XF
51742013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5175
5176 * progmodes/flymake.el (flymake-get-real-file-name-function):
5177 Fix broken customization. (Bug#15184)
5178
b5eb9035
AM
51792013-08-25 Alan Mackenzie <acm@muc.de>
5180
8a51e842
AM
5181 Improve indentation of bracelists defined by macros (without "=").
5182
5183 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5184 expansion begins with "{", regard it as bracelist when it doesn't
5185 contain a ";".
5186
869455d4
AM
5187 Parse C++ inher-intro when there's a template split over 2 lines.
5188
5189 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5190 rigorously the search for "class" etc. followed by ":".
5191
5192 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5193 random languages a regexp which never matches rather than nil.
5194
b5eb9035
AM
5195 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5196
5197 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5198 (c-awk-regexp-one-line-possibly-open-char-list-re)
5199 (c-awk-one-line-possibly-open-regexp-re)
5200 (c-awk-one-line-non-syn-ws*-re): Remove.
5201 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5202 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5203 (c-awk-space*-unclosed-regexp-/-re): New constants.
5204 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5205 aren't regexp delimiters.
5206
5207 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5208 handling for a rare situation in AWK Mode involving unterminated
5209 strings/regexps.
5210
61611d54
GM
52112013-08-23 Glenn Morris <rgm@gnu.org>
5212
2d85dc34
GM
5213 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5214
cb8d2612
GM
5215 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5216
bb35f42f
GM
5217 * files.el (create-file-buffer): If the result would begin with
5218 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5219
b9808e77
SM
52202013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5221
e3a66363
SM
5222 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5223 text-properties (bug#15155).
5224
b9808e77
SM
5225 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5226 exist any more.
5227 (calc-keypad-redraw): Remove unused var `pad'.
5228 (calc-keypad-press): Remove unused var `menu'.
5229
7fd5f65e
MR
52302013-08-23 Martin Rudalics <rudalics@gmx.at>
5231
b9808e77
SM
5232 * window.el (display-buffer-pop-up-frame):
5233 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5234 use it as the new frame's buffer (Bug#15133).
5235
8352b530
SM
52362013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5237
5238 * calendar/timeclock.el: Minor cleanups.
5239 (timeclock-ask-before-exiting, timeclock-use-display-time):
5240 Use `symbol'.
5241 (timeclock-modeline-display): Define as alias before the
5242 actual definition.
5243 (timeclock-mode-line-display): Use define-minor-mode.
5244 (timeclock-day-list-template): Make it a function, add an argument.
5245 (timeclock-day-list-required, timeclock-day-list-length)
5246 (timeclock-day-list-debt, timeclock-day-list-span)
5247 (timeclock-day-list-break): Adjust calls accordingly.
5248
9f7b1925
SM
52492013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5250
5251 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5252 Use read--expression so that completion works again.
5253
6e50e983
SS
52542013-08-21 Sam Steingold <sds@gnu.org>
5255
5256 Add rudimentary inferior shell interaction
5257 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5258 (sh-set-shell): Reset it.
9f7b1925
SM
5259 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5260 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5261
dbb0d350
SM
52622013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5263
5264 * align.el: Use lexical-binding.
5265 (align-region): Simplify accordingly.
5266
c88586a9
MA
52672013-08-20 Michael Albinus <michael.albinus@gmx.de>
5268
5269 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5270
5271 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5272 `non-essential' up.
5273
f95527c8
MA
52742013-08-17 Michael Albinus <michael.albinus@gmx.de>
5275
5276 * net/tramp.el:
5277 * net/tramp-adb.el:
5278 * net/tramp-cmds.el:
5279 * net/tramp-ftp.el:
5280 * net/tramp-gvfs.el:
5281 * net/tramp-gw.el:
5282 * net/tramp-sh.el: Don't wrap external variable declarations by
5283 `eval-when-compile'.
5284
4b5fe4ee
LMI
52852013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5286
5287 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5288 now that Emacs supports ImageMagick animations.
5289
13c366c9
MA
52902013-08-16 Michael Albinus <michael.albinus@gmx.de>
5291
5292 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5293 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5294
3dfc5cd6
MR
52952013-08-16 Martin Rudalics <rudalics@gmx.at>
5296
5297 * window.el (mouse-autoselect-window-select): Do autoselect when
5298 mouse pointer is on margin.
5299
4bbb4381
WP
53002013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5301
5302 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5303
3a2ddc2d
GM
53042013-08-16 Glenn Morris <rgm@gnu.org>
5305
e8bedf5a
GM
5306 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5307 Handle "Remote Directory" response of some clients. (Bug#15058)
5308
58c4682f
GM
5309 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5310 Tweak warning. (Bug#14926)
5311
57953f49
GM
5312 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5313 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5314
3a2ddc2d
GM
5315 * image-mode.el (image-mode-map): Add menu items to reverse,
5316 increase, decrease, reset animation speed.
5317 (image--set-speed, image-increase-speed, image-decrease-speed)
5318 (image-reverse-speed, image-reset-speed): New functions.
5319 (image-mode-map): Add bindings for speed commands.
5320
5321 * image.el (image-animate-get-speed, image-animate-set-speed):
5322 New functions.
5323 (image-animate-timeout): Respect image :speed property.
5324
10fa0ed3
SM
53252013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5326
5327 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5328 previous line (bug#15101).
5329 (debugger-eval-expression, debugger-record-expression):
5330 Use read--expression (bug#15102).
5331
5d89d9d2
MA
53322013-08-15 Michael Albinus <michael.albinus@gmx.de>
5333
5334 Remove byte compiler warnings, visible when compiling with
5335 `byte-compile-force-lexical-warnings' set to t.
5336
5337 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5338 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5339 (tramp-handle-unhandled-file-name-directory)
5340 (tramp-handle-file-notify-add-watch, tramp-action-login)
5341 (tramp-action-succeed, tramp-action-permission-denied)
5342 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5343 arguments with "_".
5344
5345 * net/tramp-adb.el (tramp-adb-parse-device-names)
5346 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5347 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5348 (tramp-adb-handle-file-truename): Remove unused arguments.
5349
5350 * net/tramp-cache.el (tramp-flush-directory-property)
5351 (tramp-flush-connection-property, tramp-list-connections)
5352 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5353
10fa0ed3
SM
5354 * net/tramp-compat.el (tramp-compat-make-temp-file):
5355 Rename FILENAME to F.
5d89d9d2
MA
5356
5357 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5358 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5359 (tramp-zeroconf-parse-workstation-device-names)
5360 (tramp-zeroconf-parse-webdav-device-names)
5361 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5362
5363 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5364 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5365
5366 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5367 arguments.
5368 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5369 (tramp-sh-handle-insert-file-contents-literally)
5370 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5371 with "_".
5372 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5373 Remove unused variables.
5374
5375 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5376 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5377 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5378
5379 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5380 Make them a defconst.
5381 (tramp-uuencode-region): Remove unused variable.
5382
62f33bae
JB
53832013-08-14 Juanma Barranquero <lekktu@gmail.com>
5384
5385 * frameset.el (frameset--prop-setter): New function.
5386 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5387 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5388 parameter was already set in FILTERED. Doc fix.
5389 (frameset--record-minibuffer-relationships): Allow saving a
5390 minibufferless frame without its corresponding minibuffer frame.
5391 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5392 frame, if the frame id matches.
5393 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5394 frames before orphaned ones.
5395 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5396
c660a885
MR
53972013-08-14 Martin Rudalics <rudalics@gmx.at>
5398
5399 * window.el (window-make-atom): Don't overwrite parameter
5400 already present.
5401 (display-buffer-in-atom-window): Handle special case where we
5402 split an already atomic window.
5403 (window--major-non-side-window, display-buffer-in-side-window)
5404 (window--side-check): Ignore minibuffer window when walking
5405 window tree.
5406 (window-deletable-p): Return 'frame only if no other frame uses
5407 our minibuffer window.
5408 (record-window-buffer): Run buffer-list-update-hook.
5409 (split-window): Make sure window--check-frame won't destroy an
5410 existing atomic window in case the new window gets nested
5411 inside.
5412 (display-buffer-at-bottom): Ignore minibuffer window when
5413 walking window tree. Don't split a side window.
5414 (pop-to-buffer): Don't set-buffer here, the select-window call
5415 should do that.
5416 (mouse-autoselect-window-select): Autoselect only if we are in the
5417 text portion of the window.
5418
8259030d
LMI
54192013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5420
21c58ae2
LMI
5421 * net/shr.el (shr-parse-image-data): New function to grab both the
5422 data itself and the Content-Type.
5423 (shr-put-image): Use it.
5424
5425 * net/eww.el (eww-display-image): Ditto.
5426
8259030d
LMI
5427 * image.el (image-content-type-suffixes): New variable.
5428
ad756449
FEG
54292013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5430
5431 * progmodes/python.el (python-imenu--build-tree)
5432 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5433
f73f4ce6
XF
54342013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5435
5436 * simple.el (backward-word): Mention the optional argument.
5437
1f585e65
SM
54382013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5439
5440 * frameset.el (frameset--make): Rename constructor from make-frameset.
5441 (frameset-p, frameset-valid-p): Don't autoload.
5442 (frameset-valid-p): Use normal accessors.
5443
af1c6c84
GM
54442013-08-13 Glenn Morris <rgm@gnu.org>
5445
55e47f95
GM
5446 * progmodes/compile.el (compile-command): Tweak example in doc.
5447 * obsolete/scribe.el (scribe-mode):
5448 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5449
f0024d8c
GM
5450 * mail/feedmail.el (feedmail-confirm-outgoing)
5451 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5452
5453 * cus-start.el (truncate-partial-width-windows): Fix type.
5454
5455 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5456
af1c6c84
GM
5457 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5458
5514cc4c
SM
54592013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 * emacs-lisp/timer.el (timer--time-setter): New function.
5462 (timer--time): Use it as gv-setter.
5463
5464 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5465 setter is not a symbol.
5466
7997a2f1
GJ
54672013-08-12 Grégoire Jadi <daimrod@gmail.com>
5468
5469 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5470 if sending fails. This makes debugging easier.
5471
01f1a9ab
JB
54722013-08-12 Juanma Barranquero <lekktu@gmail.com>
5473
5474 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5475 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5476 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5477
594a4307
EZ
54782013-08-12 Eli Zaretskii <eliz@gnu.org>
5479
5480 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5481
7a22490f 54822013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5483
5484 * format.el (format-annotate-function):
5485 Handle read-only text properties in the source. (Bug#14887)
5486
3e41a054
LMI
54872013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5488
5514cc4c
SM
5489 * net/eww.el (eww-display-html): Ignore coding system errors.
5490 One web site uses "utf-8lias" as the coding system.
3e41a054 5491
7ec326db
JB
54922013-08-11 Juanma Barranquero <lekktu@gmail.com>
5493
5494 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5495
5660113b
JB
54962013-08-10 Juanma Barranquero <lekktu@gmail.com>
5497
9a4ebc74
JB
5498 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5499 (tutorial--detailed-help): Remove unused local variables.
5500 (tutorial--save-tutorial-to): Use ignore-errors.
5501 (help-with-tutorial): Use looking-at-p.
5502
5503 * view.el (view-buffer-other-window, view-buffer-other-frame):
5504 Mark unused arguments.
5505
5506 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5507 (woman-select-symbol-fonts, woman, woman-find-file)
5508 (woman-insert-file-contents, woman-non-underline-faces):
5509 Use string-match-p.
5510 (woman1-unquote): Move declaration.
5511
5512 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5513 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5514 argument. Remove unused local variable.
5515 (xml-parse-elem-type): Use string-match-p.
5516 (xml-substitute-numeric-entities): Use ignore-errors.
5517
45fdb482
JB
5518 * calculator.el (calculator): Mark unused argument.
5519 (calculator-paste, calculator-quit, calculator-integer-p):
5520 Use ignore-errors.
5521 (calculator-string-to-number, calculator-decimal, calculator-exp)
5522 (calculator-op-or-exp): Use string-match-p.
5523
5524 * dired.el (dired-buffer-more-recently-used-p): Declare.
5525 (dired-insert-set-properties, dired-insert-old-subdirs):
5526 Use ignore-errors.
5527
5528 * dired-aux.el (dired-compress): Use ignore-errors.
5529 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5530 (dired-do-async-shell-command, dired-do-shell-command)
5531 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5532 (dired-insert-subdir-validate): Use string-match-p.
5533 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5534 (dired-add-entry): Use string-match-p, looking-at-p.
5535 (dired-insert-subdir-newpos): Remove unused local variable.
5536
5537 * filenotify.el (file-notify-callback): Remove unused local variable.
5538
5539 * filesets.el (filesets-error): Mark unused argument.
5540 (filesets-which-command-p, filesets-filter-dir-names)
5541 (filesets-directory-files, filesets-get-external-viewer)
5542 (filesets-ingroup-get-data): Use string-match-p.
5543
5544 * find-file.el (ff-other-file-name, ff-other-file-name)
5545 (ff-find-the-other-file, ff-cc-hh-converter):
5546 Remove unused local variables.
5547 (ff-get-file-name): Use string-match-p.
5548 (ff-all-dirs-under): Use ignore-errors.
5549
5550 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5551 (follow-select-if-visible): Remove unused local variable.
5552
5553 * forms.el (read-file-filter): Move declaration.
5554 (forms--make-format, forms--make-parser, forms-insert-record):
5555 Quote function with #'.
5556 (forms--update): Use string-match-p. Quote function with #'.
5557
5558 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5559 (help-make-xrefs): Use looking-at-p.
5560 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5561
5562 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5563 (ibuffer-confirm-operation-on): Use string-match-p.
5564
5565 * msb.el (msb-item-handler, msb-dired-item-handler):
5566 Mark unused arguments.
5567
5568 * ses.el (ses-decode-cell-symbol)
5569 (ses-kill-override): Remove unused local variable.
5570 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5571 (ses-load): Use ignore-errors, looking-at-p.
5572 (ses-jump-safe): Use ignore-errors.
5573 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5574
5575 * tabify.el (untabify, tabify): Mark unused arguments.
5576
5577 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5578 Mark unused argument.
5579 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5580 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5581
c880af52
JB
5582 * emacs-lisp/timer.el (timer--time): Define setter with
5583 gv-define-setter to avoid deprecation warning.
5584
5660113b 5585 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5586 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5587 (cmpl-statistics-block): Remove (body was commented out).
5588 All callers changed.
5589 (add-completions-from-buffer, load-completions-from-file):
5590 Remove unused variables.
5591
156aab80
JB
55922013-08-09 Juanma Barranquero <lekktu@gmail.com>
5593
5c5dee78
JB
5594 * filecache.el (file-cache-delete-file-list):
5595 Print message only when told so.
5596 (file-cache-files-matching): Use #' in mapconcat argument.
5597
156aab80
JB
5598 * ffap.el (ffap-url-at-point): Fix reference to variable
5599 thing-at-point-default-mail-uri-scheme.
5600
ad9dcd70
SM
56012013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5602
54bd972f
SM
5603 * subr.el (define-error): New function.
5604 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5605 error-file-not-found and define with define-error.
5606 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5607 and define with define-error.
5608 * userlock.el (file-locked, file-supersession):
5609 * simple.el (mark-inactive):
5610 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5611 * progmodes/ada-mode.el (ada-mode-errors):
5612 * play/life.el (life-extinct):
5613 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5614 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5615 * nxml/rng-util.el (rng-error):
5616 * nxml/rng-uri.el (rng-uri-error):
5617 * nxml/rng-match.el (rng-compile-error):
5618 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5619 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5620 * nxml/nxml-rap.el (nxml-scan-error):
5621 * nxml/nxml-outln.el (nxml-outline-error):
5622 * net/soap-client.el (soap-error):
5623 * net/gnutls.el (gnutls-error):
5624 * net/ange-ftp.el (ftp-error):
5625 * mpc.el (mpc-proc-error):
5626 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5627 (json-number-format, json-string-escape, json-string-format)
5628 (json-key-format, json-object-format):
5629 * jka-compr.el (compression-error):
5630 * international/quail.el (quail-error):
5631 * international/kkc.el (kkc-error):
5632 * emacs-lisp/ert.el (ert-test-failed):
5633 * calc/calc.el (calc-error, inexact-result, math-overflow)
5634 (math-underflow):
5635 * bookmark.el (bookmark-error-no-filename):
5636 * epg.el (epg-error): Define with define-error.
5637
0ea9e53a
SM
5638 * time.el (display-time-event-handler)
5639 (display-time-next-load-average): Don't call sit-for since it seems
5640 unnecessary (bug#15045).
5641
b0429158
SM
5642 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5643 Use #' instead of ' to quote functions.
5644 (checkdoc-output-mode): Use setq-local.
5645 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5646 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5647 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5648 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5649 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5650 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5651 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5652 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5653
ad9dcd70
SM
5654 * ido.el (ido-completion-help): Fix up compiler warning.
5655
77187e6f
JB
56562013-08-09 Juanma Barranquero <lekktu@gmail.com>
5657
5658 * frameset.el (frameset-p): Add autoload cookie.
5659 (frameset--jump-to-register): New function, based on code moved from
5660 register.el.
5661 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5662
5663 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5664 (frameset-restore, frameset-save, frameset-session-filter-alist):
5665 Remove declarations.
5666 (register-alist): Doc fix.
5667 (frameset-to-register): Move to frameset.el.
5668 (jump-to-register, describe-register-1): Remove frameset-specific code.
5669
9d3aa82c
JB
56702013-08-08 Juanma Barranquero <lekktu@gmail.com>
5671
5672 * allout-widgets.el (allout-widgets-pre-command-business)
5673 (allout-widgets-post-command-business)
5674 (allout-widgets-after-change-handler)
5675 (allout-decorate-item-and-context, allout-set-boundary-marker)
5676 (allout-body-modification-handler)
5677 (allout-graphics-modification-handler): Mark ignored arguments.
5678 (allout-widgets-post-command-business)
5679 (allout-widgets-exposure-change-processor)
5680 (allout-widgets-exposure-undo-processor)
5681 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5682 (allout-parse-item-at-point, allout-decorate-item-guides)
5683 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5684 * allout.el (epa-passphrase-callback-function): Declare.
5685 (allout-overlay-insert-in-front-handler)
5686 (allout-overlay-interior-modification-handler)
5687 (allout-isearch-end-handler, allout-chart-siblings)
5688 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5689 (allout-yank-processing, allout-process-exposed)
5690 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5691 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5692 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5693 (lisp-indent-defform): Mark ignored arguments.
5694 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5695 (calculate-lisp-indent): Remove unused variables.
5696 * international/characters.el (indian-2-column, arabic-2-column)
5697 (tibetan): Mark ignored arguments.
5698 (use-cjk-char-width-table): Mark ignored arguments.
5699 Remove unused variables.
5700 * international/fontset.el (build-default-fontset-data)
5701 (x-compose-font-name, create-fontset-from-fontset-spec):
5702 Mark ignored arguments.
5703 (fontset-plain-name): Remove unused variables.
5704 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5705 (keyboard-coding-system): Mark ignored arguments.
5706 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5707 * help.el (resize-temp-buffer-window):
5708 * window.el (display-buffer-in-major-side-window)
5709 (display-buffer-in-side-window, display-buffer-in-previous-window):
5710 Remove unused variables.
5711 * isearch.el (isearch-forward-symbol):
5712 * version.el (emacs-bzr-version-bzr):
5713 * international/mule-cmds.el (current-language-environment):
5714 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5715 (x-handle-display):
5716 * term/pc-win.el (x-list-fonts, x-display-planes)
5717 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5718 (x-server-version, x-display-screens, x-display-mm-height)
5719 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5720 (x-selection-owner-p, x-own-selection-internal)
5721 (x-disown-selection-internal, x-get-selection-internal)
5722 (msdos-initialize-window-system):
5723 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5724 * term/x-win.el (x-handle-no-bitmap-icon):
5725 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5726 (vc-default-find-file-hook, vc-default-extra-menu):
5727 Mark ignored arguments.
5728
0ca3f70e
SM
57292013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5730
5731 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5732 break-condition in the context of the debugged code (bug#12685).
5733
74c5d24c
CS
57342013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5735
5736 * comint.el:
5737 Do not use an overlay to highlight the last prompt. (Bug#14744)
5738 (comint-mode): Make comint-last-prompt buffer local.
5739 (comint-last-prompt): New variable.
5740 (comint-last-prompt-overlay): Remove. Superseded by
5741 comint-last-prompt.
0ca3f70e
SM
5742 (comint-snapshot-last-prompt, comint-output-filter):
5743 Use comint-last-prompt.
74c5d24c 5744
c03c02ee
JB
57452013-08-08 Juanma Barranquero <lekktu@gmail.com>
5746
a3738d20 5747 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5748 (frameset-save): Check validity of the resulting frameset.
5749
04263d23
XF
57502013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5751
5752 * ido.el (ido-record-command): Add doc string.
5753
76c5e5ab
JB
57542013-08-08 Juanma Barranquero <lekktu@gmail.com>
5755
5756 * frameset.el (frameset): Do not disable creation of the default
5757 frameset-p predicate. Doc fix.
5758 (frameset-valid-p): New function, copied from the old predicate-p.
5759 Add additional checks.
5760 (frameset-restore): Check with frameset-valid-p.
5761 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5762 (frameset-name, frameset-description, frameset-properties)
5763 (frameset-states): Add docstring.
f9dbf1cb
JB
5764 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5765 (frameset-filter-alist): Doc fixes.
76c5e5ab 5766
bd0c3c0b
JB
57672013-08-08 Juanma Barranquero <lekktu@gmail.com>
5768
5769 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5770
c735544c
SM
57712013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5772
5773 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5774 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5775 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5776 (byte-compile-normal-call): Remove obsolescence check.
5777
2805a651
JB
57782013-08-08 Juanma Barranquero <lekktu@gmail.com>
5779
3677ffeb
JB
5780 * frameset.el (frameset-restore): Doc fix.
5781
2805a651
JB
5782 * register.el (frameset-frame-id, frameset-frame-with-id)
5783 (frameset-p, frameset-restore, frameset-save): Declare.
5784 (register-alist): Document framesets.
5785 (frameset-session-filter-alist): Declare.
5786 (frameset-to-register): New function.
5787 (jump-to-register): Implement jumping to framesets. Doc fix.
5788 (describe-register-1): Describe framesets.
5789
5790 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5791
a912c016
JB
57922013-08-07 Juanma Barranquero <lekktu@gmail.com>
5793
5794 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5795 Use lexical-binding.
5796
5797 * frameset.el (frameset): Use type vector, not list (incompatible
5798 change). Do not declare a new constructor, use the default one.
5799 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5800 `name' and `description', respectively, and add read-only slot
5801 `timestamp'. Doc fixes.
5802 (frameset-copy, frameset-persistent-filter-alist)
5803 (frameset-filter-alist, frameset-switch-to-gui-p)
5804 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5805 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5806 (frameset-filter-iconified, frameset-keep-original-display-p):
5807 Doc fixes.
5808 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5809 Rename from frameset-filter-(save|restore)-param. All callers changed.
5810 Doc fix.
5811 (frameset-p): Adapt to change to vector and be more thorough.
5812 Change arg name to OBJECT. Doc fix.
5813 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5814 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5815 All callers changed.
5816 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5817 All callers changed.
5818 (frameset--record-minibuffer-relationships): Rename from
5819 frameset--process-minibuffer-frames. All callers changed.
5820 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5821 Use new default constructor (again). Doc fix.
5822 (frameset--find-frame-if): Rename from `frameset--find-frame.
5823 All callers changed.
5824 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5825 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5826 Doc fix.
5827 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5828 PARAMETERS and WINDOW-STATE, respectively.
5829 (frameset-restore): Add new keyword argument PREDICATE.
5830 Reset frameset--target-display to nil. Doc fix.
5831
bb41480a
SM
58322013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5833
f001e98e
SM
5834 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5835 (bat-mode): Use it.
5836 (bat-mode-syntax-table): Mark \n as end-of-comment.
5837 (bat-font-lock-keywords): Remove comment rule.
5838
7679edb1
SM
5839 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5840 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5841
bb41480a
SM
5842 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5843 (byte-compile-callargs-warn): Use `push'.
5844 (byte-compile-arglist-warn): Ignore higher-order "calls".
5845 (byte-compile-file-form-autoload): Use `pcase'.
5846 (byte-compile-function-form): If quoting a symbol, check that it exists.
5847
cdc1ebb9
EZ
58482013-08-07 Eli Zaretskii <eliz@gnu.org>
5849
5850 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5851 and add a few popular commands found in batch files.
5852 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5853 (dos-mode): Doc fixes.
5854
312b1740
SM
58552013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5856
5857 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5858 (dos-mode): Use setq-local. Add space after "rem".
5859 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5860 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5861
400a3178
AM
58622013-08-07 Arni Magnusson <arnima@hafro.is>
5863
5864 * progmodes/dos.el: New file.
5865 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5866 dos-mode.
5867
3b5c03d3
GM
58682013-08-06 Glenn Morris <rgm@gnu.org>
5869
5870 * calendar/calendar.el: Add new faces, and day-header-array.
5871 (calendar-weekday-header, calendar-weekend-header)
5872 (calendar-month-header): New faces.
5873 (calendar-day-header-construct): New function.
5874 (calendar-day-header-width): Also :set calendar-day-header-array.
5875 (calendar-american-month-header, calendar-european-month-header)
5876 (calendar-iso-month-header): Use calendar- faces.
5877 (calendar-generate-month):
5878 Use calendar-day-header-array for day headers; apply faces to them.
5879 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5880 (calendar-abbrev-construct): Add optional maxlen argument.
5881 (calendar-day-name-array): Doc fix.
5882 (calendar-day-name-array, calendar-abbrev-length)
5883 (calendar-day-abbrev-array):
5884 Also :set calendar-day-header-array, and maybe redraw.
5885 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5886 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5887 (calendar-day-name): Add option to use header array.
5888
ec6a2d7a
LMI
58892013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5890
5891 * net/shr.el (shr-render-td): Remove debugging.
5892 (shr-render-td): Make width computation consistent by defaulting
5893 all zero-width columns to 10 characters. This may not be optimal,
5894 but it's at least consistent.
2122cb6d
LMI
5895 (shr-make-table-1): Redo last change to fix the real problem in
5896 colspan handling.
ec6a2d7a 5897
ed4fd9c5
DA
58982013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5899
0ca3f70e
SM
5900 * files.el (cache-long-line-scans):
5901 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5902
64e22afe
JB
59032013-08-06 Juanma Barranquero <lekktu@gmail.com>
5904
024b38fc
JB
5905 * frameset.el (frameset, frameset-filter-alist)
5906 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5907 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5908 (frameset-compute-pos): Rename from frameset--compute-pos,
5909 and add docstring.
5910 (frameset-move-onscreen): Use frameset-compute-pos.
5911 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5912
64e22afe
JB
5913 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5914 Fix typos in docstrings.
5915
c8c2aca8
DA
59162013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5917
5918 * frame.el (get-other-frame): Tiny cleanup.
5919
1d237bba
JB
59202013-08-06 Juanma Barranquero <lekktu@gmail.com>
5921
8951efef
JB
5922 * vc/vc.el (vc-default-ignore-completion-table):
5923 Silence byte-compiler warning.
5924
307764cc
JB
5925 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5926 slot , which can indeed be nil.
5927 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5928 Move entry for `left' from persistent to live filter alist.
5929 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5930 Doc fixes.
5931 (frameset-filter-params): When restoring a frame, copy items added to
5932 `filtered', to avoid unwittingly modifying the original parameters.
5933 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5934 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5935
1d237bba
JB
5936 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5937 to use looking-at-p instead of looking-at. (Bug#15028)
5938
dc6c0eda
SM
59392013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 Revert introduction of isearch-filter-predicates (bug#14714).
5942 Rely on add-function instead.
5943 * isearch.el (isearch-filter-predicates): Rename it back to
5944 isearch-filter-predicate.
5945 (isearch-message-prefix): Use advice-function-mapc and advice
5946 properties to get the isearch-message-prefix.
5947 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5948 instead of run-hook-with-args-until-failure.
5949 (isearch-filter-visible): Not obsolete any more.
5950 * loadup.el: Preload nadvice.
5951 * replace.el (perform-replace): Revert to funcall
5952 instead of run-hook-with-args-until-failure.
5953 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5954 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5955 dired-isearch-filenames-toggle; make it into a proper minor mode.
5956 Use add/remove-function.
5957 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5958 Call the minor-mode rather than add/remove-hook.
5959 (dired-isearch-filter-filenames):
5960 Remove isearch-message-prefix property.
5961 * info.el (Info--search-loop): New function, extracted from Info-search.
5962 Funcall isearch-filter-predicate instead of
5963 run-hook-with-args-until-failure isearch-filter-predicates.
5964 (Info-search): Use it.
5965 (Info-mode): Use isearch-filter-predicate instead of
5966 isearch-filter-predicates.
5967
290d5b58
DA
59682013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5969
5970 Do not call to `selected-window' where it is assumed by default.
5971 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5972 `window-hscroll', `window-width', `window-height', `window-buffer',
5973 `window-frame', `window-start', `window-point', `next-window'
5974 and `window-display-table'.
5975 * abbrev.el (abbrev--default-expand):
5976 * bs.el (bs--show-with-configuration):
5977 * buff-menu.el (Buffer-menu-mouse-select):
5978 * calc/calc.el (calc):
5979 * calendar/calendar.el (calendar-generate-window):
5980 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5981 (diary-make-entry):
5982 * comint.el (send-invisible, comint-dynamic-complete-filename)
5983 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5984 * completion.el (complete):
5985 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5986 * disp-table.el (describe-current-display-table):
5987 * doc-view.el (doc-view-insert-image):
5988 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5989 * ehelp.el (with-electric-help):
5990 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5991 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5992 * emacs-lisp/helper.el (Helper-help-scroller):
5993 * emulation/cua-base.el (cua--post-command-handler-1):
5994 * eshell/esh-mode.el (eshell-output-filter):
5995 * ffap.el (ffap-gnus-wrapper):
5996 * help-macro.el (make-help-screen):
5997 * hilit-chg.el (highlight-compare-buffers):
5998 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5999 * hl-line.el (global-hl-line-highlight):
6000 * icomplete.el (icomplete-simple-completing-p):
6001 * isearch.el (isearch-done):
6002 * jit-lock.el (jit-lock-stealth-fontify):
6003 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6004 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
6005 * mpc.el (mpc-tagbrowser, mpc):
6006 * net/rcirc.el (rcirc-any-buffer):
6007 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6008 * play/landmark.el (landmark-max-width, landmark-max-height):
6009 * play/zone.el (zone):
6010 * progmodes/compile.el (compilation-goto-locus):
6011 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6012 * progmodes/etags.el (find-tag-other-window):
6013 * progmodes/fortran.el (fortran-column-ruler):
6014 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6015 * progmodes/verilog-mode.el (verilog-point-text):
6016 * reposition.el (reposition-window):
6017 * rot13.el (toggle-rot13-mode):
6018 * server.el (server-switch-buffer):
6019 * shell.el (shell-dynamic-complete-command)
6020 (shell-dynamic-complete-environment-variable):
6021 * simple.el (insert-buffer, set-selective-display)
6022 (delete-completion-window):
6023 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6024 (speedbar-recenter):
6025 * startup.el (fancy-splash-head):
6026 * textmodes/ispell.el (ispell-command-loop):
6027 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6028 * tutorial.el (help-with-tutorial):
6029 * vc/add-log.el (add-change-log-entry):
6030 * vc/compare-w.el (compare-windows):
6031 * vc/ediff-help.el (ediff-indent-help-message):
6032 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6033 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6034 (ediff-setup-control-frame):
6035 * vc/emerge.el (emerge-position-region):
6036 * vc/pcvs-util.el (cvs-bury-buffer):
6037 * window.el (walk-windows, mouse-autoselect-window-select):
6038 * winner.el (winner-set-conf, winner-undo): Related users changed.
6039
38276e01
JB
60402013-08-05 Juanma Barranquero <lekktu@gmail.com>
6041
6042 * frameset.el (frameset--set-id): Doc fix.
6043 (frameset-frame-id, frameset-frame-id-equal-p)
6044 (frameset-locate-frame-id): New functions.
6045 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6046 (frameset-restore): Use them.
6047
12b4c0ea
DA
60482013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6049
6050 Do not call to `selected-frame' where it is assumed by default.
6051 Affected functions are `raise-frame', `redraw-frame',
6052 `frame-first-window', `frame-terminal' and `delete-frame'.
6053 * calendar/appt.el (appt-disp-window):
6054 * epg.el (epg-wait-for-completion):
6055 * follow.el (follow-delete-other-windows-and-split)
6056 (follow-avoid-tail-recenter):
6057 * international/mule.el (set-terminal-coding-system):
6058 * mail/rmail.el (rmail-mail-return):
6059 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6060 * progmodes/f90.el (f90-add-imenu-menu):
6061 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6062 * server.el (server-switch-buffer):
6063 * simple.el (delete-completion-window):
6064 * talk.el (talk):
6065 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6066 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6067 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6068 * vc/ediff.el (ediff-documentation): Related users changed.
6069 * frame.el (selected-terminal): Remove the leftover.
6070
17f25e76
GM
60712013-08-05 Glenn Morris <rgm@gnu.org>
6072
6073 * calendar/calendar.el (calendar-generate-month):
6074 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6075 (calendar-generate-month, calendar-font-lock-keywords):
6076 Fix for calendar-day-header-width > length of any day name.
17f25e76 6077
063233c3
JB
60782013-08-05 Juanma Barranquero <lekktu@gmail.com>
6079
6080 * desktop.el (desktop-clear): Use new name of sort predicate.
6081
6082 * frameset.el (frameset): Add docstring. Move :version property to its
6083 own `version' slot.
6084 (frameset-copy): Rename from copy-frameset.
6085 (frameset-p): Check more thoroughly.
6086 (frameset-prop): Do not check for :version, which is no longer a prop.
6087 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6088 Use new :never value instead of t.
6089 (frameset-filter-alist): Expand and clarify docstring.
6090 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6091 (frameset-filter-minibuffer, frameset-filter-save-param)
6092 (frameset-filter-restore-param, frameset-filter-iconified):
6093 Add pointer to docstring of frameset-filter-alist.
6094 (frameset-filter-params): Rename filter values to be more meaningful:
6095 :never instead of t, and reverse the meanings of :save and :restore.
6096 (frameset--process-minibuffer-frames): Clarify error message.
6097 (frameset-save): Avoid unnecessary and confusing call to framep.
6098 Use new BOA constructor for framesets.
6099 (frameset--reuse-list): Doc fix.
6100 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6101 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6102 (frameset-minibufferless-first-p): Doc fix.
6103 Rename from frameset-sort-frames-for-deletion.
6104 (frameset-restore): Doc fixes. Use new function names.
6105 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6106
d5671a82
JB
61072013-08-04 Juanma Barranquero <lekktu@gmail.com>
6108
6109 * desktop.el (desktop-restore-forces-onscreen)
6110 (desktop-restore-reuses-frames): Document :keyword constant values.
6111 (desktop-filter-parameters-alist): Remove, now identical to
6112 frameset-filter-alist.
6113 (desktop--filter-tty*): Remove, moved to frameset.el.
6114 (desktop-save-frameset, desktop-restore-frameset):
6115 Do not pass :filters argument.
6116
6117 * frameset.el (frameset-live-filter-alist)
6118 (frameset-persistent-filter-alist): New variables.
6119 (frameset-filter-alist): Use them. Add autoload cookie.
6120 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6121 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6122 `frameset--id' (it's supposed to be internal to frameset.el).
6123 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6124 (frameset--initial-params): New function.
6125 (frameset--get-frame): Use it. Doc fix.
6126 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6127 Accept :all, not 'all.
6128 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6129 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6130 with fbound symbols. Fix frame id matching, and remove matching ids if
6131 the frame being restored is deleted. Obey :delete.
6132
671d5c16
SM
61332013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6134
6135 * subr.el (macrop): New function.
6136 (text-clone--maintaining): New var.
6137 (text-clone--maintain): Rename from text-clone-maintain. Use it
6138 instead of inhibit-modification-hooks.
6139
6140 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6141 a proxy, so as handle autoloads and redefinitions of the target.
6142 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6143
6144 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6145 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6146 (pcase--mutually-exclusive-p): New function.
6147 (pcase--split-consp): Use it.
6148 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6149 mutually exclusive with the current predicate.
6150
6151 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6152 (edebug-macrop): Remove. Use `macrop' instead.
6153 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6154 (ad-macro-p):
6155 * eshell/esh-cmd.el (eshell-macrop):
6156 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6157
1d44e9dc
SM
61582013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6159
6160 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6161 (advice-mapc): New function, using it.
6162 (advice-function-member-p): New function.
6163 (advice--normalize): Store the cdr in advice--saved-rewrite since
6164 that's the part that will be changed.
6165 (advice--symbol-function): New function.
6166 (advice-remove): Handle removal before the function is defined.
6167 Adjust to new advice--saved-rewrite.
6168 (advice-member-p): Use advice-function-member-p and
6169 advice--symbol-function.
6170
5414a283
JB
61712013-08-04 Juanma Barranquero <lekktu@gmail.com>
6172
51d30f2c
JB
6173 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6174 (frameset-filter-minibuffer): Doc fix.
6175 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6176 (frameset--set-id, frameset--process-minibuffer-frames)
6177 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6178 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6179
5414a283
JB
6180 * desktop.el (desktop-clear): Only delete frames when called
6181 interactively and desktop-restore-frames is non-nil. Doc fix.
6182 (desktop-read): Set desktop-saved-frameset to nil.
6183
ab419665
XF
61842013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6185
6186 * vc/vc.el (vc-ignore): Rewrite.
6187 (vc-default-ignore-completion-table):
6188 (vc--read-lines):
6189 (vc--add-line, vc--remove-regexp): New functions.
6190
6191 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6192 (vc-svn-ignore-completion-table): New function.
6193
6194 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6195 (vc-hg-ignore-completion-table):
6196 (vc-hg-find-ignore-file): New functions.
6197
6198 * vc/vc-git.el (vc-git-ignore): Rewrite.
6199 (vc-git-ignore-completion-table):
6200 (vc-git-find-ignore-file): New functions.
6201
6202 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6203
6204 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6205 (vc-bzr-ignore-completion-table):
6206 (vc-bzr-find-ignore-file): New functions.
6207
2613dea2
JB
62082013-08-03 Juanma Barranquero <lekktu@gmail.com>
6209
6210 * frameset.el (frameset-prop): New function and setter.
6211 (frameset-save): Do not modify frame list passed by the caller.
6212
9c959872
SM
62132013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6216
a104f656
SM
62172013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6218
70122acf
SM
6219 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6220 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6221
a104f656
SM
6222 * custom.el (custom-initialize-default, custom-initialize-set)
6223 (custom-initialize-reset, custom-initialize-changed): Affect the
6224 toplevel-default-value (bug#6275, bug#14586).
6225 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6226 for bug#6275.
6227
f078d570
JB
62282013-08-02 Juanma Barranquero <lekktu@gmail.com>
6229
185e3b5a
JB
6230 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6231 Add cl-def* expressions.
6232
f078d570
JB
6233 * frameset.el (frameset-filter-params): Fix order of arguments.
6234
9421876d
JB
62352013-08-02 Juanma Barranquero <lekktu@gmail.com>
6236
6237 Move code related to saving frames to frameset.el.
6238 * desktop.el: Require frameset.
6239 (desktop-restore-frames): Doc fix.
6240 (desktop-restore-reuses-frames): Rename from
6241 desktop-restoring-reuses-frames.
6242 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6243 (desktop-clear): Clear frames too.
6244 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6245 (desktop--filter-tty*, desktop-save, desktop-read):
6246 Use frameset functions.
6247 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6248 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6249 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6250 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6251 (desktop--process-minibuffer-frames, desktop-save-frames)
6252 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6253 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6254 (desktop--sort-states, desktop-restoring-frames-p)
6255 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6256 (desktop-restoring-frameset-p, desktop-restore-frameset)
6257 (desktop--check-dont-save, desktop-save-frameset): New functions.
6258 (desktop--app-id): New constant.
6259 (desktop-first-buffer, desktop-buffer-ok-count)
6260 (desktop-buffer-fail-count): Move before first use.
6261 * frameset.el: New file.
6262
76dc5996
SM
62632013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6264
6265 * files.el: Use lexical-binding.
6266 (dir-locals-read-from-file): Remove unused `err' variable.
6267 (hack-dir-local-variables--warned-coding): New var.
6268 (hack-dir-local-variables): Use it to avoid repeated warnings.
6269 (make-backup-file-name--default-function): New function.
6270 (make-backup-file-name-function): Use it as default.
6271 (buffer-stale--default-function): New function.
6272 (buffer-stale-function): Use it as default.
6273 (revert-buffer-insert-file-contents--default-function): New function.
6274 (revert-buffer-insert-file-contents-function): Use it as default.
6275 (insert-directory): Avoid add-to-list.
6276
6277 * autorevert.el (auto-revert-handler): Simplify.
6278 Use buffer-stale--default-function.
6279
06d36e2b
TH
62802013-08-01 Tassilo Horn <tsdh@gnu.org>
6281
5f648ab4
TH
6282 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6283
06d36e2b
TH
6284 * whitespace.el (whitespace-ensure-local-variables): New function.
6285 (whitespace-cleanup-region): Call it.
6286 (whitespace-turn-on): Call it.
6287
a43dc424
MA
62882013-08-01 Michael Albinus <michael.albinus@gmx.de>
6289
6290 Complete file name handlers.
6291
6292 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6293 (tramp-handle-verify-visited-file-modtime)
6294 (tramp-handle-file-notify-rm-watch): New functions.
6295 (tramp-call-process): Do not bind `default-directory'.
6296
44e18199
JB
6297 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6298 Order alphabetically.
a43dc424
MA
6299 [access-file, add-name-to-file, dired-call-process]:
6300 [dired-compress-file, file-acl, file-notify-rm-watch]:
6301 [file-ownership-preserved-p, file-selinux-context]:
6302 [make-directory-internal, make-symbolic-link, set-file-acl]:
6303 [set-file-selinux-context, set-visited-file-modtime]:
6304 [verify-visited-file-modtime]: Add handler.
6305 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6306
6307 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6308 [file-notify-add-watch, file-notify-rm-watch]:
6309 [set-file-times, set-visited-file-modtime]:
6310 [verify-visited-file-modtime]: Add handler.
6311 (with-tramp-gvfs-error-message)
6312 (tramp-gvfs-handle-set-visited-file-modtime)
6313 (tramp-gvfs-fuse-file-name): Remove.
6314 (tramp-gvfs-handle-file-notify-add-watch)
6315 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6316 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6317
44e18199
JB
6318 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6319 Order alphabetically.
a43dc424
MA
6320 [file-notify-rm-watch ]: Use default Tramp handler.
6321 [executable-find]: Remove private handler.
6322 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6323 `default-directory'.
6324 (tramp-sh-handle-executable-find)
6325 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6326 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6327 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6328 Do not use `format' in `tramp-message'.
6329
6330 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6331 [file-notify-rm-watch, set-visited-file-modtime]:
6332 [verify-visited-file-modtime]: Add handler.
6333 (tramp-smb-call-winexe): Do not bind `default-directory'.
6334
7188b515
XF
63352013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6336
6337 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6338
2412ee1a
DG
63392013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6340
6341 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6342 use it.
6343 (log-view-diff-changeset): Same.
6344 (log-view-diff-common): Call backend command `previous-revision'
6345 to find out the previous revision, in both cases. Swap the
6346 variables `to' and `fr', so that `fr' usually refers to the
6347 earlier revision (Bug#14989).
6348
5002a754
KRC
63492013-07-31 Kan-Ru Chen <kanru@kanru.info>
6350
6351 * ibuf-ext.el (ibuffer-filter-by-filename):
6352 Make it work with dired buffers too.
6353
44e18199 63542013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6355
6356 * emacs-lisp/re-builder.el (reb-color-display-p):
6357 * files.el (save-buffers-kill-terminal):
6358 * net/browse-url.el (browse-url):
6359 * server.el (server-save-buffers-kill-terminal):
6360 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6361 Prefer nil to selected-frame for the first arg of frame-parameter.
6362
aeca3fbb
XF
63632013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6364
6365 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6366
158bc55c
SB
63672013-07-30 Stephen Berman <stephen.berman@gmx.net>
6368
6369 * minibuffer.el (completion--twq-all): Try and preserve each
6370 completion's case choice (bug#14907).
6371
d50fceab
LMI
63722013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6373
ac38e731
LMI
6374 * net/network-stream.el (open-network-stream): Mention the new
6375 :nogreeting parameter.
6376 (network-stream-open-starttls): Use the :nogreeting parameter
6377 (bug#14938).
6378
1211de50
LMI
6379 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6380
997798bf
LMI
6381 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6382 more natural than popping.
6383
d50fceab 6384 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6385 (shr-urlify): Highlight under mouse.
d50fceab 6386
5c09de04
XF
63872013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6388
207d1d04
XF
6389 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6390
6391 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6392
5c09de04
XF
6393 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6394 buffer for output.
6395
3cd51eaa
XF
6396 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6397 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6398
44e18199 6399 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6400 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6401
6402 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6403
6404 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6405 buffer for output.
6406
35a89bdd
EZ
64072013-07-29 Eli Zaretskii <eliz@gnu.org>
6408
6409 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6410 initial frame is minibuffer-less. (Bug#14841)
6411
78822e94
MA
64122013-07-29 Michael Albinus <michael.albinus@gmx.de>
6413
6414 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6415 option.
6416
6417 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6418 (tramp-maybe-open-connection): Use it.
6419
9503c190
JB
64202013-07-28 Juanma Barranquero <lekktu@gmail.com>
6421
6422 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6423 minimal set of parameters passed when creating a frame, because
6424 the minibuffer status of a frame cannot be changed later.
6425
d5a845b4
SB
64262013-07-28 Stephen Berman <stephen.berman@gmx.net>
6427
6428 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6429 replace-regexp-in-string and inadvertent omissions in previous change.
6430 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6431 name of filtered items buffer.
d5a845b4 6432
ddeffb17
JB
64332013-07-28 Juanma Barranquero <lekktu@gmail.com>
6434
6435 * desktop.el: Optionally force offscreen frames back onscreen.
6436 (desktop-restoring-reuses-frames): New option.
6437 (desktop--compute-pos, desktop--move-onscreen): New functions.
6438 (desktop--make-frame): Use desktop--move-onscreen.
6439
f5950f7a
AM
64402013-07-27 Alan Mackenzie <acm@muc.de>
6441
6442 Fontify a Java generic method as a function.
6443 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6444 value to t.
6445
ae43b66a
SB
64462013-07-27 Stephen Berman <stephen.berman@gmx.net>
6447
6448 * calendar/todo-mode.el: Add command to rename todo files.
6449 (todo-rename-file): New command.
6450 (todo-key-bindings-t): Add key binding for it. Change the
6451 bindings of todo-filter-regexp-items(-multifile) to use `x'
6452 instead of `r', since the latter is better suited to the new
6453 renaming command.
6454
5ab78d3d
AM
64552013-07-27 Alan Mackenzie <acm@muc.de>
6456
6457 Make Java try-with-resources statement parse properly.
6458 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6459 (c-block-stmt-1-2-key): New language constants/variables.
6460 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6461 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6462 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6463 with c-block-stmt-1-2-key.
5ab78d3d 6464
d85c4d50
JB
64652013-07-27 Juanma Barranquero <lekktu@gmail.com>
6466
6467 * desktop.el (desktop--make-frame): Apply most frame parameters after
6468 creating the frame to force (partially or totally) offscreen frames to
6469 be restored as such.
6470
e4c467f9
XF
64712013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6472
6473 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6474 (Bug#14948)
e4c467f9 6475
7ced0d04
SM
64762013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6479 `base' arg of backtrace-frame.
6480
fec92060
EZ
64812013-07-26 Eli Zaretskii <eliz@gnu.org>
6482
6483 * simple.el (list-processes): Doc fix.
6484
d58d31fb
JB
64852013-07-26 Juanma Barranquero <lekktu@gmail.com>
6486
6487 * desktop.el (desktop--select-frame):
d85c4d50 6488 Try harder to reuse existing frames.
d58d31fb 6489
53ff3e77
SM
64902013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6493 (edebug-eval): Use backtrace-eval.
6494 (edebug--display, edebug--recursive-edit): Don't let-bind the
6495 edebug-outer-* vars that keep track of variables we locally let-bind.
6496 (edebug-outside-excursion): Don't restore outside values of locally
6497 let-bound vars.
6498 (edebug--display): Use user-error.
6499 (cl-lexical-debug, cl-debug-env): Remove.
6500
045f7a53
JB
65012013-07-26 Juanma Barranquero <lekktu@gmail.com>
6502
6503 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6504 are restored to be sure that they are visible before deleting any
6505 remaining ones.
6506
59070b32
MM
65072013-07-26 Matthias Meulien <orontee@gmail.com>
6508
742a3501
XF
6509 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6510 vc-print-root-log. (Bug#14948)
59070b32 6511
b1fb3596
RS
65122013-07-26 Richard Stallman <rms@gnu.org>
6513
6514 Add aliases for encrypting mail.
6515 * epa.el (epa-mail-aliases): New option.
6516 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6517 Bind inhibit-read-only so read-only text doesn't ruin everything.
6518 (epa-mail-default-recipients): New subroutine broken out.
6519 Handle epa-mail-aliases.
6520
56ea7291
SM
65212013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6522
6523 Add support for lexical variables to the debugger's `e' command.
6524 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6525 vars, except for debugger-outer-match-data.
6526 (debugger-frame-number): Move check for "on a function call" from
6527 callers into it. Add `skip-base' argument.
6528 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6529 (debugger-env-macro): Only reset the state stored in non-variables,
6530 i.e. current-buffer and match-data.
6531 (debugger-eval-expression): Rewrite using backtrace-eval.
6532 * subr.el (internal--called-interactively-p--get-frame): Remove.
6533 (called-interactively-p):
6534 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6535 `base' arg of backtrace-frame instead.
6536
15ac32d5
GM
65372013-07-26 Glenn Morris <rgm@gnu.org>
6538
8358a09d
GM
6539 * align.el (align-regexp): Doc fix. (Bug#14857)
6540 (align-region): Explicit error if subexpression missing/does not match.
6541
15ac32d5
GM
6542 * simple.el (global-visual-line-mode):
6543 Do not duplicate the mode lighter. (Bug#14858)
6544
f47ad11b
MR
65452013-07-25 Martin Rudalics <rudalics@gmx.at>
6546
6547 * window.el (display-buffer): In display-buffer bind
6548 split-window-keep-point to t, bug#14829.
6549
02530987
JB
65502013-07-25 Juanma Barranquero <lekktu@gmail.com>
6551
6552 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6553 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6554 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6555 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6556 Change accordingly.
f63ebeb5
JB
6557 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6558 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6559
6ccb9cab 65602013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6561
6ccb9cab 6562 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6563
cb3a56d2
JB
65642013-07-25 Juanma Barranquero <lekktu@gmail.com>
6565
6566 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6567 parameter to modify-frame-parameters if the value has not changed;
6568 this is a workaround for bug#14949.
6569 (desktop--make-frame): On cl-delete-if call, check parameter name,
6570 not full parameter.
6571
7aa7fff0
XF
65722013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6573
6574 * vc/vc.el (vc-ignore): New function.
6575
6576 * vc/vc-svn.el (vc-svn-ignore): New function.
6577
6578 * vc/vc-hg.el (vc-hg-ignore): New function.
6579
6580 * vc/vc-git.el (vc-git-ignore): New function.
6581
6582 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6583 (vc-dir-ignore): New function.
6584
6585 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6586 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6587
6588 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6589
6590 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6591
889acc5c
JB
65922013-07-24 Juanma Barranquero <lekktu@gmail.com>
6593
6594 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6595 (desktop-restore-frames): Warn when deleting an existing frame failed.
6596
86c40970
GM
65972013-07-24 Glenn Morris <rgm@gnu.org>
6598
6599 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6600
d5d3c58a
MA
66012013-07-24 Michael Albinus <michael.albinus@gmx.de>
6602
6603 * filenotify.el (file-notify-supported-p):
6604 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6605 Remove functions.
6606
6607 * autorevert.el (auto-revert-use-notify):
6608 (auto-revert-notify-add-watch):
6609 * net/tramp.el (tramp-file-name-for-operation):
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-sh.el (tramp-sh-file-name-handler-alist):
6613 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6614 Remove `file-notify-supported-p' entry.
6615
d100084b
GM
66162013-07-24 Glenn Morris <rgm@gnu.org>
6617
6618 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6619 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6620
ac93e56b
SM
66212013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6622
249eea30
SM
6623 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6624 checked with memq (bug#14935).
6625
ac93e56b
SM
6626 * files.el (revert-buffer-function): Use a non-nil default.
6627 (revert-buffer-preserve-modes): Declare var to
6628 provide access to the `preserve-modes' argument.
6629 (revert-buffer): Let-bind it.
6630 (revert-buffer--default): New function, extracted from revert-buffer.
6631
2cdeb903
SM
66322013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6633
6634 * lpr.el: Signal print errors more prominently.
6635 (print-region-function): Don't default to nil.
6636 (lpr-print-region): New function, extracted from print-region-1.
6637 Check lpr's return value and signal an error in case of problem.
6638 (print-region-1): Use it.
6639 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6640 versions instead.
6641 (ps-printer-name): Default to nil.
6642 (ps-printer-name-option): Default to lpr-printer-switch.
6643 (ps-print-region-function): Don't default to nil.
6644 (ps-postscript-code-directory): Simplify default.
6645 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6646 (ps-string-list, ps-eval-switch, ps-flatten-list)
6647 (ps-flatten-list-1): Remove.
6648 (ps-multibyte-buffer): Avoid setq.
6649 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6650 (print-region-function, ps-print-region-function): Don't set them here.
6651
73600831
XF
66522013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6653
0e55c076
XF
6654 * ido.el (ido-fractionp):
6655 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6656 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6657 (ido-max-directory-size, ido-max-dir-file-cache)
6658 (ido-decorations): Doc fix.
6659
73600831
XF
6660 * ansi-color.el: Fix old URL.
6661
3d012865
MM
66622013-07-23 Michael R. Mauger <michael@mauger.com>
6663
e903c210 6664 * progmodes/sql.el: Version 3.3
3d012865
MM
6665 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6666 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6667 (sql-interactive-remove-continuation-prompt): Rewrite, use
6668 functions above. Fix continuation prompt and complete output line
6669 handling.
6670 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6671 redirected output buffer.
6672 (sql-mode): Restore deleted code (Bug#13591).
6673
da77a2e2
JB
66742013-07-23 Juanma Barranquero <lekktu@gmail.com>
6675
6676 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6677
80ff0c71
MA
66782013-07-23 Michael Albinus <michael.albinus@gmx.de>
6679
6680 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6681
6682 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6683 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6684 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6685
b61d71e4
JB
66862013-07-23 Juanma Barranquero <lekktu@gmail.com>
6687
6688 * desktop.el (desktop-clear): Simplify; remove useless checks
6689 against invalid buffer names.
6690 (desktop-list*): Use cl-list*.
6691 (desktop-buffer-info, desktop-create-buffer): Simplify.
6692
c3512092
LL
66932013-07-23 Leo Liu <sdl.web@gmail.com>
6694
6695 * bookmark.el (bookmark-make-record): Restore NAME as a default
6696 value. (Bug#14933)
6697
0ac26976
SM
66982013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6699
7d22ce18
SM
6700 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6701 extracted from autoload--insert-text.
6702 (autoload--insert-text): Remove.
6703 (autoload--print-cookie-text): New function, extracted from
6704 autoload--insert-cookie-text.
6705 (autoload--insert-cookie-text): Remove.
6706 (autoload-generate-file-autoloads): Adjust calls accordingly.
6707
9b2607e8
SM
6708 * winner.el (winner-hook-installed-p): Remove.
6709 (winner-mode): Simplify accordingly.
6710
c43a8618
SM
6711 * subr.el (add-to-list): Fix compiler-macro when `append' is
6712 not constant. Don't use `cl-member' for the base case.
6713
0ac26976
SM
6714 * progmodes/subword.el: Fix boundary case (bug#13758).
6715 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6716 own group.
6717 (subword-backward-regexp): Make it a constant.
6718 (subword-forward-internal): Don't treat a trailing capital as the
6719 beginning of a word.
6720
6874724a
AR
67212013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6722
6723 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6724 global value of tabulated-list-revert-hook (bug#14930).
6725
70f1b5e8
JB
67262013-07-22 Juanma Barranquero <lekktu@gmail.com>
6727
a1c80d9d
JB
6728 * desktop.el: Require 'cl-lib.
6729 (desktop-before-saving-frames-functions): New hook.
6730 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6731 for frames being saved. Rename from desktop--save-minibuffer-frames.
6732 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6733 Do not save frames with non-nil `desktop-dont-save' parameter.
6734 Filter out deleted frames.
a1c80d9d
JB
6735 (desktop--find-frame): Use cl-find-if.
6736 (desktop--select-frame): Use cl-(first|second|third) to access values
6737 of desktop-mini.
6738 (desktop--make-frame): Use cl-delete-if.
6739 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6740 (desktop-restore-frames): Use cl-(first|second|third) to access values
6741 of desktop-mini. Look for visible frame at the end, not while
6742 restoring frames.
6743
70f1b5e8
JB
6744 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6745 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6746 Use string-match-p, looking-at-p (bug#14927).
6747
728dc3cc
JB
67482013-07-21 Juanma Barranquero <lekktu@gmail.com>
6749
56bc453c
JB
6750 * desktop.el (desktop-saved-frame-states):
6751 Rename from desktop--saved-states; all users changed.
6752 (desktop-save-frames): Rename from desktop--save-frames.
6753 Do not save state to desktop file.
6754 (desktop-save): Save desktop-saved-frame-states to desktop file
6755 and reset to nil.
6756 (desktop-restoring-frames-p): New function.
6757 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6758 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6759 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6760
728dc3cc
JB
6761 * desktop.el: Correctly restore iconified frames.
6762 (desktop--filter-iconified-position): New function.
6763 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6764
862f1c9c
GM
67652013-07-20 Glenn Morris <rgm@gnu.org>
6766
c4074c9f
GM
6767 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6768 Let `message' do the formatting.
6769 (def-gdb-preempt-display-buffer): Add explicit format.
6770
d828e5f9
GM
6771 * image-dired.el (image-dired-track-original-file):
6772 Use with-current-buffer.
6773 (image-dired-track-thumbnail): Use with-current-buffer.
6774 Avoid changing point of wrong window.
6775
862f1c9c
GM
6776 * image-dired.el (image-dired-track-original-file):
6777 Avoid changing point of wrong window. (Bug#14909)
6778
f0398ec1 67792013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6780
6781 * progmodes/gdb-mi.el (gdb-done-or-error):
6782 Guard against "%" in gdb output. (Bug#14127)
6783
1451928f
AS
67842013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6785
763a086d
JB
6786 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6787 (Bug#14826)
f7a03897 6788
1451928f
AS
6789 * international/mule.el (coding-system-iso-2022-flags): Fix last
6790 change.
6791
99107004
KH
67922013-07-20 Kenichi Handa <handa@gnu.org>
6793
763a086d
JB
6794 * international/mule.el (coding-system-iso-2022-flags):
6795 Add `8-bit-level-4'. (Bug#8522)
99107004 6796
48494e06
LMI
67972013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6798
8ba8eec5
LMI
6799 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6800 (bug#14815).
6801
dfbc66e3
LMI
6802 * net/eww.el (eww-process-text-input): Allow inputting when the
6803 point is at the start of the line, as the properties aren't
6804 front-sticky.
6805
48494e06
LMI
6806 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6807 degenerate widths.
6808
77c92cb9
RS
68092013-07-19 Richard Stallman <rms@gnu.org>
6810
aec7da77
RS
6811 * epa.el (epa-popup-info-window): Doc fix.
6812
77c92cb9
RS
6813 * subr.el (split-string): New arg TRIM.
6814
945c5bb1
JB
68152013-07-18 Juanma Barranquero <lekktu@gmail.com>
6816
6817 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6818 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6819
e06ec67f
MA
68202013-07-18 Michael Albinus <michael.albinus@gmx.de>
6821
c7064f05 6822 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6823 `file-notify-support'. Do not autoload. Adapt all uses.
6824 (file-notify-supported-p): New defun.
6825
c7064f05
JB
6826 * autorevert.el (auto-revert-use-notify):
6827 Use `file-notify-supported-p' instead of `file-notify-support'.
6828 Adapt docstring.
e06ec67f
MA
6829 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6830
6831 * net/tramp.el (tramp-file-name-for-operation):
6832 Add `file-notify-supported-p'.
6833
6834 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6835 New defun.
6836 (tramp-sh-file-name-handler-alist): Add it as handler for
6837 `file-notify-supported-p '.
6838
6839 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6840 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6841 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6842 Add `ignore' as handler for `file-notify-*' functions.
6843
5dc8a629
EZ
68442013-07-17 Eli Zaretskii <eliz@gnu.org>
6845
6846 * simple.el (line-move-partial, line-move): Don't start vscroll or
6847 scroll-up if the current line is not taller than the window.
6848 (Bug#14881)
6849
77aea2fb
DG
68502013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6851
6852 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6853 highlight question marks in the method names as strings.
ac72c08d
DG
6854 (ruby-block-beg-keywords): Inline.
6855 (ruby-font-lock-keyword-beg-re): Extract from
6856 `ruby-font-lock-keywords'.
77aea2fb 6857
18c26d81
JD
68582013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6859
6860 * frame.el (blink-cursor-blinks): New defcustom.
6861 (blink-cursor-blinks-done): New defvar.
6862 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6863 (blink-cursor-timer-function): Check if number of blinks has been
6864 done on X and NS.
6865 (blink-cursor-suspend, blink-cursor-check): New defuns.
6866
da48522e
GM
68672013-07-15 Glenn Morris <rgm@gnu.org>
6868
6869 * edmacro.el (edmacro-format-keys): Fix previous change.
6870
0463c1ef
PE
68712013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6872
6873 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6874 The hack didn't work outside English locales anyway.
6875
b43f6451
JB
68762013-07-15 Juanma Barranquero <lekktu@gmail.com>
6877
6878 * simple.el (define-alternatives): Rename from alternatives-define,
6879 per RMS' suggestion.
6880
b958c0ad
JB
68812013-07-14 Juanma Barranquero <lekktu@gmail.com>
6882
6883 * desktop.el (desktop-restore-frames): Change default to t.
6884 (desktop-restore-in-current-display): Now offer more options.
6885 (desktop-restoring-reuses-frames): New customization option.
6886 (desktop--saved-states): Doc fix.
6887 (desktop-filter-parameters-alist): New variable, renamed and expanded
6888 from desktop--excluded-frame-parameters.
6889 (desktop--target-display): New variable.
6890 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6891 (desktop--filter-tty*, desktop--filter-*-color)
6892 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6893 (desktop--filter-save-desktop-parm)
6894 (desktop-restore-in-original-display-p): New functions.
6895 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6896 (desktop--save-minibuffer-frames): New function, inspired by a similar
6897 function from Martin Rudalics.
6898 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6899 (desktop--restore-in-this-display-p): Remove.
6900 (desktop--find-frame): Rename from desktop--find-frame-in-display
6901 and add predicate argument.
6902 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6903 (desktop--reuse-list): New variable.
6904 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6905 New functions.
6906 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6907
f6dd8b36
MA
69082013-07-14 Michael Albinus <michael.albinus@gmx.de>
6909
6910 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6911
2ce3c565
DG
69122013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6913
763a086d
JB
6914 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6915 Highlight conversion methods on Kernel.
2ce3c565 6916
2cdb7698
AM
69172013-07-13 Alan Mackenzie <acm@muc.de>
6918
6919 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6920 and comment it out. This out-commenting enables certain C++
6921 declarations to be parsed correctly.
6922
1a67b811
EZ
69232013-07-13 Eli Zaretskii <eliz@gnu.org>
6924
1b796d6b
EZ
6925 * international/mule.el (define-coding-system): Doc fix.
6926
1a67b811
EZ
6927 * simple.el (default-font-height): Don't call font-info if the
6928 frame's default font didn't change since the frame was created.
6929 (Bug#14838)
6930
58fbe886
LL
69312013-07-13 Leo Liu <sdl.web@gmail.com>
6932
6933 * ido.el (ido-read-file-name): Guard against non-symbol value.
6934
1f0480d4
FEG
69352013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6936
6937 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6938 in nested defuns.
6939
97ead0e5
LL
69402013-07-13 Leo Liu <sdl.web@gmail.com>
6941
6942 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6943 ido-set-matches call. (Bug#6852)
6944
0880a952
DG
69452013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6946
6947 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6948 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6949 Ruby 2.0.
6950 (ruby-font-lock-keywords): Distinguish calls to functions with
6951 module-like names from module references. Highlight character
6952 literals.
6953
a7d8babb
SDJ
69542013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6955
6956 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6957 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6958
acfcc8c5
JB
69592013-07-12 Juanma Barranquero <lekktu@gmail.com>
6960
6961 * desktop.el (desktop--v2s): Remove unused local variable.
6962 (desktop-save-buffer): Make defvar-local; adjust docstring.
6963 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6964 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6965
051f2775
AS
69662013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6967
6968 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6969
f24e7572
GM
69702013-07-12 Eli Zaretskii <eliz@gnu.org>
6971
6972 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6973 (Bug#14842)
6974
539a920c
GM
69752013-07-12 Glenn Morris <rgm@gnu.org>
6976
6977 * doc-view.el: Require cl-lib at runtime too.
6978 (doc-view-remove-if): Remove.
6979 (doc-view-search-next-match, doc-view-search-previous-match):
6980 Use cl-remove-if.
6981
6982 * edmacro.el: Require cl-lib at runtime too.
6983 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6984 (edmacro-mismatch, edmacro-subseq): Remove.
6985
6986 * shadowfile.el: Require cl-lib.
6987 (shadow-remove-if): Remove.
6988 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6989 Use cl-remove-if.
6990
6991 * wid-edit.el: Require cl-lib.
6992 (widget-choose): Use cl-remove-if.
6993 (widget-remove-if): Remove.
6994
6995 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6996 (ebrowse-delete-if-not): Remove.
6997 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6998 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6999 Use cl-delete-if-not.
7000
1048af7c
JB
70012013-07-12 Juanma Barranquero <lekktu@gmail.com>
7002
7003 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7004 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7005
6c0674ee
LL
70062013-07-12 Leo Liu <sdl.web@gmail.com>
7007
7008 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7009
a19b3c2d
GM
70102013-07-11 Glenn Morris <rgm@gnu.org>
7011
4582a01c
GM
7012 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7013 (edebug-gensym-index, edebug-gensym):
7014 Remove reimplementation of cl-gensym.
7015 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7016
7017 * thumbs.el: Require cl-lib at run-time too.
7018 (thumbs-gensym-counter, thumbs-gensym):
7019 Remove reimplementation of cl-gensym.
7020 (thumbs-temp-file): Use cl-gensym.
7021
a19b3c2d
GM
7022 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7023 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7024 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7025 (ert--union, ert--gensym-counter, ert--gensym-counter)
7026 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7027 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7028 (ert-make-test-unbound, ert--expand-should-1)
7029 (ert--expand-should, ert--should-error-handle-error)
7030 (should-error, ert--explain-equal-rec)
7031 (ert--plist-difference-explanation, ert-select-tests)
7032 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7033 Use cl-lib functions rather than reimplementations.
7034
88f6a933
MA
70352013-07-11 Michael Albinus <michael.albinus@gmx.de>
7036
7037 * net/tramp.el (tramp-methods): Extend docstring.
7038 (tramp-connection-timeout): New defcustom.
7039 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7040 (with-tramp-progress-reporter): Simplify.
7041 (tramp-process-actions): Improve messages.
7042
7043 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7044 * net/tramp-sh.el (tramp-maybe-open-connection):
7045 Use `tramp-connection-timeout'.
7046 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7047 (Bug#14808)
7048
a43d577e
LL
70492013-07-11 Leo Liu <sdl.web@gmail.com>
7050
7051 * ido.el (ido-read-file-name): Conform to the requirements of
7052 read-file-name. (Bug#11861)
7053 (ido-read-directory-name): Conform to the requirements of
7054 read-directory-name.
7055
d77974bf
JB
70562013-07-11 Juanma Barranquero <lekktu@gmail.com>
7057
7058 * subr.el (delay-warning): New function.
7059
35cb8a3e
EZ
70602013-07-10 Eli Zaretskii <eliz@gnu.org>
7061
7062 * simple.el (default-line-height): New function.
7063 (line-move-partial, line-move): Use it instead of computing the
7064 line height inline.
7065 (line-move-partial): Always compute ROWH. If the last line is
7066 partially-visible, but its text is completely visible, allow
7067 cursor to enter such a partially-visible line.
7068
525c5c77
MA
70692013-07-10 Michael Albinus <michael.albinus@gmx.de>
7070
7071 Improve error messages. (Bug#14808)
7072
7073 * net/tramp.el (tramp-current-connection): New defvar, moved from
7074 tramp-sh.el.
0ac26976 7075 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7076 needed anymore.
0ac26976
SM
7077 (tramp-error-with-buffer): Show message in minibuffer.
7078 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7079 (with-tramp-progress-reporter): Improve messages.
7080 (tramp-process-actions): Use progress reporter. Delete process in
7081 case of error. Improve messages.
7082
763a086d
JB
7083 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7084 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7085 (tramp-current-connection): Remove.
525c5c77
MA
7086 (tramp-maybe-open-connection): The car of
7087 `tramp-current-connection' are the first 3 slots of the vector.
7088
c7a4d368
TZ
70892013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7090
7091 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7092 inside continued strings.
7093
954b166e
PE
70942013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7095
7096 Timestamp fixes for undo (Bug#14824).
7097 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7098
56973319
LL
70992013-07-10 Leo Liu <sdl.web@gmail.com>
7100
7101 * files.el (require-final-newline): Allow safe local value.
7102 (Bug#14834)
7103
5550a72c
LL
71042013-07-09 Leo Liu <sdl.web@gmail.com>
7105
7106 * ido.el (ido-read-directory-name): Handle fallback.
7107 (ido-read-file-name): Update DIR to ido-current-directory.
7108 (Bug#1516)
c28b9050 7109 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7110
70c46b28
DG
71112013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7112
7113 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7114 "autoload". Remove "warn lower camel case" section, previously
7115 commented out. Highlight negation char. Do not highlight the
7116 target in singleton method definitions.
7117
0b64b838
SM
71182013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7119
7fd72e2c
SM
7120 * faces.el (tty-setup-hook): Declare the hook.
7121
0b64b838
SM
7122 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7123 and detect when a guard/pred depends on local vars (bug#14773).
7124 (pcase--u1): Adjust caller.
7125
ab49d60b
EZ
71262013-07-08 Eli Zaretskii <eliz@gnu.org>
7127
7128 * simple.el (line-move-partial, line-move): Account for
7129 line-spacing.
701d79aa
EZ
7130 (line-move-partial): Avoid setting vscroll when the last
7131 partially-visible line in window is of default height.
ab49d60b 7132
2d756ae0
LMI
71332013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7134
7135 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7136 been used a while.
7137
ed095bd7
JB
71382013-07-07 Juanma Barranquero <lekktu@gmail.com>
7139
7140 * subr.el (read-quoted-char): Remove unused local variable `char'.
7141
f1e6674b
MK
71422013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7143
584ee3fc
GM
7144 * ediff.el (ediff-version): Version update.
7145 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7146 (ediff-merge-with-ancestor-command, ediff-directories-command)
7147 (ediff-directories3-command, ediff-merge-directories-command)
7148 (ediff-merge-directories-with-ancestor-command): New functions.
7149 All are command-line interfaces to ediff: to facilitate calling
7150 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7151
7152 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7153 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7154
584ee3fc
GM
7155 * viper.el (viper-version): Version update.
7156 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7157
584ee3fc
GM
71582013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7159
7160 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7161 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7162 (viper-intercept-ESC-key): Simplify.
7163 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7164 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7165 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7166 (viper-setup-ESC-to-escape): New functions.
7167 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7168 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7169
9aff9b38
EZ
71702013-07-07 Eli Zaretskii <eliz@gnu.org>
7171
5165d44a
JB
7172 * simple.el (default-font-height, window-screen-lines):
7173 New functions.
9aff9b38
EZ
7174 (line-move, line-move-partial): Use them instead of
7175 frame-char-height and window-text-height. This makes scrolling
7176 text smoother when the buffer's default face uses a font that is
7177 different from the frame's default font.
7178
1afb1d07
JD
71792013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7180
7181 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7182 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7183
23de972a
EZ
71842013-07-06 Eli Zaretskii <eliz@gnu.org>
7185
7186 * simple.el (line-move-partial): Adjust the row returned by
7187 posn-at-point for the current window-vscroll. (Bug#14567)
7188
54a42486
MA
71892013-07-06 Michael Albinus <michael.albinus@gmx.de>
7190
7191 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7192 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7193 spaces.
7194
34ada5f4
MR
71952013-07-06 Martin Rudalics <rudalics@gmx.at>
7196
7197 * window.el (window-state-put-stale-windows): New variable.
7198 (window--state-put-2): Save list of windows without matching buffer.
7199 (window-state-put): Remove "bufferless" windows if possible.
7200
11e03d89
JB
72012013-07-06 Juanma Barranquero <lekktu@gmail.com>
7202
7203 * simple.el (alternatives-define): Remove leftover :group keyword.
7204 Tweak docstring.
7205
3504a4be
LL
72062013-07-06 Leo Liu <sdl.web@gmail.com>
7207
7208 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7209 (ido-enable-virtual-buffers): New variable.
7210 (ido-buffer-internal, ido-toggle-virtual-buffers)
7211 (ido-make-buffer-list): Use it.
7212 (ido-exhibit): Support turning on and off virtual buffers
7213 automatically.
7214
61e56e2c
JB
72152013-07-06 Juanma Barranquero <lekktu@gmail.com>
7216
7217 * simple.el (alternatives-define): New macro.
7218
321e1a9c
SM
72192013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7220
7221 * subr.el (read-quoted-char): Use read-key.
7222 (sit-for): Let read-event decode tty input (bug#14782).
7223
d610f6dd
SB
72242013-07-05 Stephen Berman <stephen.berman@gmx.net>
7225
7226 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7227 mode command and externally. Fix various related bugs.
7228 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7229 (todo-delete-file): New command.
7230 (todo-check-file): New function.
7231 (todo-show): Handle external deletion of the file we're trying to
7232 show (bug#14688). Replace called-interactively-p by an optional
7233 prefix argument to avoid problematic interaction with catch form
7234 when byte compiled (bug#14702).
7235 (todo-quit): Handle external deletion of the archive's todo file.
7236 Make sure the buffer that was visiting the archive file is still
7237 live before trying to bury it.
7238 (todo-category-completions): Handle external deletion of any
7239 category completion files.
7240 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7241 of todo files, in case of external deletion.
7242 (todo-add-file): Replace unnecessary setq by let-binding.
7243 (todo-find-archive): Check whether there are any archives.
7244 Replace unnecessary setq by let-binding.
7245 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7246 archive buffer whether or not the archive already exists.
7247 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7248 check if the archive is new; if it is, update list of archives.
7249 (todo-default-todo-file): Allow nil to be a valid value for when
7250 there are no todo files.
7251 (todo-reevaluate-default-file-defcustom): Use corrected definition
7252 of todo-default-todo-file.
7253 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7254 (todo-delete-category, todo-show-categories-table)
7255 (todo-category-number): Clarify comment.
7256 (todo-filter-items): Clarify documentation string.
7257 (todo-show-current-file, todo-display-as-todo-file)
7258 (todo-reset-and-enable-done-separator): Tweak documentation string.
7259 (todo-done-separator): Make separator length window-width, since
7260 bug#2749 is now fixed.
7261
ddbdfd6f
MA
72622013-07-05 Michael Albinus <michael.albinus@gmx.de>
7263
321e1a9c
SM
7264 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7265 Support both "gvfs-monitor-dir" and "inotifywait".
7266 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7267 `tramp-sh-file-notify-process-filter'.
7268 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7269 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7270
96eb829a
LL
72712013-07-05 Leo Liu <sdl.web@gmail.com>
7272
7273 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7274
cf13177e
YM
72752013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7276
7277 * frame.el (display-pixel-height, display-pixel-width)
7278 (display-mm-height, display-mm-width): Mention behavior on
7279 multi-monitor setups in docstrings.
7280 (w32-display-monitor-attributes-list): Declare function.
7281 (display-monitor-attributes-list): Use it.
7282
864c58ca
MA
72832013-07-04 Michael Albinus <michael.albinus@gmx.de>
7284
7285 * filenotify.el: New package.
7286
7287 * autorevert.el (top): Require filenotify.el.
7288 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7289 instead.
7290 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7291 (auto-revert-notify-handler): Use `file-notify-*' functions.
7292
7293 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7294
321e1a9c
SM
7295 * net/tramp.el (tramp-file-name-for-operation):
7296 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7297
7298 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7299 for `file-notify-add-watch' and `file-notify-rm-watch'.
7300 (tramp-process-sentinel): Improve trace.
7301 (tramp-sh-handle-file-notify-add-watch)
7302 (tramp-sh-file-notify-process-filter)
7303 (tramp-sh-handle-file-notify-rm-watch)
7304 (tramp-get-remote-inotifywait): New defuns.
7305
96673afe
JL
73062013-07-03 Juri Linkov <juri@jurta.org>
7307
7308 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7309 call of `occur-read-primary-args' to interactive spec.
7310
7311 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7312 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7313
924494f4
MM
73142013-07-03 Matthias Meulien <orontee@gmail.com>
7315
7316 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7317 `Buffer-menu-multi-occur'. Add it to the menu.
7318 (Buffer-menu-mode): Document it in docstring.
7319 (Buffer-menu-multi-occur): New command. (Bug#14673)
7320
56f75efc
DG
73212013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7322
7323 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7324 keywords and built-ins.
7325
9b057d61
GM
73262013-07-03 Glenn Morris <rgm@gnu.org>
7327
208dee4d
GM
7328 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7329
9b057d61
GM
7330 Make info-xref checks case-sensitive by default
7331 * info.el (Info-find-node, Info-find-in-tag-table)
7332 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7333 Add option for exact case matching of nodes.
7334 * info-xref.el (info-xref): New custom group.
7335 (info-xref-case-fold): New option.
7336 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7337
e01aa29c
LL
73382013-07-03 Leo Liu <sdl.web@gmail.com>
7339
7340 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7341
3086ca2e
DG
73422013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7343
7344 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7345 middle of block statement initially, lower the depth. Remove
7346 FIXME comment, not longer valid. Remove middle of block statement
7347 detection, no need to do that anymore since we've been using
7348 `ruby-parse-region' here.
7349
a3b49114
JD
73502013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7351
7352 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7353
08e5c823 73542013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7355
7356 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7357
2addf922
JB
73582013-07-01 Juanma Barranquero <lekktu@gmail.com>
7359
7360 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7361 (desktop-restore-in-current-display): New customization option.
7362 (desktop--excluded-frame-parameters): Add `font'.
7363 (desktop--save-frames): Rename from desktop--save-windows.
7364 (desktop--restore-in-this-display-p): New function.
7365 (desktop--make-full-frame): Remove unwanted width/height from
7366 full(width|height) frames.
7367 (desktop--restore-frames): Rename from desktop--restore-windows.
7368 Obey desktop-restore-current-display. Do not delete old frames or
7369 select a new frame unless we were able to restore at least one frame.
7370
ef099a94
MN
73712013-06-30 Michal Nazarewicz <mina86@mina86.com>
7372
7373 * files.el (find-file-noselect): Simplify conditional expression.
7374
7375 * remember.el (remember-append-to-file):
7376 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7377
7378 Add `remember-notes' function to store random notes across Emacs
7379 restarts.
7380 * remember.el (remember-data-file): Add :set callback to affect
7381 notes buffer (if any).
7382 (remember-notes): New command.
7383 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7384 New defcustoms for the `remember-notes' function.
7385 (remember-notes-save-and-bury-buffer): New command.
7386 (remember-notes-mode-map): New variable.
7387 (remember-mode): New minor mode.
7388 (remember-notes--kill-buffer-query): New function.
7389 * startup.el (initial-buffer-choice): Add notes to custom type.
7390
0865d506
EZ
73912013-06-30 Eli Zaretskii <eliz@gnu.org>
7392
0ba54312
EZ
7393 * bindings.el (right-char, left-char): Don't call sit-for, this is
7394 no longer needed. Use arithmetic comparison only for numerical
7395 arguments.
7396
ef099a94
MN
7397 * international/mule-cmds.el (select-safe-coding-system):
7398 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7399
2fae38e5
LMI
74002013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7401
7402 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7403 progression on degenerate tables.
ef099a94 7404 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7405
a47cbd64
JB
74062013-06-30 Juanma Barranquero <lekktu@gmail.com>
7407
7408 Some fixes and improvements for desktop frame restoration.
7409 It is still experimental and disabled by default.
7410 * desktop.el (desktop--save-windows): Put the selected frame at
7411 the head of the list.
7412 (desktop--make-full-frame): New function.
7413 (desktop--restore-windows): Try to re-select the frame that was
7414 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7415 just show an error message and continue. Set up maximized frames
7416 so they have default non-maximized dimensions.
a47cbd64 7417
6dbafa30
DG
74182013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7419
ef099a94
MN
7420 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7421 Don't start heredoc inside a string or comment.
6dbafa30 7422
4c672a0f
EZ
74232013-06-29 Eli Zaretskii <eliz@gnu.org>
7424
7425 * bindings.el (visual-order-cursor-movement): New defcustom.
7426 (right-char, left-char): Provide visual-order cursor motion by
7427 calling move-point-visually. Update the doc strings.
7428
50960f36
KH
74292013-06-28 Kenichi Handa <handa@gnu.org>
7430
7431 * international/mule.el (define-coding-system): New coding system
7432 properties :inhibit-null-byte-detection,
7433 :inhibit-iso-escape-detection, and :prefer-utf-8.
7434 (set-buffer-file-coding-system): If :charset-list property of
7435 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7436 appropriate for setting.
7437
c1ea3abf
JB
7438 * international/mule-cmds.el (select-safe-coding-system):
7439 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7440 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7441
7442 * international/mule-conf.el (prefer-utf-8): New coding system.
7443 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7444 files.
7445
75dbaf9d
IK
74462013-06-28 Ivan Kanis <ivan@kanis.fr>
7447
eadb6068
IK
7448 * net/shr.el (shr-render-region): New function.
7449
75dbaf9d
IK
7450 * net/eww.el: Autoload `eww-browse-url'.
7451
9ea5cf9f
DG
74522013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7453
c1ea3abf
JB
7454 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7455 Adapt to `package-desc-version' being a list.
7456 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7457 archive element.
7458
39c0e36f
JB
74592013-06-27 Juanma Barranquero <lekktu@gmail.com>
7460
7461 New experimental feature to save&restore window and frame setup.
7462 * desktop.el (desktop-save-windows): New defcustom.
7463 (desktop--saved-states): New var.
7464 (desktop--excluded-frame-parameters): New defconst.
7465 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7466 (desktop--restore-windows, desktop--save-windows): New functions.
7467 (desktop-save): Call `desktop--save-windows'.
7468 (desktop-read): Call `desktop--restore-windows'.
7469
7f13406b
LMI
74702013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7471
ef099a94 7472 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7473
1e072639
SB
74742013-06-27 Stephen Berman <stephen.berman@gmx.net>
7475
7476 * info.el (Info-try-follow-nearest-node): Move search for footnote
7477 above search for node name to prevent missing a footnote (bug#14717).
7478
f3e2cbde
SB
74792013-06-27 Stephen Berman <stephen.berman@gmx.net>
7480
7481 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7482
99906aa0
LL
74832013-06-27 Leo Liu <sdl.web@gmail.com>
7484
7485 * net/eww.el (eww-read-bookmarks): Check file size.
7486
539f75f4
SM
74872013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7490 advice--pending if newdef is nil or an autoload (bug#13820).
7491 (advice-mapc): New function.
7492
843571cb
LMI
74932013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7494
7495 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7496 probably.
23a75d7f 7497 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7498 (eww-add-bookmark): New command.
7499 (eww-bookmark-mode): New mode and commands.
a285ce99 7500 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7501 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7502
f2136e1e
GM
75032013-06-26 Glenn Morris <rgm@gnu.org>
7504
eab35f39
GM
7505 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7506 (hfy-size): Handle ttys. (Bug#14668)
7507
f2136e1e
GM
7508 * info-xref.el: Update for Texinfo 5 change in *note format.
7509 (info-xref-node-re, info-xref-note-re): New constants.
7510 (info-xref-check-buffer): Use info-xref-note-re.
7511
a49ff80c
SM
75122013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7513
a343d218
SM
7514 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7515
a49ff80c
SM
7516 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7517 nil terminate the loop (bug#14718).
7518
8308f184
LMI
75192013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7520
7521 * net/eww.el: Rework history traversal. When going forward/back,
7522 put these actions into the history, too, so that they can be
7523 replayed.
26bf2b82 7524 (eww-render): Move the history reset to the correct buffer.
8308f184 7525
ec64c273
JL
75262013-06-25 Juri Linkov <juri@jurta.org>
7527
7528 * files-x.el (modify-dir-local-variable): Change the header comment
7529 in the file with directory local variables. (Bug#14692)
7530
e080a9d7
JL
7531 * files-x.el (read-file-local-variable-value): Add `default'.
7532 (Bug#14710)
7533
bfbc93a1
IK
75342013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7535
7536 * net/eww.el (eww-make-unique-file-name): Create a unique file
7537 name before saving to entering `y' accidentally asynchronously.
7538
75392013-06-25 Ivan Kanis <ivan@kanis.fr>
7540
7541 * net/eww.el (eww-download): New command and keystroke.
7542
16f74f10
LMI
75432013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7544
a49ff80c 7545 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7546
7547 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7548 be more consistent with Info and dired.
7549
7550 * net/eww.el (eww-mode-map): Ditto.
7551
12059709
SM
75522013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7555 packages from archives.
7556 (package-archive-contents): Change format; include obsolete packages.
7557 (package-desc): Use `dir' to mark builtin packages.
7558 (package--from-builtin): Set the `dir' field to `builtin'.
7559 (generated-autoload-file, version-control): Declare.
7560 (package-compute-transaction): Change first arg and return value to be
7561 lists of package-descs. Adjust to new package-archive-contents format.
7562 (package--add-to-archive-contents): Adjust to new
7563 package-archive-contents format.
7564 (package-download-transaction): Arg is now a list of package-descs.
7565 (package-install): If `pkg' is a package name, pass it as
7566 a requirement, so it is subject to the usual (e.g. disabled) checks.
7567 (describe-package): Accept package-desc as well.
7568 (describe-package-1): Describe a specific package-desc. Add links to
7569 other package-descs for the same package name.
7570 (package-menu-describe-package): Pass the actual package-desc.
7571 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7572 works correctly.
7573 (package-desc-status): New function.
7574 (package-menu--refresh): New function, extracted
7575 from package-menu--generate.
7576 (package-menu--generate): Use it.
7577 (package-delete): Update package-alist.
7578 (package-menu-execute): Don't call package-initialize.
7579
7580 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7581 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7582 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7583 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7584 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7585 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7586
8bbdea0f
MR
75872013-06-25 Martin Rudalics <rudalics@gmx.at>
7588
7589 * window.el (window--state-get-1): Workaround for bug#14527.
7590 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7591
e82b0991
LMI
75922013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7593
7594 * net/eww.el (eww-back-url): Implement the history by stashing all
7595 the data into a list.
d3f0f918 7596 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7597
c763842b
SM
75982013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7599
7600 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7601 for values and use read--expression for expressions (bug#14710).
7602 (read-file-local-variable): Avoid setq.
7603 (read-file-local-variable-mode): Use minor-mode-list.
7604
bceff189
RW
76052013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7606
864c58ca 7607 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7608 for DOI URLs.
7609
45f431c6
RW
76102013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7611
864c58ca 7612 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7613 Update imenu-support when dialect changes.
7614
f42d8237
LL
76152013-06-25 Leo Liu <sdl.web@gmail.com>
7616
7617 * ido.el (ido-read-internal): Allow forward slash on windows.
7618
be549ce6
LMI
76192013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7620
7621 * net/eww.el (eww): Start of strings is \\`, not ^.
7622
71d4c19d
IK
76232013-06-24 Ivan Kanis <ivan@kanis.fr>
7624
5196f88a
IK
7625 * net/shr.el (shr-browse-url): Fix interactive spec.
7626
71d4c19d
IK
7627 * net/eww.el (eww): Add a trailing slash to domain names.
7628
ae36ca55
JB
76292013-06-24 Juanma Barranquero <lekktu@gmail.com>
7630
7631 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7632
0ebd92a3
LMI
76332013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7634
bdaa086b
LMI
7635 * net/shr.el (shr-browse-url): Use an external browser if given a
7636 prefix.
7637
c763842b 7638 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7639
b89fc156
IK
76402013-06-24 Ivan Kanis <ivan@kanis.fr>
7641
7642 * net/eww.el (eww): Work more correctly for file: URLs.
7643 (eww-detect-charset): Allow quoted charsets.
7644 (eww-yank-page-url): New command and keystroke.
7645
18eb4bca
DU
76462013-06-24 Daiki Ueno <ueno@gnu.org>
7647
7648 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7649 file name of gpg executable.
7650 (epg-context-program): New function.
7651 (epg-context-home-directory): New function.
7652 (epg-context-set-program): New function.
7653 (epg-context-set-home-directory): New function.
7654 (epg--start): Use `epg-context-program' instead of
7655 'epg-gpg-program'.
7656 (epg--list-keys-1): Likewise.
7657
6c6268c8
LL
76582013-06-24 Leo Liu <sdl.web@gmail.com>
7659
7660 * ido.el (ido-read-internal): Fix bug#14620.
7661
5e400cb3
JB
76622013-06-23 Juanma Barranquero <lekktu@gmail.com>
7663
7664 * faces.el (face-documentation): Simplify.
7665 (read-face-attribute, tty-find-type, x-resolve-font-name):
7666 Use `string-match-p'.
7667 (list-faces-display): Use `string-match-p'. Simplify.
7668 (face-spec-recalc): Check face to avoid face alias loops.
7669 (read-color): Use `string-match-p' and non-capturing parenthesis.
7670
f3f9606c
LMI
76712013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7672
7673 * net/shr.el (shr-rescale-image): Use the new
7674 :max-width/:max-height functionality.
7675
a3ca09b9
IK
76762013-06-23 Ivan Kanis <ivan@kanis.fr>
7677
7678 * net/eww.el (eww-search-prefix): New variable.
7679 (eww): Use it.
f865b474
IK
7680 (eww-external-browser): New variable.
7681 (eww-mode-map): New keystroke.
7682 (eww-browse-with-external-browser): New command.
a3ca09b9 7683
e854cfc7
IK
7684 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7685
18bb9e21
JB
76862013-06-23 Juanma Barranquero <lekktu@gmail.com>
7687
7688 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7689 Don't skip aligning the next header field when padding is 0;
7690 otherwise, field width is not respected unless the title is as
7691 wide as the field.
7692
5b165ade
SM
76932013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7694
7695 * emacs-lisp/package.el (package-el-version): Remove.
7696 (package-process-define-package): Fix inf-loop.
7697 (package-install): Allow symbols as arguments again.
7698
12adebe9
DG
76992013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7700
7701 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7702 add some more keyword-like methods.
7703 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7704
388573ee
JB
77052013-06-22 Juanma Barranquero <lekktu@gmail.com>
7706
7707 * bs.el (bs-buffer-show-mark): Make defvar-local.
7708 (bs-mode): Use setq-local.
7709
7710 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7711 (emacs-lock--try-unlocking): Make defvar-local.
7712
4582a01c 77132013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7714
2663dd23
GM
7715 * play/cookie1.el (cookie-apropos): Minor simplification.
7716
3d94f3ad
GM
7717 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7718
f72e2fdb
DG
77192013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7720
7721 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7722 `regexp-opt', it breaks the build during dumping.
7723
73eab938
DG
77242013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7725
c763842b
SM
7726 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7727 Highlight keyword-like methods on Kernel and Module with
73eab938 7728 font-lock-builtin-face.
5cf8176d
DG
7729 (auto-mode-alist): Consolidate different entries into one regexp
7730 and add more *file-s.
73eab938 7731
d26255f6
SB
77322013-06-21 Stephen Berman <stephen.berman@gmx.net>
7733
7734 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7735
7736 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7737 (diary-entry): Use it in the action of this button type instead of
7738 diary-goto-entry.
7739
7740 * calendar/todo-mode.el: New version.
7741 (todo-add-category): Append new category to end of file and give
7742 it the highest number, instead of putting it at the beginning and
7743 giving it 0. Incorporate noninteractive functionality.
7744 (todo-forward-category): Adapt to 1-based category numbering.
7745 Allow skipping over archived categories.
7746 (todo-backward-category): Derive from todo-forward-category.
7747 (todo-backward-item, todo-forward-item): Make noninteractive and
7748 delegate interactive part to new commands. Make sensitive to done items.
7749 (todo-categories): Make value an alist of category names and
7750 vectors of item counts.
7751 (todo-category-beg): Make a defconst.
7752 (todo-category-number): Use 1 instead of 0 as initial value.
7753 (todo-category-select): Make sensitive to overlays, optional item
7754 highlighting and done items.
7755 (todo-delete-item): Make sensitive to overlays and marked and done items.
7756 (todo-edit-item): Make sensitive to overlays and editing of
7757 date/time header optional. Add format checks.
7758 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7759 no-op if point is not on an item. Advertise using todo-edit-quit.
7760 (todo-edit-mode): Make sensitive to new format, font-locking, and
7761 multiple todo files.
7762 (todo-insert-item, todo-insert-item-here): Derive from
7763 todo-basic-insert-item and extend functionality.
7764 (todo-item-end, todo-item-start): Make sensitive to done items.
7765 (todo-item-string): Don't return text properties. Restore point.
7766 (todo-jump-to-category): Make sensitive to multiple todo files and
7767 todo archives. Use extended category completion.
7768 (todo-lower-item, todo-raise-item): Rename to *-priority and
7769 derive from todo-set-item-priority.
7770 (todo-mode): Derive from special-mode. Make sensitive to new
7771 format, font-locking and multiple todo files. Make read-only.
7772 (todo-mode-map): Don't suppress digit keys, so they can supply
7773 prefix arguments. Add many new key bindings.
7774 (todo-prefix): Insert as an overlay instead of file text.
7775 Change semantics from diary date expression to purely visual mark.
7776 (todo-print): Rename to todo-print-buffer. Make buffer display
7777 features printable. Remove option to restrict number of items
7778 printed. Add option to print to file.
7779 (todo-print-function): Rename to todo-print-buffer-function.
7780 (todo-quit): Extend to handle exiting new todo modes.
7781 (todo-remove-item): Make sensitive to overlays.
7782 (todo-save): Extend to buffers of filtered items.
7783 (todo-show): Make sensitive to done items, multiple todo files and
7784 new todo modes. Offer to convert legacy todo file before creating
7785 first new todo file.
7786 (todo-show-priorities): Rename to todo-top-priorities.
7787 Change semantics of value 0.
7788 (todo-top-priorities): Rename to todo-filter-top-priorities,
7789 derive from todo-filter-items and extend functionality.
7790 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7791 and extend functionality to other types of filtered items.
7792 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7793 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7794 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7795 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7796 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7797 (todo-edit-mode-hook, todo-entry-prefix-function)
7798 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7799 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7800 (todo-initials, todo-insert-threshold, todo-item-string-start)
7801 (todo-line-string, todo-menu, todo-mode-hook)
7802 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7803 (todo-print-priorities, todo-remove-separator)
7804 (todo-save-top-priorities-too, todo-string-count-lines)
7805 (todo-string-multiline-p, todo-time-string-format)
7806 (todo-tmp-buffer-name): Remove.
7807 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7808 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7809 (todo-edit-category-diary-inclusion)
7810 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7811 (todo-edit-file, todo-edit-item-date-day)
7812 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7813 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7814 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7815 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7816 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7817 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7818 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7819 (todo-filter-top-priorities-multifile, todo-find-archive)
7820 (todo-find-filtered-items-file, todo-go-to-source-item)
7821 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7822 (todo-jump-to-archive-category, todo-lower-category)
7823 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7824 (todo-move-category, todo-move-item, todo-next-button)
7825 (todo-next-item, todo-padded-string, todo-powerset)
7826 (todo-previous-button, todo-previous-item)
7827 (todo-print-buffer-to-file, todo-raise-category)
7828 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7829 (todo-set-category-number, todo-set-item-priority)
7830 (todo-set-top-priorities-in-category)
7831 (todo-set-top-priorities-in-file, todo-show-categories-table)
7832 (todo-sort-categories-alphabetically-or-numerically)
7833 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7834 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7835 (todo-toggle-item-header, todo-toggle-item-highlighting)
7836 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7837 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7838 (todo-unarchive-items, todo-unmark-category): New commands.
7839 (todo-absolute-file-name, todo-add-to-buffer-list)
7840 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7841 (todo-basic-insert-item, todo-category-completions)
7842 (todo-category-number, todo-category-string-matcher-1)
7843 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7844 (todo-check-format, todo-clear-matches)
7845 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7846 (todo-current-category, todo-date-string-matcher)
7847 (todo-define-insertion-command, todo-diary-expired-matcher)
7848 (todo-diary-goto-entry, todo-diary-item-p)
7849 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7850 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7851 (todo-done-item-section-p, todo-done-separator)
7852 (todo-done-string-matcher, todo-files, todo-filter-items)
7853 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7854 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7855 (todo-insert-category-line, todo-insert-item-from-calendar)
7856 (todo-insert-sort-button, todo-insert-with-overlays)
7857 (todo-insertion-command-name, todo-insertion-key-bindings)
7858 (todo-label-to-key, todo-longest-category-name-length)
7859 (todo-make-categories-list, todo-mode-external-set)
7860 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7861 (todo-modes-set-3, todo-multiple-filter-files)
7862 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7863 (todo-read-category, todo-read-date, todo-read-dayname)
7864 (todo-read-file-name, todo-read-time)
7865 (todo-reevaluate-category-completions-files-defcustom)
7866 (todo-reevaluate-default-file-defcustom)
7867 (todo-reevaluate-filelist-defcustoms)
7868 (todo-reevaluate-filter-files-defcustom)
7869 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7870 (todo-reset-done-separator, todo-reset-done-separator-string)
7871 (todo-reset-done-string, todo-reset-global-current-todo-file)
7872 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7873 (todo-reset-prefix, todo-set-categories)
7874 (todo-set-date-from-calendar, todo-set-show-current-file)
7875 (todo-set-top-priorities, todo-short-file-name)
7876 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7877 (todo-total-item-counts, todo-update-buffer-list)
7878 (todo-update-categories-display, todo-update-categories-sexp)
7879 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7880 New functions.
7881 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7882 New major modes.
7883 (todo-categories, todo-display, todo-edit, todo-faces)
7884 (todo-filtered): New defgroups.
7885 (todo-archived-only, todo-button, todo-category-string, todo-date)
7886 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7887 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7888 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7889 (todo-add-item-if-new-category, todo-always-add-time-string)
7890 (todo-categories-align, todo-categories-archived-label)
7891 (todo-categories-category-label, todo-categories-diary-label)
7892 (todo-categories-done-label, todo-categories-number-separator)
7893 (todo-categories-todo-label, todo-categories-totals-label)
7894 (todo-category-completions-files, todo-completion-ignore-case)
7895 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7896 (todo-done-separator-string, todo-done-string)
7897 (todo-files-function, todo-filter-done-items, todo-filter-files)
7898 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7899 (todo-initial-category, todo-initial-file, todo-item-mark)
7900 (todo-legacy-date-time-regexp, todo-mode-line-function)
7901 (todo-nondiary-marker, todo-number-prefix)
7902 (todo-print-buffer-function, todo-show-current-file)
7903 (todo-show-done-only, todo-show-first, todo-show-with-done)
7904 (todo-skip-archived-categories, todo-top-priorities-overrides)
7905 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7906 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7907 New defcustoms.
7908 (todo-category-done, todo-date-pattern, todo-date-string-start)
7909 (todo-diary-items-buffer, todo-done-string-start)
7910 (todo-filtered-items-buffer, todo-item-start)
7911 (todo-month-abbrev-array, todo-month-name-array)
7912 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7913 (todo-top-priorities-buffer): New defconsts.
7914 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7915 (todo-categories-with-marks, todo-category-string-face)
7916 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7917 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7918 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7919 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7920 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7921 (todo-font-lock-keywords, todo-global-current-todo-file)
7922 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7923 (todo-insertion-commands-args)
7924 (todo-insertion-commands-args-genlist)
7925 (todo-insertion-commands-names, todo-insertion-map)
7926 (todo-key-bindings-t, todo-key-bindings-t+a)
7927 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7928 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7929 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7930 (todo-visited): New variables.
7931
cad5d1cb
GM
79322013-06-21 Glenn Morris <rgm@gnu.org>
7933
7934 * play/cookie1.el (cookie-apropos): Add optional display argument.
7935 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7936 (psychoanalyze-pinhead): Use cookie-doctor.
7937
9e277302
JB
79382013-06-21 Juanma Barranquero <lekktu@gmail.com>
7939
7940 * emacs-lisp/package.el (tar-get-file-descriptor)
7941 (tar--extract): Declare.
7942
c5b0993e
EW
79432013-06-21 Eduard Wiebe <usenet@pusto.de>
7944
7945 Extend flymake's warning predicate to be a function (bug#14217).
7946 * progmodes/flymake.el (flymake-warning-predicate): New.
7947 (flymake-parse-line): Use it.
7948 (flymake-warning-re): Make obsolete alias to
7949 `flymake-warning-predicate'.
7950
a7d2d465
SM
79512013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7952
7953 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7954 (package-obsolete-list): Remove.
7955 (package-activate): Remove min-version argument. Add `force' argument.
7956 Adjust to new package-alist format.
7957 (package-mark-obsolete): Remove.
7958 (package-unpack): Force reload of the package's autoloads.
7959 (package-installed-p): Check builtins if the installed package is not
7960 recent enough.
7961 (package-initialize): Don't reset package-obsolete-list.
7962 Don't specify which package version to activate.
7963 (package-process-define-package, describe-package-1)
7964 (package-menu--generate): Adjust to new package-alist format.
7965
cedf5c9d
JB
79662013-06-21 Juanma Barranquero <lekktu@gmail.com>
7967
7968 * allout-widgets.el (allout-widgets-mode-off)
7969 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7970 (allout-widgets-post-command-business)
7971 (allout-widgets-after-copy-or-kill-function)
7972 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7973 (allout-decorate-item-and-context)
7974 (allout-graphics-modification-handler): Fix typos in docstrings.
7975 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7976
7977 * cmuscheme.el (scheme-start-file): Doc fix.
7978 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7979 (scheme-input-filter): Use `string-match-p'.
7980
7981 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7982
7983 * dired-x.el: Use Dired consistently in docstrings.
7984
7985 * dired.el: Use Dired consistently in docstrings.
7986 (dired-readin, dired-mode): Use `setq-local'.
7987 (dired-switches-alist): Make defvar-local.
7988 (dired-buffers-for-dir): Use `zerop'.
7989 (dired-safe-switches-p, dired-switches-escape-p)
7990 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7991 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7992 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7993 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7994 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7995 (dired-toggle-marks, dired-mark-files-containing-regexp)
7996 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7997 (dired-flag-auto-save-files, dired-flag-backup-files):
7998 Use `looking-at-p'.
7999 (dired-mark-files-regexp, dired-build-subdir-alist):
8000 Use `string-match-p', `looking-at-p'.
8001
8002 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8003 (direct-print-region-helper): Use `string-match-p'.
8004
aed838b5
LL
80052013-06-21 Leo Liu <sdl.web@gmail.com>
8006
cedf5c9d
JB
8007 * comint.el (comint-redirect-results-list-from-process):
8008 Fix infinite loop.
aed838b5 8009
d80a808f
LMI
80102013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8011
8012 * net/eww.el (eww-update-header-line-format): Quote % characters.
8013
e7a526e3
GM
80142013-06-21 Glenn Morris <rgm@gnu.org>
8015
8016 * play/cookie1.el (cookie): New custom group.
8017 (cookie-file): New option.
8018 (cookie-check-file): New function.
8019 (cookie): Make it interactive. Make start and end messages optional.
8020 Interactively, display the result. Default to cookie-file.
8021 (cookie-insert): Default to cookie-file.
8022 (cookie-snarf): Make start and end messages optional.
8023 Default to cookie-file. Use with-temp-buffer.
8024 (cookie-read): Rename from read-cookie.
8025 Make start and end messages optional. Default to cookie-file.
8026 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8027 Do not autoload it.
e7a526e3
GM
8028 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8029 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8030
62efb35e
LL
80312013-06-21 Leo Liu <sdl.web@gmail.com>
8032
8033 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8034
21e3f963
GM
80352013-06-21 Glenn Morris <rgm@gnu.org>
8036
8037 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8038
fd846ab4
SM
80392013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8040 Daniel Hackney <dan@haxney.org>
8041
8042 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8043 Consolidate the single-file vs tarball code.
8044 (package-desc-suffix): New function.
8045 (package-desc-full-name): Don't bother inlining it.
8046 (package-load-descriptor): Return the new package-desc.
8047 (package-mark-obsolete): Remove unused arg `package'.
8048 (package-unpack): Make it work for single files as well.
8049 Make it update package-alist.
8050 (package--make-autoloads-and-stuff): Rename from
8051 package--make-autoloads-and-compile. Don't compile any more.
8052 (package--compile): New function.
8053 (package-generate-description-file): New function, extracted from
8054 package-unpack-single.
8055 (package-unpack-single): Remove.
8056 (package--with-work-buffer): Add indentation and debugging info.
8057 (package-download-single): Remove.
8058 (package-install-from-archive): Rename from package-download-tar, make
8059 it take a pkg-desc, and make it work for single files as well.
8060 (package-download-transaction): Simplify.
8061 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8062 external tar program.
8063 (package-install-from-buffer): Remove `pkg-desc' argument.
8064 Use package-tar-file-info for tar-mode buffers.
8065 (package-install-file): Simplify accordingly.
8066 (package-archive-base): Change to take a pkg-desc.
8067 * tar-mode.el (tar--check-descriptor): New function, extracted from
8068 tar-get-descriptor.
8069 (tar-get-descriptor): Use it.
8070 (tar-get-file-descriptor): New function.
8071 (tar--extract): New function, extracted from tar-extract.
8072 (tar--extract): Use it.
8073 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8074 case the summary uses non-ascii. Adjust to new calling convention of
8075 package-tar-file-info.
8076
b7deae5e
LL
80772013-06-21 Leo Liu <sdl.web@gmail.com>
8078
fd846ab4
SM
8079 * comint.el (comint-redirect-results-list-from-process):
8080 Fix random delay. (Bug#14681)
b7deae5e 8081
7a65a0b2
JB
80822013-06-21 Juanma Barranquero <lekktu@gmail.com>
8083
8084 * profiler.el (profiler-format-number): Use log, not log10.
8085
1493c2af
JB
80862013-06-20 Juanma Barranquero <lekktu@gmail.com>
8087
8088 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8089
aff6371e
SM
80902013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8091
8092 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8093 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8094 yet available.
8095 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8096 (AUTOGENEL): ... here.
8097 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8098 (cl--defsubst-expand): Use it.
8099
89561f72
PE
81002013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8101
8102 * subr.el (log10): Move here from C code, and declare as obsolete.
8103 All uses of (log10 X) replaced with (log X 10).
8104
47199123
JB
81052013-06-20 Juanma Barranquero <lekktu@gmail.com>
8106
8107 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8108 Declare with `defvar-local'.
8109 (tabulated-list-use-header-line, tabulated-list-entries)
8110 (tabulated-list-padding, tabulated-list-printer)
8111 (tabulated-list-sort-key): Declare with `defvar-local'.
8112 (tabulated-list-init-header, tabulated-list-print-fake-header):
8113 Use `setq-local'.
8114
4a172eab
MA
81152013-06-20 Michael Albinus <michael.albinus@gmx.de>
8116
47199123
JB
8117 * arc-mode.el (archive-mode): Add `archive-write-file' to
8118 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8119
5fc0acc0
JB
81202013-06-20 Juanma Barranquero <lekktu@gmail.com>
8121
d5b27848
JB
8122 * cus-edit.el (custom-commands): Fix typos.
8123 (custom-display): Fix tooltip text.
8124 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8125 Fix typos in docstrings.
8126 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8127 (custom-unlispify-menu-entry, custom-magic-value-create)
8128 (custom-add-see-also, custom-group-value-create): Use ?\s.
8129 (custom-guess-type, customize-apropos, editable-field)
8130 (custom-face-value-create): Use `string-match-p'.
8131 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8132
8133 * custom.el (custom-load-symbol): Use `string-match-p'.
8134
a5c581d8
JB
8135 * ansi-color.el: Convert to lexical binding.
8136 (ansi-colors): Fix URL.
8137 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8138 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8139 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8140
970ad972
G
81412013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8142
8143 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8144
8145 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8146
81472013-06-19 Tom Tromey <tromey@redhat.com>
8148
8149 * net/eww.el (eww-top-url): Remove.
8150 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8151 (eww-render): Set new variables. Don't set eww-top-url.
8152 (eww-handle-link): Handle "prev", "home", and "contents".
8153 Downcase the rel text.
8154 (eww-top-url): Choose best top URL.
8155
81562013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8157
8158 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8159 relying in widget.el. Using widget.el leads to too many
8160 user interface inconsistencies.
8161 (eww-self-insert): Implement entering commands in text fields.
8162 (eww-process-text-input): New function to make text input field editing
8163 work.
8164 (eww-submit): Rewrite to use the new-style form methods.
8165 (eww-select-display): Display the correct selected item.
8166 (eww-change-select): Implement changing the select value.
8167 (eww-toggle-checkbox): Implement radio/checkboxes.
8168 (eww-update-field): Fix compilation error.
8169 (eww-tag-textarea): Implement <textarea>.
8170
8171 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8172 we don't shadow mode-specific bindings.
8173
8174 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8175 nothing to push.
8176
8177 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8178
4582a01c 81792013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8180
8181 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8182
15b263dc
MA
81832013-06-19 Michael Albinus <michael.albinus@gmx.de>
8184
8185 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8186 not needed.
8187
8188 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8189
8f5297f7
LMI
81902013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8191
8192 * net/browse-url.el (browse-url-browser-function):
8193 `eww-browse-url' has the right calling signature, `eww' does not.
8194
011c4552
GM
81952013-06-19 Glenn Morris <rgm@gnu.org>
8196
2285bd27
GM
8197 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8198 Only eval autoloaded macros.
8199 (byte-compile-autoload): Only give the macro warning for macros.
8200
1d653303
GM
8201 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8202 (ps-underlined-faces): Declare.
8203
bdd779ec
GM
8204 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8205 (speedbar-add-supported-extension): Declare.
8206
011c4552
GM
8207 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8208 Don't include a date stamp in the header of the generated file;
8209 it leads to needless differences between output files.
8210
e59dfb0e
MA
82112013-06-19 Michael Albinus <michael.albinus@gmx.de>
8212
c763842b
SM
8213 * net/secrets.el (secrets-struct-secret-content-type):
8214 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8215 Some servers do not offer introspection.
e59dfb0e 8216
102626e2
SM
82172013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8218
8219 * electric.el (electric-pair-mode): Improve interaction with
8220 electric-layout-mode.
8221 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8222 (electric-pair-syntax): Use text-mode-syntax-table in comments
8223 and strings.
8224 (electric-pair--insert): New function.
8225 (electric-pair-post-self-insert-function): Use it and
8226 electric--after-char-pos.
8227
ad528125
LL
82282013-06-19 Leo Liu <sdl.web@gmail.com>
8229
8230 * progmodes/octave.el (octave-help): Fix regexp.
8231
924d6997
G
82322013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8233
8234 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8235 (shr-table-horizontal-line): Allow nil as a value, and change the
8236 default.
8237 (shr-insert-table-ruler): Respect the nil value.
8238
82392013-06-18 Tom Tromey <tromey@barimba>
8240
8241 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8242 New defvars.
8243 (eww-open-file): New defun.
8244 (eww-render): Initialize new variables.
8245 (eww-display-html): Handle "link" and "a".
8246 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8247 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8248 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8249 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8250 New defuns.
924d6997 8251
d1bbba4f
DG
82522013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8253
8254 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8255 Distinguish ternary operator tokens from slash symbol and slash
8256 char literal.
8257
14dd22d2
JB
82582013-06-18 Juanma Barranquero <lekktu@gmail.com>
8259
8260 Convert symbol prettification into minor mode and global minor mode.
8261
8262 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8263 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8264 (prettify-symbols--keywords): Rename from
8265 `prog-prettify-symbols-alist' and make a local defvar.
8266 (prettify-symbols--compose-symbol): Rename from
8267 `prog--prettify-font-lock-compose-symbol'.
8268 (prettify-symbols--make-keywords): Rename from
8269 `prog-prettify-font-lock-symbols-keywords' and simplify.
8270 (prog-prettify-install): Remove.
8271 (prettify-symbols-mode): New minor mode, based on
8272 `prog-prettify-install'.
8273 (turn-on-prettify-symbols-mode): New function.
8274 (global-prettify-symbols-mode): New globalized minor mode.
8275
8276 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8277 * progmodes/cfengine.el (cfengine3-mode):
8278 * progmodes/perl-mode.el (perl-mode): Don't call
8279 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8280
292c880c
JL
82812013-06-18 Juri Linkov <juri@jurta.org>
8282
8283 * files-x.el (modify-file-local-variable-message): New function.
8284 (modify-file-local-variable)
8285 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8286 and call `modify-file-local-variable-message' when it's non-nil.
8287 (add-file-local-variable, delete-file-local-variable)
8288 (add-file-local-variable-prop-line)
8289 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8290 and use it. (Bug#9820)
8291
0950aa27
JL
82922013-06-18 Juri Linkov <juri@jurta.org>
8293
8294 * emulation/vi.el (vi-shell-op):
8295 * emulation/vip.el (vip-execute-com, ex-command):
8296 * emulation/viper-cmd.el (viper-exec-bang):
8297 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8298 the call of `shell-command-on-region'. (Bug#14637)
8299
8300 * simple.el (shell-command-on-region): Doc fix.
8301
8fbcca16
SM
83022013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8303
8304 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8305 (bug#14633).
8306
dd7426ea
GM
83072013-06-18 Glenn Morris <rgm@gnu.org>
8308
4ba54f7d
GM
8309 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8310
dd7426ea
GM
8311 * newcomment.el (comment-search-forward, comment-search-backward):
8312 Doc fix. (Bug#14376)
8313
58aa805b
JB
83142013-06-18 Juanma Barranquero <lekktu@gmail.com>
8315
8316 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8317 (buffer-face-mode-invoke): Doc fix.
8318
9a08a617
MM
83192013-06-18 Matthias Meulien <orontee@gmail.com>
8320
8321 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8322 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8323
f2f426ca
GM
83242013-06-18 Glenn Morris <rgm@gnu.org>
8325
9445f99b
GM
8326 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8327 Replace obsolete function generic-make-keywords with its expansion.
8328
e0df2d14
GM
8329 * progmodes/python.el (ffap-alist): Declare.
8330
f2f426ca
GM
8331 * textmodes/reftex.el (bibtex-mode-map): Declare.
8332
f7f9a720
SM
83332013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8334
8335 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8336 (package-unpack, package-unpack-single): Return the pkg-dir.
8337 (package-download-transaction): Use it to update package-alist.
8338
57ff04e0
LMI
83392013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8340
8341 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8342 possible choice.
8343
c048c022
JL
83442013-06-17 Juri Linkov <juri@jurta.org>
8345
8346 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8347
b5bcaee5
DG
83482013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8349
a020afb9
JB
8350 * emacs-lisp/package.el (package-load-descriptor):
8351 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8352 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8353
551e07e5
JB
83542013-06-17 Juanma Barranquero <lekktu@gmail.com>
8355
8356 * startup.el (command-line): Expand package name returned by
8357 `package--description-file' (bug#14639).
8358
d363bffb
DG
83592013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8360
8361 * emacs-lisp/package.el (package-load-descriptor): Do not call
8362 `emacs-lisp-mode', just use its syntax table.
8363
f612933b
JB
83642013-06-17 Juanma Barranquero <lekktu@gmail.com>
8365
8366 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8367 `font-lock-extra-managed-props' if any prettifying keyword is added.
8368 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8369 (prog-mode): Use `setq-local'.
8370
db3b7db5
SM
83712013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * international/characters.el (standard-case-table): Set syntax of ?»
8374 and ?« to punctuation.
8375
f3d674df
JB
83762013-06-16 Juanma Barranquero <lekktu@gmail.com>
8377
8378 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8379 Save relevant match data before calling `syntax-ppss' (bug#14595).
8380
31489a32
JL
83812013-06-15 Juri Linkov <juri@jurta.org>
8382
8383 * files-x.el (modify-file-local-variable-prop-line): Add local
8384 variables to the end of the existing comment on the first line.
8385 Use `file-auto-mode-skip' to skip interpreter magic line,
8386 and also skip XML declaration.
8387
66bd25ab
SM
83882013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8389
8390 * startup.el (package--builtin-versions): New var.
8391 (package-subdirectory-regexp): Remove.
8392 (package--description-file): Hard code its value instead.
8393
8394 * emacs-lisp/package.el: Don't activate packages older than builtin.
8395 (package-obsolete-list): Rename from package-obsolete-alist, and make
8396 it into a simple list of package-desc.
8397 (package-strip-version): Remove.
8398 (package-built-in-p): Use package--builtin-versions.
8399 (package-mark-obsolete): Simplify.
8400 (package-process-define-package): Mark it obsolete if older than the
8401 builtin version.
8402 (package-handle-response): Use line-end-position.
8403 (package-read-archive-contents, package--download-one-archive):
8404 Simplify.
8405 (package--add-to-archive-contents): Skip if older than the builtin or
8406 installed version.
8407 (package-menu-describe-package): Fix last change.
8408 (package-list-unversioned): New var.
8409 (package-menu--generate): Use it.
8410
8411 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8412 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8413 (autoload-builtin-package-versions): New variable.
8414 (autoload-generate-file-autoloads): Use them.
8415 Remove the list of autoloaded functions/macros from the
8416 (autoload...) comments.
8417
8418 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8419
9583ec36
EZ
84202013-06-15 Eli Zaretskii <eliz@gnu.org>
8421
8422 * simple.el (line-move-partial): Don't jump to the next screen
8423 line as soon as it becomes visible. Instead, continue enlarging
8424 the vscroll until the portion of a tall screen line that's left on
8425 display is about the height of the frame's default font.
8426 (Bug#14567)
8427
f0100d8a
GM
84282013-06-15 Glenn Morris <rgm@gnu.org>
8429
b86a85ca
GM
8430 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8431 compilation-error-regexp-alist void, or local while let-bound.
8432
f0100d8a
GM
8433 * progmodes/make-mode.el (makefile-mode-syntax-table):
8434 Treat "=" as punctuation. (Bug#14614)
8435
05e7ce90
JB
84362013-06-15 Juanma Barranquero <lekktu@gmail.com>
8437
8438 * help-fns.el (describe-variable):
8439 Add extra line for permanent-local variables.
8440
12e5e86e
SH
84412013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8442
8443 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8444 Add export, import, library. (Bug#9164)
8445 (library): Set indent function.
8446
230dcbaf
GM
84472013-06-14 Glenn Morris <rgm@gnu.org>
8448
8449 * term/xterm.el (xterm--query):
8450 Stop after first matching handler. (Bug#14615)
8451
e36b2d20 84522013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8453
8454 Add support for dired in saveplace.
8455 * dired.el (dired-initial-position-hook): New variable.
8456 (dired-initial-position): Call hook to place cursor position.
8457 * saveplace.el (save-place-to-alist): Add dired position.
8458 (save-place-dired-hook): New function.
8459
0b31660d
SM
84602013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8461
bf1e6ae8
SM
8462 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8463 through a symbol rather than letrec.
8464
1b8dff23
SM
8465 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8466 (package-desc): Add `dir' field.
8467 (package-desc-full-name): New function.
8468 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8469 (package-maybe-load-descriptor): Remove.
8470 (package-load-all-descriptors): Just call package-load-descriptor.
8471 (package--disabled-p): New function.
8472 (package-desc-vers, package-desc-doc): Remove aliases.
8473 (package--dir): Remove function.
8474 (package-activate): Check if a package is disabled.
8475 (package-process-define-package): New function, extracted from
8476 define-package.
8477 (define-package): Turn into a place holder.
8478 (package-unpack-single, package-tar-file-info):
8479 Use package--description-file.
8480 (package-compute-transaction): Use package--disabled-p.
8481 (package-download-transaction): Don't call
8482 package-maybe-load-descriptor since they're all loaded anyway.
8483 (package-install): Change argument to be a pkg-desc.
8484 (package-delete): Use a single pkg-desc argument.
8485 (describe-package-1): Use package-desc-dir instead of package--dir.
8486 Use package-desc property instead of package-symbol.
8487 (package-install-button-action): Adjust accordingly.
8488 (package--push): Rewrite.
8489 (package-menu--print-info): Adjust accordingly. Change the ID format
8490 to be a pkg-desc.
8491 (package-menu-describe-package, package-menu-get-status)
8492 (package-menu--find-upgrades, package-menu-mark-upgrades)
8493 (package-menu-execute, package-menu--name-predicate):
8494 Adjust accordingly.
8495 * startup.el (package--description-file): New function.
8496 (command-line): Use it.
8497 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8498 Use package-desc-version.
8499
0b31660d
SM
8500 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8501 (byte-compile-preprocess): Use it.
8502 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8503 can't quite recognize.
8504 (byte-compile-add-to-list): Remove.
8505 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8506 (cconv-closure-convert): Add assertion.
8507
8508 * emacs-lisp/map-ynp.el: Use lexical-binding.
8509 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8510 Factor out some repeated code.
8511
de0503df
SM
85122013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8513
8514 * subr.el (with-eval-after-load): New macro.
8515 (eval-after-load): Allow form to be a function.
8516 take advantage of lexical-binding.
8517 (do-after-load-evaluation): Use dolist and adjust to new format.
8518 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8519
bc5c8c5a
JL
85202013-06-13 Juri Linkov <juri@jurta.org>
8521
8522 * replace.el (perform-replace): Display "symbol " and other search
8523 modes from `isearch-message-prefix' in the *Help* buffer.
8524
8525 * isearch.el (isearch-query-replace): Add " symbol" and other
8526 possible search modes from `isearch-message-prefix' to the prompt.
8527 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8528 when reading a regexp to collect.
8529
a22289f7
JL
85302013-06-13 Juri Linkov <juri@jurta.org>
8531
8532 * isearch.el (word-search-regexp): Match whitespace if the search
8533 string begins or ends in whitespace. The LAX arg is applied to
8534 both ends of the search string. Use `regexp-quote' and explicit
8535 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8536 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8537 boundaries are replaced with symbol boundaries, and characters
8538 between symbols match non-word non-symbol syntax. (Bug#14602)
8539
cb89acab
JL
85402013-06-13 Juri Linkov <juri@jurta.org>
8541
8542 * isearch.el (isearch-del-char): Don't exceed the length of
8543 `isearch-string' by the prefix arg. (Bug#14563)
8544
6e8cfc81
JL
85452013-06-13 Juri Linkov <juri@jurta.org>
8546
8547 * isearch.el (isearch-yank-word, isearch-yank-line)
8548 (isearch-char-by-name, isearch-quote-char)
8549 (isearch-printing-char, isearch-process-search-char):
8550 Add optional count prefix arg. (Bug#14563)
8551
8552 * international/isearch-x.el
8553 (isearch-process-search-multibyte-characters):
8554 Add optional count prefix arg.
8555
c23d55f4
VS
85562013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8559 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8560 lexical-binding.
8561
85622013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8563
8564 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8565
ba947bc4
GM
85662013-06-13 Glenn Morris <rgm@gnu.org>
8567
8baeb37a
GM
8568 * startup.el (tty-handle-args):
8569 Don't just discard "--" and anything after. (Bug#14608)
8570
ba947bc4
GM
8571 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8572
9abefce4
MA
85732013-06-13 Michael Albinus <michael.albinus@gmx.de>
8574
8575 Implement changes in Secret Service API. Make it backward compatible.
8576 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8577 (secrets-create-item): Use it. Prefix properties with interface.
8578
5755011f
MH
85792013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8580
8581 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8582 (term-emulate-terminal): Respect term-suppress-hard-newline.
8583
1261d2da
S
85842013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8585
8586 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8587 Only remove a `thumb-file' overlay. (Bug#14548)
8588
868490bb
GJ
85892013-06-12 Grégoire Jadi <daimrod@gmail.com>
8590
8591 * mail/reporter.el (reporter-submit-bug-report):
8592 Handle missing package-name. (Bug#14600)
8593
79d7167f
TH
85942013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8595
8596 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8597 (reftex-citation-prompt, reftex-default-bibliography)
8598 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8599 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8600 (reftex-bib-sort-author, reftex-bib-sort-year)
8601 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8602 (reftex-extract-bib-entries-from-thebibliography)
8603 (reftex-get-bibkey-default, reftex-get-bib-names)
8604 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8605 (reftex-format-bib-entry, reftex-parse-bibitem)
8606 (reftex-format-bibitem, reftex-do-citation)
8607 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8608 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8609 (reftex-insert-bib-matches, reftex-format-citation)
8610 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8611 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8612 existing comments into docstrings.
8613
5f9dbd7a
XF
86142013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8615
8616 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8617
94df41ab
AS
86182013-06-12 Andreas Schwab <schwab@suse.de>
8619
8620 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8621 for auto-save files.
8622
a7f3fecc
GM
86232013-06-12 Glenn Morris <rgm@gnu.org>
8624
001809f6
GM
8625 * ido.el (ido-delete-ignored-files): Remove.
8626 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8627 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8628
834b5ded
EL
86292013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8630
08c73ed2
EL
8631 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8632
834b5ded
EL
8633 * ido.el (ido-delete-ignored-files): New function,
8634 split from ido-make-file-list-1.
8635 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8636 (ido-make-file-list-1): Use ido-delete-ignored-files.
8637
daabf15a
LL
86382013-06-12 Leo Liu <sdl.web@gmail.com>
8639
8640 * progmodes/octave.el (inferior-octave-startup)
8641 (inferior-octave-completion-table)
8642 (inferior-octave-track-window-width-change)
8643 (octave-eldoc-function-signatures, octave-help)
8644 (octave-find-definition): Use single quoted strings.
8645 (inferior-octave-startup-args): Change default value.
8646 (inferior-octave-startup): Do not hard code "-i" and
8647 "--no-line-editing".
8648 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8649 (inferior-octave-directory-tracker): Use it.
8650 (octave-goto-function-definition): Robustify.
8651 (octave-help): Support highlighting operators in 'See also'.
8652 (octave-find-definition): Find subfunctions only in Octave mode.
8653
cf4e5178
SM
86542013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8655
8656 * help-fns.el (help-fns--compiler-macro): If the handler function is
8657 named, then put a link to it.
8658 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8659 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8660 (cl-typep): Use it.
8661 (cl-eval-when): Simplify debug spec.
8662 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8663 compiler-macro function instead of setting `compiler-macro-file'.
8664
99c81280 86652013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8666
8667 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8668 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8669
f56be016
SM
86702013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8671 Daniel Hackney <dan@haxney.org>
8672
8673 First part of Daniel Hackney's patch to package.el.
8674 * emacs-lisp/package.el: Use defstruct.
8675 (package-desc): New, main struct.
8676 (package--bi-desc, package--ac-desc): New structs, used to describe the
8677 format in external files.
8678 (package-desc-vers): Replace with package-desc-version accessor.
8679 (package-desc-doc): Replace with package-desc-summary accessor.
8680 (package-activate-1): Remove `package' arg since the pkg-vec now
8681 includes the name.
8682 (define-package): Use package-desc-from-define.
8683 (package-unpack-single): Change file-name arg to be a symbol.
8684 (package--add-to-archive-contents): Use package-desc-create and new
8685 accessor functions to package--ac-desc.
8686 (package-buffer-info, package-tar-file-info): Return a package-desc.
8687 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8688 arg to be a package-desc.
8689 (package-install-file): Adjust accordingly. Use \' to match EOS.
8690 (package--from-builtin): New function.
8691 (describe-package-1, package-menu--generate): Use it.
8692 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8693 (package-generate-autoloads): Idem and return the name of the file.
8694 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8695 Change pkg-info arg to be a package-desc.
8696 Use package-make-ac-desc.
8697 (package-upload-file): Use \' to match EOS.
8698 * finder.el (finder-compile-keywords): Use package-make-builtin.
8699
31119d63
SM
87002013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8701
931a2762
SM
8702 * vc/vc.el (vc-deduce-fileset): Change error message.
8703 (vc-read-backend): New function.
8704 (vc-next-action): Use it.
8705
5a3eb0c6
SM
8706 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8707
e3eb1bb7
SM
8708 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8709 (prolog-font-lock-keywords): Use regexp-opt instead.
8710 Don't manually highlight strings.
8711 (prolog-mode-variables): Simplify comment-start-skip.
8712 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8713
31119d63
SM
8714 * emacs-lisp/generic.el (generic--normalise-comments)
8715 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8716 (generic-mode-set-comments): Use them.
8717 (generic-bracket-support): Use setq-local.
8718 (generic-make-keywords-list): Declare obsolete.
8719
7de135d0
GM
87202013-06-11 Glenn Morris <rgm@gnu.org>
8721
8722 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8723 Prettify after setting font-lock-defaults. (Bug#14574)
8724
fa6bc6fd
JB
87252013-06-11 Juanma Barranquero <lekktu@gmail.com>
8726
8727 * replace.el (query-replace, occur-read-regexp-defaults-function)
8728 (replace-search):
8729 * subr.el (declare-function, number-sequence, local-set-key)
8730 (substitute-key-definition, locate-user-emacs-file)
8731 (with-silent-modifications, split-string, eval-after-load):
8732 Fix typos, remove unneeded backslashes and reflow some docstrings.
8733
cf1f9b9a
SM
87342013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8735
8736 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8737 default for Elisp files.
8738
56602a4b
GM
87392013-06-11 Glenn Morris <rgm@gnu.org>
8740
8741 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8742 although define-derived-mode was doing this anyway. (Bug#14583)
8743
30ae0b2c
JB
87442013-06-10 Juanma Barranquero <lekktu@gmail.com>
8745
8746 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8747 Fix make-variable-buffer-local call to refer to the correct variable.
8748
fa472906
AG
87492013-06-10 Aidan Gauland <aidalgol@amuri.net>
8750
8751 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8752 (eshell-visual-subcommands, eshell-visual-options):
8753 Add summary line to docstrings. Add cross-references.
fa472906 8754
ff4871b9
GM
87552013-06-10 Glenn Morris <rgm@gnu.org>
8756
8757 * epa.el (epa-read-file-name): New function. (Bug#14510)
8758 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8759
04fcf1b0
AG
87602013-06-09 Aidan Gauland <aidalgol@amuri.net>
8761
8762 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8763 output redirection to be ignored with visual commands.
8764
88b00caa
AG
87652013-06-09 Aidan Gauland <aidalgol@amuri.net>
8766
8767 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8768 (eshell-term-initialize): Move long lambda to separate function
8769 eshell-visual-command-p.
e7b41c4c
JB
8770 * eshell/em-dirs.el (eshell-dirs-initialise):
8771 * eshell/em-script.el (eshell-script-initialize):
8772 Add missing #' to lambda.
88b00caa 8773
fda74125
LL
87742013-06-08 Leo Liu <sdl.web@gmail.com>
8775
8776 * progmodes/octave.el (octave-add-log-current-defun): New function.
8777 (octave-mode): Set add-log-current-defun-function.
8778 (octave-goto-function-definition): Do not move point if not found.
8779 (octave-find-definition): Enhance to try subfunctions first.
8780
467f3b33
GM
87812013-06-08 Glenn Morris <rgm@gnu.org>
8782
8783 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8784 (byte-compile-backward-char, byte-compile-backward-word):
8785 Improve previous change, to handle non-explicit nil.
8786
544badc3
SM
87872013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8788
8789 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8790 (smie--opener/closer-at-point): New function.
8791 (smie--matching-block-data): Use it. Don't match from right after an
8792 opener or right before a closer. Obey smie-blink-matching-inners.
8793 Don't signal a mismatch for repeated inners like "switch..case..case".
8794
a175bf33
LL
87952013-06-07 Leo Liu <sdl.web@gmail.com>
8796
8797 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8798 to t. (Bug#14303)
ce8209d4
LL
8799 (octave-function-header-regexp): Fix. (Bug#14570)
8800 (octave-help-mode-finish-hook, octave-help-mode-finish):
8801 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8802
8803 * newcomment.el (comment-search-backward): Revert last change.
8804 (Bug#14434)
8805
8806 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8807
a822acff
EZ
88082013-06-07 Eli Zaretskii <eliz@gnu.org>
8809
8810 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8811 through xargs, to avoid failure due to MS-Windows limitations on
8812 command-line length.
8813
961166f5
GM
88142013-06-06 Glenn Morris <rgm@gnu.org>
8815
d0341459
GM
8816 * font-lock.el (lisp-font-lock-keywords-2):
8817 Treat user-error like error.
8818
961166f5
GM
8819 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8820 (byte-compile-backward-char, byte-compile-backward-word):
8821 Handle explicit nil arguments. (Bug#14565)
8822
80fa505f
AM
88232013-06-05 Alan Mackenzie <acm@muc.de>
8824
8825 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8826 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8827 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8828 (Bug#9706)
80fa505f 8829
fccdc796
SM
88302013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8831
8832 * autorevert.el (auto-revert-notify-handler): Use memq.
8833 Hide assertion failure.
8834
8835 * skeleton.el: Use cl-lib.
8836 (skeleton-further-elements): Use defvar-local.
8837 (skeleton-insert): Use cl-progv.
8838
9bfff84b
TZ
88392013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8840
8841 * progmodes/prog-mode.el (prog-prettify-symbols)
8842 (prog-prettify-install): Update docstrings.
8843
55577e7c
SM
88442013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8845
8846 * simple.el: Move all the prog-mode code to prog-mode.el.
8847 * progmodes/prog-mode.el: New file.
8848 * loadup.el: Add prog-mode.el.
8849
8fc57765
TZ
88502013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8851
8852 * simple.el (prog-prettify-symbols): Add version.
8853 (prog-prettify-install): Add convenience function to prettify symbols.
8854
8855 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8856 (perl--augmented-font-lock-keywords-1)
8857 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8858 variables and use it.
8859
8860 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8861 (cfengine3-mode): Remove unneeded variable and use it.
8862
8863 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8864 (lisp--augmented-font-lock-keywords-1)
8865 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8866 Remove unneeded variables and use it.
8867
650645d5 88682013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8869
8870 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8871 to point when opening the connection. (Bug#14380)
28f5da6d 8872
781b4af6
SM
88732013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * subr.el (load-history-regexp, load-history-filename-element)
8876 (eval-after-load, after-load-functions, do-after-load-evaluation)
8877 (eval-next-after-load, display-delayed-warnings)
8878 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8879 definition of save-match-data.
8880 (overriding-local-map): Remove accidental obsolescence declaration.
8881
8882 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8883
3ca0d0b4
TZ
88842013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8885
8886 Generalize symbol prettify support to prog-mode and implement it
8887 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8888 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8889 (prog--prettify-font-lock-compose-symbol)
8890 (prog-prettify-font-lock-symbols-keywords): New variables and
8891 functions to support symbol prettification.
8892 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8893 (lisp--augmented-font-lock-keywords-1)
8894 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8895 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8896 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8897 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8898 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8899 * progmodes/perl-mode.el (perl-prettify-symbols)
8900 (perl--font-lock-compose-symbol)
8901 (perl--font-lock-symbols-keywords): Move to prog-mode.
8902 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8903 (perl-font-lock-keywords-1)
8904 (perl-font-lock-keywords-2): Remove explicit prettify support.
8905 (perl--augmented-font-lock-keywords)
8906 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8907 (perl--augmented-font-lock-keywords-2, perl-mode):
8908 Implement prettify support.
3ca0d0b4 8909
976cb066
LL
89102013-06-05 Leo Liu <sdl.web@gmail.com>
8911
8912 Re-implement smie matching block highlight using
8913 show-paren-data-function. (Bug#14395)
8914 * emacs-lisp/smie.el (smie-matching-block-highlight)
8915 (smie--highlight-matching-block-overlay)
8916 (smie--highlight-matching-block-lastpos)
8917 (smie-highlight-matching-block)
8918 (smie-highlight-matching-block-mode): Remove.
8919 (smie--matching-block-data-cache): New variable.
8920 (smie--matching-block-data): New function.
8921 (smie-setup): Use smie--matching-block-data for
8922 show-paren-data-function.
8923
8924 * progmodes/octave.el (octave-mode-menu): Fix.
8925 (octave-find-definition): Skip garbage lines.
8926
208d0342
SM
89272013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8928
8929 Fix compilation error with simultaneous dynamic+lexical scoping.
8930 Add warning when a defvar appears after the first let-binding.
8931 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8932 (byte-compile-close-variables): Initialize it.
8933 (byte-compile--declare-var): New function.
8934 (byte-compile-file-form-defvar)
8935 (byte-compile-file-form-define-abbrev-table)
8936 (byte-compile-file-form-custom-declare-variable): Use it.
8937 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8938 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8939 (byte-compile-bind): Handle dynamic bindings that shadow
8940 lexical bindings.
8941 (byte-compile-unbind): Make arg non-optional.
8942 (byte-compile-let): Simplify.
8943 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8944 (cconv--analyse-function, cconv-analyse-form): Populate it.
8945 Protect byte-compile-bound-variables to limit the scope of defvars.
8946 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8947 Remove unneeded rule for `declare'.
8948
8949 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8950 so as to avoid depending on cl-adjoin at run-time.
8951 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8952
8953 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8954 (macroexp--warn-and-return): Use it.
8955
1ac2891e
GM
89562013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8957
8958 * lisp/subr.el: Convert to lexical binding.
8959 (overriding-local-map): Make obsolete.
8960 (add-to-list): Doc fix. Add compiler macro.
8961 (read-key): Swap values of local maps.
8962
2587b005
LL
89632013-06-05 Leo Liu <sdl.web@gmail.com>
8964
8965 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8966
f1da3c88
LL
89672013-06-04 Leo Liu <sdl.web@gmail.com>
8968
8969 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8970 (compilation-auto-jump): Suppress the "Mark set" message to give
8971 way to exit message.
8972
3caa391f
AM
89732013-06-04 Alan Mackenzie <acm@muc.de>
8974
8975 Remove faulty optimisation from indentation calculation.
8976 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8977 search limit based on 2000 characters back from indent-point.
8978
068922a2
TH
89792013-06-03 Tassilo Horn <tsdh@gnu.org>
8980
8981 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8982
1f8fdd53
SM
89832013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8984
bbcc4d97
SM
8985 * emacs-lisp/lisp.el: Use lexical-binding.
8986 (lisp--local-variables-1, lisp--local-variables): New functions.
8987 (lisp--local-variables-completion-table): New var.
208d0342 8988 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8989
1f8fdd53
SM
8990 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8991 eagerly (bug#14422).
8992
c9628c79
MA
89932013-06-03 Michael Albinus <michael.albinus@gmx.de>
8994
8995 * autorevert.el (auto-revert-notify-enabled)
8996 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8997 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8998 (auto-revert-notify-handler): Handle also gfilenotify.
8999
e7b41c4c 9000 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9001 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9002 Remove.
c9628c79 9003
e5e4a942
JL
90042013-06-03 Juri Linkov <juri@jurta.org>
9005
9006 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9007 `M-s h .'. (Bug#14427)
9008
9009 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9010 command `hi-lock-face-symbol-at-point'.
9011 (hi-lock-face-symbol-at-point): New command.
9012 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9013 (hi-lock-menu): Add `highlight-symbol-at-point'.
9014 (hi-lock-mode): Doc fix.
9015
9016 * isearch.el (isearch-forward-symbol-at-point): New command.
9017 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9018 (isearch-highlight-regexp): Add a regexp which matches
9019 words/symbols for word/symbol mode.
9020
9021 * subr.el (find-tag-default-bounds): New function with the body
9022 mostly moved from `find-tag-default'.
9023 (find-tag-default): Move most code to `find-tag-default-bounds',
9024 call it and apply `buffer-substring-no-properties' afterwards.
9025
26b3353a
TH
90262013-06-03 Tassilo Horn <tsdh@gnu.org>
9027
781b4af6
SM
9028 * eshell/em-term.el (eshell-term-initialize):
9029 Use `cl-intersection' rather than `intersection'.
26b3353a 9030
51b60f53
XF
90312013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9032
fe054b63 9033 * vc/log-view.el: Doc fix.
d3ffe17c 9034 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9035
a0eb10b3 90362013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9037
9038 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9039 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9040 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9041 (eieio-unbound, eieio-default-superclass)
9042 (eieio--define-field-accessors, method-static, method-before)
9043 (method-primary, method-after, method-num-lists)
9044 (method-generic-before, method-generic-primary)
9045 (method-generic-after, method-num-slots)
9046 (eieio-specialized-key-to-generic-key)
9047 (eieio--check-type, class-v, class-p)
9048 (eieio-class-name, define-obsolete-function-alias)
9049 (eieio-class-parents-fast, eieio-class-children-fast)
9050 (same-class-fast-p, class-constructor, generic-p)
9051 (generic-primary-only-p, generic-primary-only-one-p)
9052 (class-option-assoc, class-option, eieio-object-p)
9053 (class-abstract-p, class-method-invocation-order)
9054 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9055 (eieio-class-un-autoload, eieio-defclass)
9056 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9057 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9058 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9059 (eieio-defgeneric-reset-generic-form)
9060 (eieio-defgeneric-form-primary-only)
9061 (eieio-defgeneric-reset-generic-form-primary-only)
9062 (eieio-defgeneric-form-primary-only-one)
9063 (eieio-defgeneric-reset-generic-form-primary-only-one)
9064 (eieio-unbind-method-implementations)
9065 (eieio--defmethod, eieio--typep)
9066 (eieio-perform-slot-validation, eieio-validate-slot-value)
9067 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9068 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9069 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9070 (eieio-slot-name-index, eieio-class-slot-name-index)
9071 (eieio-set-defaults, eieio-initarg-to-attribute)
9072 (eieio-attribute-to-initarg, eieio-c3-candidate)
9073 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9074 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9075 (eieio-class-precedence-list, eieio-generic-call-methodname)
9076 (eieio-generic-call-arglst, eieio-generic-call-key)
9077 (eieio-generic-call-next-method-list)
9078 (eieio-pre-method-execution-functions, eieio-generic-call)
9079 (eieio-generic-call-primary-only, eieiomt-method-list)
9080 (eieiomt-optimizing-obarray, eieiomt-install)
9081 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9082 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9083 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9084 (defclass): Remove `eval-and-compile' from macro.
9085 (call-next-method, shared-initialize): Instead of using
9086 `scoped-class' variable, use new eieio--scoped-class, and
9087 eieio--with-scoped-class.
9088 (initialize-instance): Rename local variable 'scoped-class' to
9089 'this-class' to remove ambiguitity from old global.
9090
9091 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9092 eieio.el.
4f405069
JB
9093 (eieio--scoped-class-stack): New variable.
9094 (eieio--scoped-class): New fcn.
890f7890
DE
9095 (eieio--with-scoped-class): New scoping macro.
9096 (eieio-defclass): Use pushnew instead of add-to-list.
9097 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9098 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9099 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9100 `scoped-class' variable, use new eieio--scoped-class, and
9101 eieio--with-scoped-class.
9102
9103 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9104
d105b0e2
TH
91052013-06-02 Tassilo Horn <tsdh@gnu.org>
9106
9107 * eshell/esh-ext.el (eshell-external-command): Pass args to
9108 `eshell-find-interpreter'.
9109 (eshell-find-interpreter): Add new second parameter ARGS.
9110
9111 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9112 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9113
9114 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9115 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9116
9117 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9118 (eshell-visual-options): New defcustom.
9119 (eshell-escape-control-x): Adapt docstring.
9120 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9121 `eshell-visual-options' in addition to `eshell-visual-commands'.
9122 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9123
f46305c8 91242013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9125
9126 * progmodes/python.el (python-indent-block-enders): Add break,
9127 continue and raise keywords.
9128
d870df21
GM
91292013-06-01 Glenn Morris <rgm@gnu.org>
9130
9133b82e
GM
9131 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9132
02c992ec 9133 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9134 * progmodes/cc-cmds.el (delete-forward-p):
9135 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9136 * progmodes/cc-engine.el (buffer-syntactic-context):
9137 * progmodes/cc-fonts.el (face-property-instance):
9138 * progmodes/cc-mode.el (set-keymap-parents):
9139 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9140 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9141 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9142 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9143 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9144
31e7b090
GM
9145 * progmodes/cc-vars.el (other): Emacs has this widget since
9146 at least 21.1, so don't (re)define it.
9147
d870df21
GM
9148 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9149 Replace the obsolete alias pcomplete-arg-quote-list.
9150
c75c93c7
LL
91512013-06-01 Leo Liu <sdl.web@gmail.com>
9152
9153 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9154 punctuation syntax.
9155 (inferior-octave-minimal-columns)
9156 (inferior-octave-last-column-width): New variables.
9157 (inferior-octave-track-window-width-change): New function.
9158 (inferior-octave-mode): Adjust column width so that Octave output,
9159 for example from 'ls', can fit into the window nicely.
9160
973d1e12
DG
91612013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9162
9163 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9164 Highlight expansions inside regexp literals.
9165
0888c286
GM
91662013-05-31 Glenn Morris <rgm@gnu.org>
9167
e26aac1f
GM
9168 * obsolete/sym-comp.el (symbol-complete):
9169 Replace obsolete completion-annotate-function.
9170
0888c286
GM
9171 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9172
19bb8e62
DG
91732013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9174
781b4af6
SM
9175 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9176 New function, checks if point is inside a literal that allows
19bb8e62
DG
9177 expression expansion.
9178 (ruby-syntax-propertize-expansion): Use it.
9179 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9180 around the body.
9181
01dea85f
JL
91822013-05-30 Juri Linkov <juri@jurta.org>
9183
9184 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9185 to "\M-si".
9186 (isearch-invisible): New variable.
9187 (isearch-forward): Doc fix.
9188 (isearch-mode): Set `isearch-invisible'
9189 to the value of `search-invisible'.
9190 (isearch-toggle-case-fold): Doc fix.
9191 (isearch-toggle-invisible): New command.
9192 (isearch-query-replace): Let-bind `search-invisible'
9193 to the value of `isearch-invisible'.
9194 (isearch-search): Use `isearch-invisible' instead of
9195 `search-invisible'. Let-bind `search-invisible'
9196 to the value of `isearch-invisible'. (Bug#11378)
9197
ab1bdce5
JL
91982013-05-30 Juri Linkov <juri@jurta.org>
9199
9200 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9201 call when `query-flag' is nil and `search-invisible' is non-nil.
9202 (Bug#11746)
9203
d6d236e2
GM
92042013-05-30 Glenn Morris <rgm@gnu.org>
9205
8accd027
GM
9206 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9207
2a8bed1c
GM
9208 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9209 (cc-require): Suppress spurious "noruntime" warnings.
9210 (cc-require-when-compile): Use fboundp, for sake of compiler.
9211
d6d236e2
GM
9212 * progmodes/cc-mode.el: Move load of cc-vars before that of
9213 cc-langs (which in turn loads cc-vars), to quieten compiler.
9214
9190b35b
SM
92152013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9216
9217 * paren.el: Simplify the code.
9218 (show-paren-mode): Always start the timer.
9219 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9220 (show-paren--overlay, show-paren--overlay-1): Rename from
9221 show-paren-overlay and show-paren-overlay-1, and initialize to an
9222 overlay rather than to nil.
9223 (show-paren-function): Misc cleanup and simplifications.
9224
4f8d1cf6
SM
92252013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9226
9227 * paren.el (show-paren-data-function): New hook.
9228 (show-paren--default): New function, extracted from show-paren-function.
9229 (show-paren-function): Use show-paren-data-function.
9230
02d844b5
GM
92312013-05-30 Glenn Morris <rgm@gnu.org>
9232
d209d4a9
GM
9233 * ielm.el (ielm-map, ielm-complete-symbol):
9234 Use completion-at-point rather than obsolete functions.
9235 (inferior-emacs-lisp-mode): Doc fix.
9236 Set completion-at-point-functions, rather than
9237 comint-dynamic-complete-functions.
9238
2082faa6
GM
9239 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9240 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9241 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9242
dd8620de
GM
9243 * image.el (image-animated-p): Tweak definition.
9244
ceca95b1
GM
9245 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9246 (rlogin-process-connection-type): Tweak default. Add set-after.
9247 (rlogin-host): Doc fix.
9248 (rlogin): Tweak prompt.
9249 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9250
ee9f1acc
GM
9251 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9252 * progmodes/tcl.el (inferior-tcl-mode-map):
9253 Use completion-at-point rather than obsolete alias.
9254
45ce222e
GM
9255 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9256
02d844b5
GM
9257 * minibuffer.el (read-file-name-completion-ignore-case):
9258 Move before completion--in-region, for eager macro expansion.
9259
ac44d6c1
JL
92602013-05-29 Juri Linkov <juri@jurta.org>
9261
9262 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9263 for total count of matching lines. Add `global-matches' for total
9264 count of matches. Rename `matches' to `lines' for count of
9265 matching lines. Add `matches' for count of matches.
9266 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9267 to `prev-line' for line number of prev match endpt.
9268 Increment `matches' for every match. Print the number of
9269 matching lines in the header.
9270 (occur-context-lines): Rename `lines' to `curr-line'.
9271 Rename `prev-lines' to `prev-line'. (Bug#14017)
9272
3c9c9d38
JL
92732013-05-29 Juri Linkov <juri@jurta.org>
9274
9275 * replace.el (perform-replace): Add `skip-read-only-count',
9276 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9277 Increment them for corresponding conditions and report the number
9278 of skipped occurrences in the final message. (Bug#11746)
9279 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9280 (replace-string, replace-regexp): Doc fix.
9281
33e249a2
SM
92822013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9283
8e399682
SM
9284 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9285
33e249a2 9286 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9287 prog-mode-map (bug#14504).
33e249a2 9288
f236dd84
LL
92892013-05-29 Leo Liu <sdl.web@gmail.com>
9290
9291 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9292 (octave-help): Small simplification.
9293
9294 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9295 off the highlight first.
9296
3694d13f
GM
92972013-05-29 Glenn Morris <rgm@gnu.org>
9298
03983bdc
GM
9299 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9300 Handle idlwave-last-system-routine-info-cons-cell being nil.
9301
bc74a74a
GM
9302 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9303 (idlwave-write-paths): Simplify via with-temp-buffer.
9304
8b394200
GM
9305 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9306 * emulation/cua-rect.el: Also load cua-base at run time.
9307
3694d13f
GM
9308 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9309 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9310 (cperl-imenu-on-info): Require imenu.
9311
336d7284
AM
93122013-05-28 Alan Mackenzie <acm@muc.de>
9313
9314 Handle "capitalised keywords" correctly.
33e249a2 9315 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9316
cb29c582
AG
93172013-05-28 Aidan Gauland <aidalgol@amuri.net>
9318
781b4af6 9319 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9320
690e44b2
GM
93212013-05-28 Glenn Morris <rgm@gnu.org>
9322
e658d75c
GM
9323 * vc/vc-arch.el (vc-exec-after): Declare.
9324 (vc-switches): Autoload.
9325 * vc/vc-bzr.el: No need to require vc when compiling.
9326 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9327 (vc-resynch-buffer, vc-dir-refresh): Declare.
9328 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9329 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9330 (vc-resynch-buffer): Declare.
9331 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9332 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9333 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9334 (grep-read-regexp, grep-read-files, grep-expand-template)
9335 (vc-dir-refresh): Declare.
9336 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9337 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9338 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9339 * vc/vc-mtn.el (vc-exec-after): Declare.
9340 (vc-switches): Autoload.
9341 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9342 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9343 (vc-file-tree-walk): Declare.
712b9732
GM
9344 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9345 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9346 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9347 * vc/vc-svn.el (vc-exec-after): Declare.
9348 (vc-switches, vc-setup-buffer): Autoload.
9349 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9350 Autoload.
9351 (vc-resynch-buffer): Declare.
9352
98e87fb3
GM
9353 * obsolete/fast-lock.el (byte-compile-warnings):
9354 Don't warn about obsolete features in this obsolete file.
9355
f5379553
GM
9356 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9357 Move definition before use.
9358
7a20ef83
GM
9359 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9360 (dun-unix-verbs): Remove dun-zippy.
9361 (dun-zippy): Remove function.
9362
690e44b2
GM
9363 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9364
3a52ccf7
JL
93652013-05-27 Juri Linkov <juri@jurta.org>
9366
9367 * replace.el (replace-search): New function with code moved out
9368 from `perform-replace'.
9369 (replace-highlight, replace-dehighlight): Move function definitions
9370 up closer to `replace-search'. (Bug#11746)
9371
d289938a
JL
93722013-05-27 Juri Linkov <juri@jurta.org>
9373
9374 * replace.el (perform-replace): Ignore invisible matches.
9375 In addition to checking `query-replace-skip-read-only', also
9376 filter out matches by calling `run-hook-with-args-until-failure'
9377 on `isearch-filter-predicates', and also check `search-invisible'
9378 for t or call `isearch-range-invisible'.
9379 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9380
66fc57e3
JL
93812013-05-27 Juri Linkov <juri@jurta.org>
9382
9383 * isearch.el (isearch-filter-predicates): Rename from
9384 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9385 (isearch-message-prefix): Display text from the property
9386 `isearch-message-prefix' of the currently active filters.
9387 (isearch-search): Don't compare `isearch-filter-predicate' with
9388 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9389 on `isearch-filter-predicates'. Also check `search-invisible' for t
9390 or call `isearch-range-invisible'.
9391 (isearch-filter-visible): Make obsolete.
9392 (isearch-lazy-highlight-search):
9393 Call `run-hook-with-args-until-failure' on
9394 `isearch-filter-predicates' and use `isearch-range-invisible'.
9395
9396 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9397 `isearch-filter-predicates' instead of `funcall'ing
9398 `isearch-filter-predicate'.
9399 (Info-mode): Set `Info-isearch-filter' to
9400 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9401
9402 * dired-aux.el (dired-isearch-filter-predicate-orig):
9403 Remove variable.
9404 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9405 (dired-isearch-filenames-end): Add and remove
9406 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9407 instead of changing the value of `isearch-filter-predicate'.
9408 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9409 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9410 Put property `isearch-message-prefix' to "filename " on
9411 `dired-isearch-filter-filenames'.
9412
9413 * wdired.el (wdired-change-to-wdired-mode):
9414 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9415 locally instead of changing `isearch-filter-predicate'.
9416 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9417
f1a60a0f
DG
94182013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9419
9420 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9421 return the commit hash (Bug#14459). Also set the
9422 `vc-git-detached' property.
9423 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9424 (vc-git-mode-line-string): Use the same help-echo format whether
9425 in detached mode or not, because we know the actual revision now.
9426 When in detached mode, shorten the revision to 7 chars.
9427
7f17cc40
SM
94282013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9429
9430 * emacs-lisp/easy-mmode.el (define-minor-mode):
9431 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9432 mode hook and provide a docstring.
9433
25c8401c
AM
94342013-05-27 Alan Mackenzie <acm@muc.de>
9435
9436 Remove spurious syntax-table text properties inserted by C-y.
9437 * progmodes/cc-mode.el (c-after-change): Also clear hard
9438 syntax-table property with value nil.
9439
dde84790
MA
94402013-05-27 Michael Albinus <michael.albinus@gmx.de>
9441
9442 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9443 when reading the events; the buffer layout shall not be changed.
9444
837fd9af
LL
94452013-05-27 Leo Liu <sdl.web@gmail.com>
9446
9447 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9448 New variable.
9449 (inferior-octave-directory-tracker): Automatically re-sync
9450 default-directory.
9451 (octave-help): Improve handling of 'See also'.
9452
4fd996b3
SM
94532013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9454
416f1802
SM
9455 * doc-view.el: Minor naming convention tweaks.
9456 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9457
4fd996b3
SM
9458 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9459 even if there's no `display' property yet (bug#14435).
9460
a052ef3b
EZ
94612013-05-25 Eli Zaretskii <eliz@gnu.org>
9462
4fd996b3 9463 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9464
9465 * Makefile.in (custom-deps, finder-data, autoloads)
9466 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9467 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9468 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9469
c9023370
SM
94702013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9471
9472 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9473 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9474 Don't burp at EOB.
c9023370 9475
24d699fa
LL
94762013-05-25 Leo Liu <sdl.web@gmail.com>
9477
9478 * comint.el (comint-previous-matching-input): Do not flood the
9479 *Messages* buffer with trivial messages.
9480
17e5c0cc
SM
94812013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9482
9483 * progmodes/flymake.el (flymake-nop): Don't return a string.
9484 (flymake-set-at): Fix typo.
9485
9486 * simple.el (read--expression): New function, extracted from
9487 eval-expression. Set completion-at-point-functions (bug#14465).
9488 (eval-expression, eval-minibuffer): Use it.
9489
5d028165
XF
94902013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9491
9492 * progmodes/flymake.el (flymake-save-buffer-in-file)
9493 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9494 (flymake-selected-frame, flymake-log, flymake-ins-after)
9495 (flymake-set-at, flymake-get-buildfile-from-cache)
9496 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9497 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9498 Refine the doc string.
9499 (flymake-get-file-name-mode-and-masks): Reformat.
9500 (flymake-get-real-file-name-function): Fix a minor bug.
9501
7a1d7ba7
JL
95022013-05-24 Juri Linkov <juri@jurta.org>
9503
9504 * progmodes/grep.el (grep-mode-font-lock-keywords):
9505 Support =linenumber= format used by git-grep for lines with
9506 function names. (Bug#13549)
9507
650cff3d
SM
95082013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9509
9510 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9511 0 after a semi-colon; it works better for smie-auto-fill.
9512 (octave--indent-new-comment-line): New function.
9513 (octave-indent-new-comment-line): Use it (indirectly).
9514 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9515 modify comment-line-break-function.
9516
9517 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9518 (smie-setup): Use add-function to set it.
9519
9631677d
SS
95202013-05-24 Sam Steingold <sds@gnu.org>
9521
9522 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9523 argument (before the `interactive' argument).
9524
50105835
SM
95252013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 * image-mode.el (image-mode-winprops): Add winprops to
9528 image-mode-winprops-alist before running
9529 image-mode-new-window-functions.
9530 * doc-view.el (doc-view-new-window-function): Don't delay
9531 doc-view-goto-page via timers (bug#14435).
9532
57b9823e
TH
95332013-05-24 Tassilo Horn <tsdh@gnu.org>
9534
9535 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9536 (doc-view-desktop-save-buffer): New function.
9537 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9538 (desktop-buffer-mode-handlers):
9539 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9540 handler.
9541 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9542 `desktop-save-buffer' function.
9543
91aafa16
MA
95442013-05-24 Michael Albinus <michael.albinus@gmx.de>
9545
9546 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9547 (tramp-gvfs-file-name-handler): Raise a user error when
9548 `tramp-gvfs-enabled' is nil.
9549 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9550 Do not raise a user error when loading package. (Bug#14447)
9551
ec076379
MA
9552 * net/xesam.el: Move to obsolete/.
9553
db785726
GM
95542013-05-24 Glenn Morris <rgm@gnu.org>
9555
af5c7606
GM
9556 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9557
e5d1916a
GM
9558 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9559
ded62b08
GM
9560 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9561 (Info-find-node, Man-getpage-in-background): Declare.
9562
9e614a3f
GM
9563 * mail/unrmail.el (unrmail):
9564 Replace obsolete detect-coding-with-priority.
9565
892f8ca3
GM
9566 * net/socks.el (socks-split-string): Use this rather than split-string.
9567 (socks-nslookup-host): Update for above change.
9568 (dynamic-choice, s5-dynamic-choice-match)
9569 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9570 Comment out unused code.
9571
3c291973
GM
9572 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9573 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9574 (gud-tooltip-echo-area): Make obsolete.
9575 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9576
43cc956b
GM
9577 * progmodes/js.el (js--optimize-arglist): Declare.
9578
dab49a3b
GM
9579 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9580
36b9d085
GM
9581 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9582 (ediff-window-C): Declare.
9583
e354ae76
GM
9584 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9585 Tweak requires to silence compiler.
9586
b8e57bf4
GM
9587 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9588 (he-search-string, he-tried-table, he-expand-list)
9589 (he-init-string, he-string-member, he-substitute-string)
9590 (he-reset-string): Declare.
9591
db785726
GM
9592 * obsolete/options.el (list-options): Use custom-variable-p,
9593 rather than obsolete alias.
9594
b3531901
SS
95952013-05-23 Sam Steingold <sds@gnu.org>
9596
9597 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9598 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9599 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9600
bdda4c66
SM
96012013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9602
9603 * emacs-lisp/smie.el (smie-indent-forward-token)
9604 (smie-indent-backward-token): Handle string tokens (bug#14381).
9605
c43d45f9
TH
96062013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9607
fe1eb856
RS
9608 * ielm.el (ielm-menu): New menu.
9609 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9610
fe1eb856
RS
96112013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9612
9613 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9614 Fix deactivate action.
9615
9616 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9617 Add cleveref macros.
074dd971 9618
c43d45f9
TH
9619 * lisp/textmodes/reftex-parse.el
9620 (reftex-locate-bibliography-files): Accept options for
9621 bibliography commands.
9622 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9623 Add addbibresource. Basic Biblatex support.
9624
7764286e
MA
96252013-05-23 Michael Albinus <michael.albinus@gmx.de>
9626
9627 * net/tramp-gvfs.el (top):
9628 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9629 when loading package. (Bug#14447)
9630
d361bc10
GM
96312013-05-23 Glenn Morris <rgm@gnu.org>
9632
8fa23984
GM
9633 * progmodes/js.el: No need to load comint when compiling.
9634 (ring-insert, comint-send-string, comint-send-input)
9635 (comint-last-input-end, ido-chop): Declare.
9636
a5c7df1a
GM
9637 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9638 * vc/ediff-mult.el: Adjust requires.
9639 (ediff-directories-internal, ediff-directory-revisions-internal)
9640 (ediff-patch-file-internal): Declare.
9641 * vc/ediff-ptch.el: Adjust requires.
9642 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9643 (ediff-find-file): Autoload.
9644 * vc/ediff-util.el: No need to load ediff when compiling.
9645 (ediff-regions-internal): Declare.
9646 * vc/ediff-wind.el: Adjust requires.
9647 (ediff-compute-toolbar-width): Define when compiling.
9648 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9649 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9650 (dired-get-filename, dired-get-marked-files)
9651 (ediff-last-dir-patch, ediff-patch-default-directory)
9652 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9653 (ediff-patch-buffer-internal): Declare.
9654
e2aec513
GM
9655 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9656 (ispell-process, ispell-buffer-local-words, lm-summary)
9657 (lm-section-start, lm-section-end): Declare.
9658 (checkdoc-ispell-init): Simplify.
9659
e68bbd7c
GM
9660 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9661 (he-string-member, he-reset-string, he-substitute-string): Declare.
9662
7efe0991
GM
9663 * eshell/em-ls.el: Adjust requires.
9664 (eshell-glob-regexp): Declare.
f87b1284
GM
9665 * eshell/em-tramp.el: Adjust requires.
9666 (eshell-parse-command): Autoload.
9667 * eshell/em-xtra.el: Adjust requires.
9668 (eshell-parse-command): Autoload.
9669 * eshell/esh-ext.el: Adjust requires.
9670 (eshell-parse-command, eshell-close-handles): Autoload.
9671 * eshell/esh-io.el: Adjust requires.
9672 (eshell-output-filter): Autoload.
9673 * eshell/esh-util.el: No need to load tramp when compiling.
9674 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9675 Declare.
9676 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9677 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9678 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9679 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9680 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9681 * eshell/esh-opt.el, eshell/esh-proc.el:
9682 * eshell/esh-var.el: Adjust requires.
9683 * eshell/eshell.el: Do not require esh-util twice.
9684 (eshell-add-input-to-history): Declare.
9685 (eshell-command): Check history module is active before using it.
9686
d361bc10
GM
9687 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9688
85d090a9
LL
96892013-05-22 Leo Liu <sdl.web@gmail.com>
9690
9691 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9692
5d0acd9d
MA
96932013-05-22 Michael Albinus <michael.albinus@gmx.de>
9694
9695 * autorevert.el (auto-revert-notify-add-watch)
9696 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9697 it indicates changes in file modification time.
9698
0cdffd7d
GM
96992013-05-22 Glenn Morris <rgm@gnu.org>
9700
ca5995ec
GM
9701 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9702 Always delete the autoloaded function from the noruntime and
9703 unresolved functions lists.
9704
6450907e
GM
9705 * allout.el: No need to load epa, epg, overlay when compiling.
9706 (epg-context-set-passphrase-callback, epg-list-keys)
9707 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9708 (epg-key-user-id-list): Declare.
9709
9c6906f6
GM
9710 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9711 (viper-set-parsing-style-toggling-macro)
9712 (viper-set-emacs-state-searchstyle-macros):
9713 Use called-interactively-p on Emacs.
9714 (viper-looking-back): Make it an obsolete alias. Update callers.
9715 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9716 Use looking-back rather than viper-looking-back.
9717 (viper-tmp-insert-at-eob, viper-enlarge-region)
9718 (viper-read-string-with-history, viper-register-to-point)
9719 (viper-append-to-register, viper-change-state-to-vi)
9720 (viper-backward-char-carefully, viper-forward-char-carefully)
9721 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9722 (viper-change-state-to-emacs): Declare.
9723 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9724 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9725 * emulation/viper-mous.el: Do not load viper-cmd.
9726 (viper-backward-char-carefully, viper-forward-char-carefully)
9727 (viper-forward-word, viper-adjust-window): Declare.
9728
5f70c169
GM
9729 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9730
b1b7f300
GM
9731 * progmodes/idlw-help.el (idlwave-help-fontify):
9732 Use called-interactively-p.
9733
f6ebbb46
GM
9734 * term/w32console.el (w32-get-console-codepage)
9735 (w32-get-console-output-codepage): Declare.
9736
0cdffd7d
GM
9737 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9738 Remove unnecessary declarations.
9739 (dframe-message): Doc fix.
9740
9741 * info.el (dframe-select-attached-frame, dframe-current-frame):
9742 Declare.
9743
9744 * speedbar.el (speedbar-message): Make it an obsolete alias.
9745 Update all callers.
9746 (speedbar-with-attached-buffer)
9747 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9748 (speedbar-with-writable): Use backquote.
9749 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9750 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9751 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9752 rather than speedbar- aliases.
9753 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9754 (speedbar-make-specialized-keymap, speedbar-insert-button)
9755 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9756 (speedbar-do-function-pointer): Declare.
9757 (rmail-speedbar-button, rmail-speedbar-find-file)
9758 (rmail-speedbar-move-message):
9759 Use dframe-with-attached-buffer rather than speedbar- alias.
9760 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9761 (dframe-message, speedbar-make-specialized-keymap)
9762 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9763 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9764 (speedbar-insert-button, dframe-select-attached-frame)
9765 (dframe-maybee-jump-to-attached-frame)
9766 (speedbar-change-initial-expansion-list)
9767 (speedbar-previously-used-expansion-list-name): Declare.
9768 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9769 Use dframe-message, dframe-with-attached-buffer rather than
9770 speedbar- aliases.
9771 (gud-sentinel): Silence compiler.
9772 * progmodes/vhdl-mode.el (speedbar-refresh)
9773 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9774 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9775 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9776 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9777 (speedbar-file-lists, speedbar-make-tag-line)
9778 (speedbar-line-directory, speedbar-goto-this-file)
9779 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9780 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9781 (speedbar-make-button, speedbar-reset-scanners)
9782 (speedbar-files-item-info, speedbar-line-text)
9783 (speedbar-find-file-in-frame, speedbar-set-timer)
9784 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9785 (speedbar-with-writable): Do not (re)define it.
9786 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9787 rather than speedbar- alias.
9788
ee44b62a
LL
97892013-05-21 Leo Liu <sdl.web@gmail.com>
9790
9791 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9792 menu items.
9793 (octave-mode): Tweak fill-nobreak-predicate.
9794 (inferior-octave-startup): Check process to avoid infinite loop.
9795 (inferior-octave): Pop to buffer first to show abornmal process
9796 exit information.
9797
640f050f
GM
97982013-05-21 Glenn Morris <rgm@gnu.org>
9799
79458038
GM
9800 * printing.el (pr-menu-bar): Define when compiling.
9801
9cc3e83f
LL
98022013-05-21 Leo Liu <sdl.web@gmail.com>
9803
9804 * progmodes/octave.el (octave-auto-fill): Remove.
9805 (octave-indent-new-comment-line): Improve.
9806 (octave-mode): Use auto fill mode through
4f405069 9807 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9808 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9809 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9810 (octave-help): Show parent directory.
9811
f440830d
GM
98122013-05-21 Glenn Morris <rgm@gnu.org>
9813
9814 * files.el (dired-unmark):
9815 * progmodes/gud.el (gdb-input): Update declarations.
9816
9817 * calculator.el (electric, ehelp): No need to load when compiling.
9818 (Electric-command-loop, electric-describe-mode): Declare.
9819
9820 * doc-view.el (doc-view-current-converter-processes): Move before use.
9821
9822 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9823 Move MODE-set-explicitly definition before use.
9824
9825 * international/mule-diag.el (mule-diag):
9826 Don't use obsolete window-system-version.
9827
9828 * mail/feedmail.el (smtpmail): No need to load when compiling.
9829 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9830
9831 * mail/mail-utils.el (rfc822): No need to load when compiling.
9832 (rfc822-addresses): Autoload it.
9833 (mail-strip-quoted-names): Trivial simplification.
9834
9835 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9836 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9837
9838 * net/snmp-mode.el (tempo): Don't duplicate requires.
9839
9840 * progmodes/prolog.el (info): No need to load when compiling.
9841 (comint): Require before shell requires it.
9842 (Info-goto-node): Autoload it.
9843 (Info-follow-nearest-node): Declare.
9844 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9845
9846 * textmodes/artist.el (picture-mode-exit): Declare.
9847
9848 * textmodes/reftex-parse.el (reftex-parse-from-file):
9849 Trivial rewrite so the compiler can parse it better.
9850
b4da2cbb
LL
98512013-05-20 Leo Liu <sdl.web@gmail.com>
9852
9853 * progmodes/octave.el (octave-help-mode-map)
9854 (octave-help-mode-finish-hook): New variables.
9855 (octave-help-mode, octave-help-mode-finish): New functions.
9856 (octave-help): Use octave-help-mode.
9857
33c0f65b
GM
98582013-05-20 Glenn Morris <rgm@gnu.org>
9859
9860 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9861
1a0a0a8a
DG
98622013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9863
9864 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9865 start at point, so that expansion starting right after opening
9866 slash in a regexp is recognized.
9867 (ruby-syntax-before-regexp-re): New defvar, extracted from
9868 ruby-syntax-propertize-function. Since the value of this regexp
9869 is looked up at runtime now, we should be able to turn
9870 `ruby-syntax-methods-before-regexp' into a defcustom later.
9871 (ruby-syntax-propertize-function): Split regexp matching into two
9872 parts, for opening and closing slashes. That allows us to skip
9873 over string interpolations and support multiline regexps.
9874 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9875 for them, which calls `ruby-syntax-propertize-expansion'.
9876 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9877 call to `ruby-syntax-propertize-function'.
9878 (ruby-syntax-propertize-expansion): Extracted from
9879 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9880 (ruby-syntax-propertize-percent-literal): Leave point right after
9881 the percent symbol, so that the expression expansion rule can
9882 propertize the contents.
462388b6
DG
9883 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9884 heredoc openers.
9885 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9886
c1a6c0a4
JL
98872013-05-18 Juri Linkov <juri@jurta.org>
9888
9889 * man.el (Man-default-man-entry): Remove `-' from the end
9890 of the default value. (Bug#14400)
9891
8051fccd
GM
98922013-05-18 Glenn Morris <rgm@gnu.org>
9893
9894 * comint.el (comint-password-prompt-regexp):
9895 Allow "password for XXX" where XXX contains colons (eg https://...).
9896
5e80b74f
LL
98972013-05-18 Leo Liu <sdl.web@gmail.com>
9898
9899 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9900 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9901 (octave-source-directories): Don't check process.
9902 (octave-source-directories, octave-find-definition): Doc fix.
9903
521a54c5
GM
99042013-05-18 Glenn Morris <rgm@gnu.org>
9905
86a94b05
GM
9906 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9907 Remove backspace/delete bindings. (Bug#14392)
9908
521a54c5
GM
9909 * cus-dep.el (custom-make-dependencies): Sort the output.
9910 (custom-versions-load-alist): Convert comment to doc.
9911
42caeb89
LL
99122013-05-17 Leo Liu <sdl.web@gmail.com>
9913
9914 * newcomment.el (comment-search-backward): Stricter in finding
9915 comment start. (Bug#14303)
9916
9917 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9918 (octave-comment-start-skip): Properly anchored.
9919
e219dd97
LL
99202013-05-17 Leo Liu <sdl.web@gmail.com>
9921
fe1eb856
RS
9922 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9923 Clean up when turned off. (Bug#14395)
e219dd97
LL
9924 (smie--highlight-matching-block-overlay): No longer buffer-local.
9925 (smie-highlight-matching-block): Adjust.
9926
dc5dcb4b
PE
99272013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9928
9929 Doc string fix for "nanoseconds" (Bug#14406).
9930 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9931 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9932
1db165f0
JB
99332013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9934
9935 * calc/calc-units.el (math-extract-units): Preserve powers
9936 of units.
9937
c7a8fcac
LL
99382013-05-17 Leo Liu <sdl.web@gmail.com>
9939
9940 * subr.el (delete-consecutive-dups): New function.
9941 * ido.el (ido-set-matches-1): Use it.
9942 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9943 * ido.el (ido-remove-consecutive-dups): Remove.
9944
f678b18a
SM
99452013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9946
9947 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9948 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9949 regexp-opt's `words'.
9950
ebfe68e8
LL
99512013-05-16 Leo Liu <sdl.web@gmail.com>
9952
9953 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9954 (smie--highlight-matching-block-overlay)
9955 (smie--highlight-matching-block-lastpos)
9956 (smie--highlight-matching-block-timer): New variables.
9957 (smie-highlight-matching-block): New function.
9958 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9959 (smie-setup): Conditionally enable smie-blink-matching-open.
9960
bc8bc17d
WS
99612013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9962
9963 Sync with upstream verilog-mode r840.
9964 * progmodes/verilog-mode.el (verilog-mode-version)
9965 (verilog-mode-release-date): Update.
9966 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9967 (verilog-sig-tieoff): Fix string error on
9968 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9969 (verilog-read-decls): Fix parameters confusing
9970 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9971
df065a0b
EZ
99722013-05-16 Eli Zaretskii <eliz@gnu.org>
9973
9974 * subr.el (reveal-filename): New function.
9975
9976 * loadup.el: Compute Emacs executable versions on MS-Windows,
9977 where executables have the .exe extension. Add a hard link
9978 emacs-XX.YY.ZZ.exe on MS-Windows.
9979
9980 * Makefile.in (XARGS_LIMIT): New variable.
9981 (custom-deps, finder-data, autoloads)
9982 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9983 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9984 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9985 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9986
2d4bf34b
LL
99872013-05-16 Leo Liu <sdl.web@gmail.com>
9988
9989 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9990 (octave-mode-menu, octave-mode-map): Remove its uses.
9991
6b9c2d85
RZ
99922013-05-16 Reto Zimmermann <reto@gnu.org>
9993
9994 Sync with upstream vhdl mode v3.34.2.
9995 * progmodes/vhdl-mode.el: Use `push' throughout.
9996 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9997 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9998 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9999 (vhdl-actual-generic-name): New option to derive actual generic name.
10000 (vhdl-port-paste-signals): Replace formal by actual generics.
10001 (vhdl-beautify): New name for old group vhdl-align. Update users.
10002 (vhdl-beautify-options): New option.
10003 (vhdl-last-input-event): New compat alias. Use throughout.
10004 (vhdl-goto-line): Replace user level function `goto-line'.
10005 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10006 vhdl-fix-statement-buffer.
10007 (vhdl-create-mode-menu): Add some entries.
10008 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10009 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10010 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10011 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10012 to force statements on one line.
10013 (vhdl-remove-trailing-spaces-region):
10014 New, split from vhdl-remove-trailing-spaces.
10015 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10016 Respect vhdl-beautify-options.
10017 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10018 (vhdl-update-sensitivity-list): Not add with index if exists without.
10019 Not include array index with signal. Ignore keywords in comments.
10020 (vhdl-get-visible-signals): Regexp tweaks.
10021 (vhdl-template-component-inst): Handle empty library.
10022 (vhdl-template-type): Add template for 'enum' type.
10023 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10024 Use vhdl-replace-string.
10025 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10026 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10027 (vhdl-speedbar-initialize): Update for above name change.
10028 (vhdl-compose-wire-components): Fix in handling of constants.
10029 (vhdl-error-regexp-emacs-alist): New variable.
10030 (vhdl-error-regexp-add-emacs): New function;
10031 adds support for new compile.el (Emacs 22+)
10032 (vhdl-generate-makefile-1): Change target order for single lib. units.
10033 Allow use of absolute file names.
10034
9df4ec5e
LL
100352013-05-16 Leo Liu <sdl.web@gmail.com>
10036
10037 * simple.el (prog-indent-sexp): Indent enclosing defun.
10038
f5ba00a6
GM
100392013-05-15 Glenn Morris <rgm@gnu.org>
10040
ed8be7ff
GM
10041 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10042 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10043 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10044 (whitespace-highlight): Move to whitespace group.
10045
10046 * comint.el (comint-source):
10047 * pcmpl-linux.el (pcmpl-linux):
10048 * shell.el (shell-faces):
10049 * eshell/esh-opt.el (eshell-opt):
10050 * international/ccl.el (ccl): Remove empty custom groups.
10051
10052 * completion.el (dynamic-completion-mode):
10053 * jit-lock.el (jit-lock-debug-mode):
10054 * minibuffer.el (completion-in-region-mode):
10055 * type-break.el (type-break-mode-line-message-mode)
10056 (type-break-query-mode):
10057 * emulation/tpu-edt.el (tpu-edt-mode):
10058 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10059 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10060 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10061
10062 * term/xterm.el (xterm): Change parent group to terminals.
10063
10064 * master.el (master): Remove empty custom group.
10065 (master-mode): Remove unused :group argument.
10066 * textmodes/refill.el (refill): Remove empty custom group.
10067 (refill-mode): Remove unused :group argument.
10068
10069 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10070
82a7c41b
GM
10071 * cus-dep.el: Provide a feature.
10072 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10073 Don't mistakenly ignore files whose basenames match a basename
10074 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10075 Add a fallback method for getting :group.
f5ba00a6 10076
6d65486d
JL
100772013-05-15 Juri Linkov <juri@jurta.org>
10078
da547b32
JL
10079 * isearch.el (isearch-char-by-name): Rename from
10080 `isearch-insert-char-by-name'. Doc fix.
10081 (isearch-forward): Mention `isearch-char-by-name' in
10082 the docstring. (Bug#13348)
10083
6d65486d
JL
10084 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10085 `exit-minibuffer' instead of
10086 `isearch-nonincremental-exit-minibuffer'.
10087 (isearch-edit-string): Remove mention of
10088 `isearch-nonincremental-exit-minibuffer' from docstring.
10089 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10090 (isearch-forward-exit-minibuffer)
10091 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10092
c9990474
SM
100932013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10094
6e911150
SM
10095 * loadup.el: Just use unversioned DOC.
10096
c9990474
SM
10097 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10098 literals as extending to EOB.
10099 (nxml-last-fontify-end): Remove unused variable.
10100 (nxml-after-change1): Use with-silent-modifications.
10101 (nxml-extend-after-change-region): Simplify.
10102 (nxml-extend-after-change-region1): Remove function.
10103 (nxml-after-change1): Don't adjust for dependent regions.
10104 (nxml-fontify-matcher): Simplify.
10105 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10106 (xmltok-add-dependent): Remove function.
10107 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10108 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10109 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10110 unclosed <[[, <?, comment, and other literals as extending to EOB.
10111 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10112 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10113 Remove functions.
10114 (rng-do-some-validation-1): Don't mark dependent regions.
10115 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10116 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10117 (nxml-clear-dependent-regions): Remove functions.
10118 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10119 (nxml-ensure-scan-up-to-date):
10120 Don't clear&mark dependent regions.
10121
e3772e98
LL
101222013-05-15 Leo Liu <sdl.web@gmail.com>
10123
c9990474
SM
10124 * progmodes/octave.el (octave-goto-function-definition):
10125 Improve and fix callers.
e3772e98 10126
5ac2eb34
SM
101272013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10128
c46c57b0
SM
10129 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10130 the setter (bug#14387).
10131
5ac2eb34
SM
10132 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10133 surrounding group (bug#14402).
10134
180ed218
JL
101352013-05-14 Juri Linkov <juri@jurta.org>
10136
10137 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10138 (Bug#14390)
10139
0ac0fecb
GM
101402013-05-14 Glenn Morris <rgm@gnu.org>
10141
10142 * progmodes/f90.el (f90-imenu-generic-expression):
10143 Fix typo in 2013-05-08 change. (Bug#14402)
10144
2e78e6a7
JPG
101452013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10146
5ac2eb34
SM
10147 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10148 Remove signals for which replies are never received.
2e78e6a7 10149
53267cca
JPG
101502013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10151
10152 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10153 (gdb-handler-alist, gdb-handler-number): Remove variables.
10154 (gdb-handler-list): New variable.
10155 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10156 (gdb-pending-handler-p, gdb-handle-reply)
10157 (gdb-remove-all-pending-triggers): New functions.
10158 (gdb-discard-unordered-replies): New defcustom.
10159 (gdb-handler): New defstruct.
10160 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10161 instead of gdb-pending-triggers. Update docstring.
10162 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10163 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10164 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10165 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10166 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10167 (gdb-frame-handler): Pending triggers are now automatically managed.
10168 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10169 Remove argument.
10170 (gdb-input): Automatically handles pending triggers. Update docstring.
10171 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10172 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10173 Update comments.
10174 (gdb-done-or-error): Now use gdb-handle-reply.
10175
d04ce803
JPG
101762013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10177
10178 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10179 gdb-debug-log.
10180
0114073a
GM
101812013-05-14 Glenn Morris <rgm@gnu.org>
10182
10183 * subr.el (user-emacs-directory-warning): New option.
10184 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10185
4d25fd7e
LL
101862013-05-14 Leo Liu <sdl.web@gmail.com>
10187
10188 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10189 during redisplay.
10190 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10191 (octave-font-lock-texinfo-comment): Fix invalid search bound
10192 error: wrong side of point.
4d25fd7e 10193
27c8b6eb
GM
101942013-05-14 Glenn Morris <rgm@gnu.org>
10195
61aaeb01
GM
10196 * progmodes/flymake.el (flymake-xml-program): New option.
10197 (flymake-xml-init): Use it.
10198
5bf90bc5
GM
10199 * term/xterm.el: Provide a feature.
10200
10201 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10202
f4c7dfd2
GM
102032013-05-13 Glenn Morris <rgm@gnu.org>
10204
10205 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10206 Add compat aliases as a hack workaround. (Bug#14384)
10207
2aeb3a1d
LL
102082013-05-13 Leo Liu <sdl.web@gmail.com>
10209
b0e069c2
LL
10210 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10211 ###, and %!.
f5a9432f
LL
10212 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10213 C-M-q.
b0e069c2
LL
10214 (octave-comment-start-skip): Include %!.
10215 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10216
30ea8374
LL
102172013-05-12 Leo Liu <sdl.web@gmail.com>
10218
10219 * progmodes/octave.el (inferior-octave-startup): Store the value
10220 of __octave_srcdir__ for octave-source-directories.
10221 (inferior-octave-check-process): New function refactored out of
10222 inferior-octave-send-list-and-digest.
10223 (octave-source-directories)
10224 (octave-find-definition-filename-function): New variables.
10225 (octave-source-directories)
10226 (octave-find-definition-default-filename): New functions.
10227 (octave-find-definition): Improve to find functions implemented in C++.
10228
472a3834
GM
102292013-05-12 Glenn Morris <rgm@gnu.org>
10230
10231 * calendar/diary-lib.el (diary-outlook-format-1):
10232 Don't include dayname in the output. (Bug#14349)
10233
3191b52f
GM
102342013-05-11 Glenn Morris <rgm@gnu.org>
10235
0060ac73
GM
10236 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10237
3191b52f
GM
10238 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10239 Treat cc-provide like provide.
10240
e065ba74
KR
102412013-05-11 Kevin Ryde <user42@zip.com.au>
10242
10243 * cus-dep.el (custom-make-dependencies):
10244 Use generated-autoload-load-name for the sake of files such
10245 such cedet/semantic/bovine/c.el, where the base file name
10246 is not in load-path. (Bug#5277)
10247
36f84c37
GM
102482013-05-11 Glenn Morris <rgm@gnu.org>
10249
10250 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10251 Provide features.
10252
c8730c3a
LL
102532013-05-11 Leo Liu <sdl.web@gmail.com>
10254
10255 * progmodes/octave.el (octave-indent-comment): Improve.
10256 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10257 (octave-eldoc-function-signatures, octave-eldoc-function):
10258 New functions.
c8730c3a
LL
10259 (octave-mode, inferior-octave-mode): Add eldoc support.
10260
212e29f2
RS
102612013-05-11 Richard Stallman <rms@gnu.org>
10262
10263 * epa.el (epa-decrypt-file): Take output file name as argument
10264 and read it using `interactive'.
10265
083fe0d7
LL
102662013-05-11 Leo Liu <sdl.web@gmail.com>
10267
10268 * progmodes/octave.el (octave-beginning-of-line)
10269 (octave-end-of-line): Check before using up-list because it jumps
10270 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10271 (octave-indent-comment): New function.
10272 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10273 (octave-begin-keywords, octave-end-keywords)
10274 (octave-reserved-words, octave-smie-bnf-table)
10275 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10276
8582e4c4
GM
102772013-05-11 Glenn Morris <rgm@gnu.org>
10278
f20def1f
GM
10279 * faces.el (internal-face-x-get-resource):
10280 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10281 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10282 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10283 Fix declarations.
f20def1f 10284
445f95e2
GM
10285 * calc/calc-menu.el: Make it loadable in isolation.
10286
10287 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10288 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10289 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10290 (eudc-bbdb-query-internal): Require 'bbdb.
10291
99fb2756
GM
10292 * lpr.el (lpr-headers-switches):
10293 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10294
10295 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10296
0da7ad96
GM
10297 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10298
8582e4c4
GM
10299 * term.el (term-set-escape-char): Make it idempotent.
10300
f71c50d0
LL
103012013-05-10 Leo Liu <sdl.web@gmail.com>
10302
5ac2eb34
SM
10303 * progmodes/octave.el (inferior-octave-completion-table):
10304 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10305 completion due to bug#11906.
10306 (octave-beginning-of-defun): Re-write to be more general.
10307
d5837773
GM
103082013-05-10 Glenn Morris <rgm@gnu.org>
10309
10310 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10311
027c0f75
SM
103122013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10313
10314 * comint.el (comint-redirect-send-command-to-process): Use :around
10315 rather than :override for comint-redirect-filter.
10316 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10317 Call it instead of comint-redirect-original-filter-function (which
10318 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10319
4465bfb4
JD
103202013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10321
10322 * frame.el (display-monitor-attributes-list): Add NS case.
10323 (ns-display-monitor-attributes-list): Declare.
10324
2d809ffa 103252013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10326
10327 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10328
e54eeb9b
GM
103292013-05-09 Glenn Morris <rgm@gnu.org>
10330
56cd351d
GM
10331 * international/fontset.el (vertical-centering-font-regexp):
10332 Set standard-value.
10333
d84b6108
GM
10334 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10335
a931698a
GM
10336 * bookmark.el (bookmark-search-delay):
10337 * cus-start.el (vertical-centering-font-regexp):
10338 * ps-mule.el (ps-mule-font-info-database-default):
10339 * ps-print.el (ps-default-fg, ps-default-bg):
10340 * type-break.el (type-break-good-break-interval):
10341 * whitespace.el (whitespace-indentation-regexp)
10342 (whitespace-space-after-tab-regexp):
10343 * emacs-lisp/testcover.el (testcover-1value-functions)
10344 (testcover-noreturn-functions, testcover-progn-functions)
10345 (testcover-prog1-functions):
10346 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10347 * eshell/em-glob.el (eshell-glob-translate-alist):
10348 * play/tetris.el (tetris-tty-colors):
10349 * progmodes/cpp.el (cpp-face-default-list):
10350 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10351 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10352 (idlwave-help-browser-generic-args):
10353 * progmodes/make-mode.el (makefile-special-targets-list):
10354 * progmodes/python.el (python-shell-virtualenv-path):
10355 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10356 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10357 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10358 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10359 * textmodes/reftex-vars.el (reftex-format-label-function):
10360 * textmodes/remember.el (remember-diary-file): Fix custom types.
10361
e54eeb9b
GM
10362 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10363 Add :version.
10364
455851dd
LL
103652013-05-09 Leo Liu <sdl.web@gmail.com>
10366
10367 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10368 Restore file completion. (Bug#14300)
455851dd
LL
10369 (inferior-octave-startup): Fix incorrect highlighting for the
10370 first prompt.
10371
a9e4425b
SM
103722013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10373
10374 * progmodes/ruby-mode.el: First cut at SMIE support.
10375 (ruby-use-smie): New var.
10376 (ruby-smie-grammar): New constant.
10377 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10378 (ruby-smie--forward-token, ruby-smie--backward-token)
10379 (ruby-smie-rules): New functions.
10380 (ruby-mode-variables): Setup SMIE if applicable.
10381
060ca408
EZ
103822013-05-08 Eli Zaretskii <eliz@gnu.org>
10383
10384 * simple.el (line-move-visual): Signal beginning/end of buffer
10385 only if vertical-motion moved less than it was requested. Avoids
10386 silly incorrect error messages when there are display strings with
10387 multiple newlines at EOL.
10388
1d5963cc
SM
103892013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10390
10391 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10392 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10393 (prolog-char-quote-workaround):
10394 * progmodes/cperl-mode.el (cperl-under-as-char):
10395 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10396 Mark as obsolete.
10397 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10398 their declaration.
10399 (vhdl-mode-syntax-table-init): Remove.
10400
c9990474
SM
10401 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10402 last change.
1d5963cc
SM
10403
10404 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10405 syntax for "_".
10406 (ld-script-font-lock-keywords):
10407 Change regexps to use things like \_< and \_>.
10408
10409 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10410 Change all regexps to use things like \_< and \_>.
10411
10412 * progmodes/autoconf.el (autoconf-definition-regexp)
10413 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10414 Handle a _ with symbol syntax.
10415 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10416
c9990474
SM
10417 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10418 Consolidate declaration.
1d5963cc
SM
10419 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10420 the declaration.
10421 (ada-create-syntax-table): Remove.
10422 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10423 already has the right syntax nowadays.
10424 (ada-goto-next-word): Don't change the syntax of "_".
10425
10426 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10427 with-wrapper-hook.
10428
72d3cfca
SS
104292013-05-08 Sam Steingold <sds@gnu.org>
10430
10431 * thingatpt.el (thing-at-point): Accept optional second argument
10432 NO-PROPERTIES to strip the text properties from the return value.
10433 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10434 to `thing-at-point' instead of stripping the properties ourselves.
10435 Also, when `thing-at-point' fails to find a url, prepend "http://"
10436 to the filename at point on the assumption that the user is
10437 pointing at something like gnu.org/gnu.
10438
5cb15713
JB
104392013-05-08 Juanma Barranquero <lekktu@gmail.com>
10440
10441 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10442 * faces.el (crm-separator):
10443 Silence byte-compiler.
10444
10445 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10446 (tool-bar-map): Remove unneeded defvars.
10447
ea78b95b
LL
104482013-05-08 Leo Liu <sdl.web@gmail.com>
10449
10450 Re-work a fix for bug#10994 based on Le Wang's patch.
10451 * ido.el (ido-remove-consecutive-dups): New helper.
10452 (ido-completing-read): Use it.
10453 (ido-chop): Revert fix for bug#10994.
10454
dc7466df
AS
104552013-05-08 Adam Spiers <emacs@adamspiers.org>
10456
10457 * cus-edit.el (custom-save-variables):
10458 Pretty-print long values. (Bug#14187)
10459
9ecf672a
GM
104602013-05-08 Glenn Morris <rgm@gnu.org>
10461
10462 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10463 (m4-mode-syntax-table): Init in the defvar.
10464 (m4-mode-abbrev-table): Let define-derived-mode define it.
10465
3f555be8
TT
104662013-05-08 Tom Tromey <tromey@redhat.com>
10467
10468 * progmodes/m4-mode.el (m4-mode-syntax-table):
10469 Do not treat "_" as word constituent. (Bug#14167)
10470
7cc8ae06
GM
104712013-05-07 Glenn Morris <rgm@gnu.org>
10472
4f58bc06
GM
10473 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10474 Remove explicit eshell-isearch-cancel-map.
10475
7cc8ae06
GM
10476 * progmodes/f90.el (f90-smart-end-names): New option.
10477 (f90-smart-end): Doc fix.
10478 (f90-end-block-optional-name): New constant.
10479 (f90-block-match): Respect f90-smart-end-names.
10480
ceb57e59
SM
104812013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10482
10483 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10484 about implicit semi-colons (bug#14218).
10485
4e3f9230
YM
104862013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10487
10488 * frame.el (display-monitor-attributes-list)
10489 (frame-monitor-attributes): New functions.
10490
203a5572
LL
104912013-05-06 Leo Liu <sdl.web@gmail.com>
10492
10493 * progmodes/octave.el (octave-syntax-propertize-function): Change
10494 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10495 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10496 (octave-completion-at-point): Rename from
203a5572
LL
10497 octave-completion-at-point-function.
10498 (inferior-octave-directory-tracker): Robustify.
10499 (octave-text-functions): Remove and fix its uses. No such things
10500 any more.
10501
ee6cff99
SM
105022013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10503
10504 * emacs-lisp/trace.el (trace--display-buffer): New function.
10505 (trace-make-advice): Use it.
10506
32985194
JL
105072013-05-06 Juri Linkov <juri@jurta.org>
10508
10509 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10510 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10511 Doc fix.
10512 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10513 in the help string. (Bug#12985)
10514
a1c700de
KD
105152013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10516
10517 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10518
c67c0839
SM
105192013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10520
323885fd
SM
10521 * progmodes/perl-mode.el: Add support for here documents.
10522 (perl-syntax-propertize-function): Match here-doc markers.
10523 (perl-syntax-propertize-special-constructs): Find their end.
10524 (perl-imenu-generic-expression): Use [:alnum:].
10525
c67c0839
SM
10526 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10527 (advice--add-function): Refresh the advice if already present
10528 (bug#14317).
10529
d491e7a8
IA
105302013-05-06 Ivan Andrus <darthandrus@gmail.com>
10531
10532 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10533
ddf9925e
GM
105342013-05-06 Glenn Morris <rgm@gnu.org>
10535
7cc3af27
GM
10536 * w32-fns.el (w32-charset-info-alist): Declare.
10537
16e343d6
GM
10538 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10539 of its defcustom properties.
10540 (eshell-cmpl-initialize): No need to load pcomplete.
10541
7d889a47
GM
10542 * generic-x.el: No need to require comint when compiling.
10543
ddf9925e
GM
10544 * net/eudc-export.el: Make it loadable without bbdb.
10545 (top-level): Use require rather than load-library.
10546 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10547 (eudc-batch-export-records-to-bbdb)
10548 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10549 Require bbdb.
10550
1e2c18df
SM
105512013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10552
10553 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10554 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10555 some tweaks, instead.
10556
02502a5f
LL
105572013-05-05 Leo Liu <sdl.web@gmail.com>
10558
10559 * progmodes/octave.el (octave-font-lock-keywords)
10560 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10561 (inferior-octave-send-list-and-digest): Improve error message.
10562 (octave-mode, inferior-octave-mode): Use setq-local.
10563 (octave-help): Set info-lookup-mode.
10564
0dc04f42
RS
105652013-05-05 Richard Stallman <rms@gnu.org>
10566
6c54491c
RS
10567 * vc/compare-w.el (compare-windows-whitespace):
10568 Treat no-break space as whitespace.
10569
0dc04f42
RS
10570 * mail/rmailsum.el (rmail-summary-rmail-update):
10571 Detect empty summary and don't change selected message.
10572 (rmail-summary-goto-msg): Likewise.
10573
df8f35df
RS
10574 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10575 Doc fixes, rename args.
10576
5356e1a3
AM
105772013-05-05 Alan Mackenzie <acm@muc.de>
10578
10579 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10580
d44014cb
JL
105812013-05-05 Juri Linkov <juri@jurta.org>
10582
10583 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10584 to not add the length of the summary segment to the return value.
10585 (Bug#14125)
10586
c129b51f
LL
105872013-05-05 Leo Liu <sdl.web@gmail.com>
10588
10589 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10590 (inferior-octave-output-filter): Remove.
10591 (octave-send-region, inferior-octave-startup): Fix callers.
10592 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10593 (octave-binary-file-extensions): New user variable.
10594 (octave-find-definition): Confirm if opening binary files.
10595 (octave-help-file): Use octave-find-definition to get the binary
10596 confirmation.
10597 (octave-help): Adjust for octave-help-file change.
10598
aa7dab97
SM
105992013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10600
10601 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10602 Merge the two entries that handle function definitions.
10603 (pascal--syntax-propertize): New const.
10604 (pascal-mode): Use it. Use setq-local.
10605
fd3a9a6b
GM
106062013-05-04 Glenn Morris <rgm@gnu.org>
10607
10608 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10609 (diary-from-outlook): Respect diary-from-outlook-function.
10610
30c7e542
SM
106112013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10612
10613 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10614 Move the declaration from C.
10615 (read-minibuffer, eval-minibuffer): Move from C.
10616 (completion-setup-function): Avoid minibuffer-completion-contents.
10617
b54f978b
LL
106182013-05-03 Leo Liu <sdl.web@gmail.com>
10619
10620 * progmodes/octave.el (octave-font-lock-keywords): Do not
10621 dehighlight 'end' in comments or strings.
30c7e542
SM
10622 (octave-completing-read, octave-goto-function-definition):
10623 New helpers.
d4d0f9b3
LL
10624 (octave-help-buffer): New user variable.
10625 (octave-help-file, octave-help-function): New button types.
10626 (octave-help): New command and bind it to C-h ;.
10627 (octave-find-definition): New command and bind it to M-.
d74a1581 10628 (user-error): Alias to error if not defined.
b54f978b 10629
27135018
LL
106302013-05-02 Leo Liu <sdl.web@gmail.com>
10631
10632 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10633 for \. (bug#14332)
10634 (octave-font-lock-keywords): Include [ and {.
10635
0d634d3a
LL
106362013-05-02 Leo Liu <sdl.web@gmail.com>
10637
10638 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10639 (inferior-octave): Remove calling comint-mode and return the buffer.
10640 (inferior-octave-startup): Cosmetic changes.
10641
b4c8295e
LL
106422013-05-02 Leo Liu <sdl.web@gmail.com>
10643
30c7e542
SM
10644 * progmodes/octave.el (octave-syntax-propertize-function):
10645 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10646
f12ad6ec
GM
106472013-05-02 Glenn Morris <rgm@gnu.org>
10648
10649 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10650 * desktop.el (vc-dir-mode): Just autoload it here.
10651
30cac1e0
AM
106522013-05-02 Alan Mackenzie <acm@muc.de>
10653
10654 Eliminate variable c-standard-font-lock-fontify-region-function.
10655 * progmodes/cc-mode.el
10656 (c-standard-font-lock-fontify-region-function): Remove.
10657 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10658
d8ef28b1
LL
106592013-05-01 Leo Liu <sdl.web@gmail.com>
10660
2640d52e 10661 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10662 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10663 variables were removed from Octave in 2007.
d8ef28b1
LL
10664 (inferior-octave-startup): Fix uses.
10665 (comint-line-beginning-position): Remove compatibility code for
10666 emacs 21.
10667
ac63ec89
JL
106682013-05-01 Juri Linkov <juri@jurta.org>
10669
10670 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10671
9e9be37c
JL
106722013-05-01 Juri Linkov <juri@jurta.org>
10673
10674 * comint.el (comint-previous-matching-input): Don't print message
10675 "History item: %d" when `isearch-mode' is active.
10676 (comint-history-isearch-message): Print message "History item: %d"
10677 when `comint-input-ring-index' is not empty and this function is
10678 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10679
9b92c13b
LL
106802013-05-01 Leo Liu <sdl.web@gmail.com>
10681
10682 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10683 definitions. Use completion-at-point to insert keywords.
10684 (octave-abbrev-start): Remove.
10685 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10686
b12d33d7
LL
106872013-04-30 Leo Liu <sdl.web@gmail.com>
10688
10689 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10690 change.
10691
3d1c39fa
AM
106922013-04-30 Alan Mackenzie <acm@muc.de>
10693
10694 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10695 * progmodes/cc-engine.el (c-back-over-member-initializers):
10696 new function.
3d1c39fa
AM
10697 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10698 (most) member init lists.
10699
5147fc17
RS
107002013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10701
10702 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10703 variable.
10704
5b78d7fc
LL
107052013-04-30 Leo Liu <sdl.web@gmail.com>
10706
10707 * progmodes/octave.el (octave-variables): Remove. No builtin
10708 variables any more. All converted to functions.
10709 (octave-font-lock-keywords, octave-completion-at-point-function):
10710 Fix uses.
10711 (octave-font-lock-texinfo-comment): New user variable.
10712 (octave-texinfo-font-lock-keywords): New variable for texinfo
10713 comment block.
10714 (octave-function-comment-block): New face.
10715 (octave-font-lock-texinfo-comment): New function.
10716 (octave-mode): Font lock texinfo comment block.
10717
38d8527b
LL
107182013-04-29 Leo Liu <sdl.web@gmail.com>
10719
10720 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10721 indexing expression.
10722 (octave-continuation-string): Do not use \.
10723 (inferior-octave-complete-impossible): Remove.
10724 (inferior-octave-completion-table)
10725 (inferior-octave-completion-at-point): Remove its uses.
10726 (inferior-octave-startup): completion_matches was introduced to
10727 Octave in 1996 so safe to assume it.
10728 (octave-function-file-comment): Improve to follow how Octave does it.
10729 (octave-update-function-file-comment): Tweak.
10730
2ec12cb0
LL
107312013-04-29 Leo Liu <sdl.web@gmail.com>
10732
10733 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10734 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10735 (octave-function-file-comment): Fix typo.
10736 (octave-sync-function-file-names): Use read-char-choice.
10737
6eaed048
JB
107382013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10739
10740 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10741 to t for the less important warnings.
10742
3ffa2d4f
DH
107432013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10744
10745 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10746
685c9501
GM
107472013-04-27 Glenn Morris <rgm@gnu.org>
10748
10749 * vc/log-view.el (log-view-current-entry):
10750 Treat "---" separator lines as part of the following rev. (Bug#14169)
10751
0208ede7
JL
107522013-04-27 Juri Linkov <juri@jurta.org>
10753
10754 * subr.el (read-number): Doc fix about using it by interactive
10755 code letter `n'. (Bug#14254)
10756
5db9dace
JL
107572013-04-27 Juri Linkov <juri@jurta.org>
10758
10759 * desktop.el (desktop-auto-save-timeout): New option.
10760 (desktop-file-checksum): New variable.
10761 (desktop-save): Add optional arg `auto-save' and don't auto-save
10762 if nothing changed.
10763 (desktop-auto-save-timer): New variable.
10764 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10765 (after-init-hook): Call `desktop-auto-save-set-timer'.
10766 Suggested by Reuben Thomas <rrt@sc3d.org> in
10767 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10768
b7260dd4
LL
107692013-04-27 Leo Liu <sdl.web@gmail.com>
10770
10771 * progmodes/octave.el (octave-function-file-p)
10772 (octave-skip-comment-forward, octave-function-file-comment)
10773 (octave-update-function-file-comment): New functions.
10774 (octave-mode-map): Bind C-c ; to
10775 octave-update-function-file-comment.
10776 (octave-mode-menu): Add octave-update-function-file-comment.
10777 (octave-mode, inferior-octave-mode): Fix doc-string.
10778 (octave-insert-defun): Conform to Octave's coding convention.
10779 (Bug#14285)
10780
10781 * files.el (basic-save-buffer): Don't let errors in
10782 before-save-hook prevent saving buffer.
10783
c46da669
RW
107842013-04-20 Roland Winkler <winkler@gnu.org>
10785
10786 * faces.el (read-face-name): Use completing-read if arg multiple
10787 is nil.
10788
a81ee1eb
IL
107892013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10790
10791 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10792 displayed, move point to after the totals line.
10793 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10794 for the details.
10795
4fac34ce
SM
107962013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10797
10798 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10799 Add current dir to the load-path.
10800 (package-generate-autoloads): Don't rely on
10801 autoload-ensure-default-file.
10802
f6bfc063
RT
108032013-04-26 Reuben Thomas <rrt@sc3d.org>
10804
d40ab5cf
BG
10805 * textmodes/remember.el (remember-store-in-files): Document that
10806 the file name format is passed to `format-time-string'.
f6bfc063 10807
e55d3b04
LL
108082013-04-26 Leo Liu <sdl.web@gmail.com>
10809
10810 * progmodes/octave.el (octave-sync-function-file-names): New function.
10811 (octave-mode): Use it in before-save-hook.
10812
e53052d3
SM
108132013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10814
140ef50c
SM
10815 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10816 (bug#14274).
10817
e53052d3
SM
10818 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10819 \n and comment, even if it's not an implicit ; (bug#14218).
10820
af80458d 108212013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10822
10823 * subr.el (read-number): Once more use `read' rather than
10824 `string-to-number', to trap non-numeric input. (Bug#14254)
10825
af80458d 108262013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10827
10828 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10829 Use `syntax-multiline' text property consistently instead of
8a621d53 10830 `font-lock-multiline'. (Bug#14237)
70203c2e 10831
e6ea1f6c
GM
108322013-04-26 Glenn Morris <rgm@gnu.org>
10833
10834 * emacs-lisp/shadow.el (list-load-path-shadows):
10835 No longer necessary to check for duplicate simple.el, since
10836 2012-07-07 change to init_lread to not include installation lisp
10837 directories in load-path when running uninstalled. (Bug#14270)
10838
070ccca4
LL
108392013-04-26 Leo Liu <sdl.web@gmail.com>
10840
10841 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10842 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10843 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10844 octave-in-string-or-comment-p.
10845 (octave-in-comment-p, octave-in-string-p)
10846 (octave-in-string-or-comment-p): Replace defsubst with defun.
10847
9d1c5fb6
PE
108482013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10849
10850 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10851
c034abda
BG
108522013-04-25 Bastien Guerry <bzg@gnu.org>
10853
10854 * textmodes/remember.el (remember-data-directory)
10855 (remember-directory-file-name-format): Fix custom types.
10856
584ea277
LL
108572013-04-25 Leo Liu <sdl.web@gmail.com>
10858
e53052d3
SM
10859 * progmodes/octave.el (octave-completion-at-point-function):
10860 Make use of inferior octave process.
584ea277
LL
10861 (octave-initialize-completions): Remove.
10862 (inferior-octave-completion-table): New function.
10863 (inferior-octave-completion-at-point): Use it.
10864 (octave-completion-alist): Remove.
10865
1693b06a
SM
108662013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10867
10868 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10869 (opascal-mode-syntax-table): New var.
10870 (opascal-literal-kind, opascal-is-literal-end)
10871 (opascal-literal-token-at): Rewrite.
10872 (opascal--literal-start-re, opascal-font-lock-keywords)
10873 (opascal--syntax-propertize): New constants.
10874 (opascal-font-lock-defaults): Adjust.
10875 (opascal-mode): Use them. Set comment-<foo> variables as well.
10876 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10877 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10878 (delphi-other-face, opascal-other-face): Remove face variables.
10879 (opascal-save-state): Remove macro.
10880 (opascal-fontifying-progress-step): Remove constant.
10881 (opascal--ignore-changes): Remove var.
10882 (opascal-set-token-property, opascal-parse-next-literal)
10883 (opascal-is-stable-literal, opascal-complete-literal)
10884 (opascal-is-literal-start, opascal-face-of)
10885 (opascal-parse-region, opascal-parse-region-until-stable)
10886 (opascal-fontify-region, opascal-after-change)
10887 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10888 (opascal-debug-parse-region, opascal-debug-parse-window)
10889 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10890 (opascal-debug-fontify-buffer): Remove.
10891 (opascal-debug-mode-map): Adjust accordingly.
10892
be64c05d
LL
108932013-04-25 Leo Liu <sdl.web@gmail.com>
10894
10895 Merge octave-mod.el and octave-inf.el into octave.el with some
10896 cleanups.
10897 * progmodes/octave.el: New file renamed from octave-mod.el.
10898 * progmodes/octave-inf.el: Merged into octave.el.
10899 * progmodes/octave-mod.el: Renamed to octave.el.
10900
d79d37bd
TH
109012013-04-25 Tassilo Horn <tsdh@gnu.org>
10902
10903 * textmodes/reftex-vars.el
10904 (reftex-label-ignored-macros-and-environments): New defcustom.
10905
10906 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10907
ced3fc5d
SM
109082013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10909
10910 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10911 (smie-indent-keyword): Improve the check to ensure that the next
10912 comment is really on the same line.
10913 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10914
10915 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10916 semi-colons if the line is not otherwise empty (bug#14218).
10917
1c141dad
GM
109182013-04-25 Glenn Morris <rgm@gnu.org>
10919
10920 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10921
5058062a
SM
109222013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10923
10924 * progmodes/opascal.el (opascal-set-token-property): Rename from
10925 opascal-set-text-properties and only set `token' (bug#14134).
10926 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10927 (opascal-literal-text-properties): Remove.
10928 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10929 Adjust callers.
10930
5db9dace 109312013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10932
10933 * textmodes/remember.el (remember-handler-functions): Add an
10934 option for a new handler `remember-store-in-files'.
10935 (remember-data-directory, remember-directory-file-name-format):
10936 New options.
10937 (remember-store-in-files): New function to store remember notes
10938 as separate files within a directory.
10939
4391916c
MH
109402013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10941
10942 * progmodes/compile.el (compilation-next-error-function):
10943 Pass "formats" to compilation-find-file (bug#11777).
10944
bb7cdf58
GM
109452013-04-24 Glenn Morris <rgm@gnu.org>
10946
3b8fe752 10947 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10948 * vc/vc-hg.el (vc-hg-print-log):
10949 * vc/vc-svn.el (vc-svn-print-log):
10950 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10951
bb7cdf58
GM
10952 * vc/vc-bzr.el (vc-bzr-print-log):
10953 * vc/vc-cvs.el (vc-cvs-print-log):
10954 * vc/vc-git.el (vc-git-print-log):
10955 * vc/vc-hg.el (vc-hg-print-log):
10956 * vc/vc-mtn.el (vc-mtn-print-log):
10957 * vc/vc-rcs.el (vc-rcs-print-log):
10958 * vc/vc-sccs.el (vc-sccs-print-log):
10959 * vc/vc-svn.el (vc-svn-print-log):
10960 * vc/vc.el (vc-print-log-internal): Doc fixes.
10961
b46a056e
GM
109622013-04-23 Glenn Morris <rgm@gnu.org>
10963
10964 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10965 Remove venerable code attempting to avoid substitute-command-keys.
10966
0aecf718
TH
109672013-04-23 Tassilo Horn <tsdh@gnu.org>
10968
4391916c
MH
10969 * textmodes/reftex-vars.el (reftex-label-regexps):
10970 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10971
117f94cf
SM
109722013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10973
4391916c 10974 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10975 Use lexical-binding.
10976 (jit-lock-force-redisplay): Use markers, check buffer's continued
10977 existence and beware narrowed buffers.
10978 (jit-lock-fontify-now): Adjust call accordingly.
10979
1d829c64
SM
109802013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10981
10982 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10983 to avoid misleading the user.
10984
72d548a9
LL
109852013-04-22 Leo Liu <sdl.web@gmail.com>
10986
10987 * info-look.el: Prefer latex2e.info. (Bug#14240)
10988
d0853629
MA
109892013-04-22 Michael Albinus <michael.albinus@gmx.de>
10990
10991 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10992
10993 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10994 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10995 (tramp-set-completion-function, tramp-parse-putty):
10996 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10997 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10998 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10999 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11000 (tramp-call-local-coding-command): Use `tramp-call-process'
11001 instead of `tramp-compat-call-process'.
11002
11003 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11004 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11005 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11006 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11007 (tramp-maybe-send-script): Check for Perl binary.
11008 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11009
38cc0210
DU
110102013-04-22 Daiki Ueno <ueno@gnu.org>
11011
11012 * epg.el (epg-context-pinentry-mode): New function.
11013 (epg-context-set-pinentry-mode): New function.
11014 (epg--start): Pass --pinentry-mode option to gpg command.
11015
cc641ee1
XF
110162013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11017
02d844b5 11018 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11019 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11020 `completion-at-point'. (Bug#13774)
5d4e5c31 11021
cc641ee1
XF
11022 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11023 default key binding for `describe-distribution' has been moved to
11024 `C-h C-o'. (Bug#13970)
11025
1b42ee43
GM
110262013-04-21 Glenn Morris <rgm@gnu.org>
11027
11028 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11029 Add doc strings.
11030 (vc-print-log): Clarify interactive prompt.
11031
a6d63d97
GM
110322013-04-20 Glenn Morris <rgm@gnu.org>
11033
11034 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11035 No longer include timestamp etc information.
11036
d7f5c16f
RW
110372013-04-20 Roland Winkler <winkler@gnu.org>
11038
11039 * faces.el (read-face-name): Bug fix, return just one face if arg
11040 multiple is nil. (Bug#14209)
11041
bcd7a0a4
SM
110422013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11043
11044 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11045 (remove-function): Autoload.
11046
11047 * comint.el (comint-redirect-original-filter-function): Remove.
11048 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11049 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11050 (vc-cvs-annotate-command):
bcd7a0a4
SM
11051 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11052 * progmodes/prolog.el (prolog-consult-compile):
11053 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11054 Use add/remove-function instead.
11055 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11056 (gud-tooltip-process-output, gud-tooltip-tips):
11057 Use add/remove-function instead.
11058 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11059 (scheme-interaction-mode, exit-scheme-interaction-mode):
11060 Use add/remove-function instead.
11061
11062 * vc/vc-dispatcher.el: Use lexical-binding.
11063 (vc--process-sentinel): Rename from vc-process-sentinel.
11064 Change last arg to be the code to run. Don't use vc-previous-sentinel
11065 and vc-sentinel-commands any more.
11066 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11067 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11068
e36b2d20 110692013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11070
bcd7a0a4 11071 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11072 Handle function names with a single character. (Bug#14111)
4d3268ba 11073
781b4af6 110742013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11075
11076 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11077 for subroutines defined in an eval (bug#14182).
11078
7d688336
TV
110792013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11080
11081 * bookmark.el (bookmark-completing-read): Improve handling of empty
11082 string (bug#14176).
11083
31dcede0
SM
110842013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11085
11086 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11087
adc31213
FEG
110882013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11089
11090 New faster Imenu implementation (bug#14058).
11091 * progmodes/python.el:
11092 (python-imenu-prev-index-position):
11093 (python-imenu-format-item-label-function)
11094 (python-imenu-format-parent-item-label-function)
11095 (python-imenu-format-parent-item-jump-label-function):
11096 New vars.
11097 (python-imenu-format-item-label)
11098 (python-imenu-format-parent-item-label)
11099 (python-imenu-format-parent-item-jump-label)
11100 (python-imenu--put-parent, python-imenu--build-tree)
11101 (python-imenu-create-index, python-imenu-create-flat-index)
11102 (python-util-popn): New functions.
11103 (python-mode): Set imenu-create-index-function to
11104 python-imenu-create-index.
11105
cdca8255
SM
111062013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11107
11108 * winner.el (winner-active-region): Use region-active-p, activate-mark
11109 and deactivate-mark (bug#14225).
11110
11111 * simple.el (deactivate-mark): Don't inline it.
11112
beb42340
MA
111132013-04-18 Michael Albinus <michael.albinus@gmx.de>
11114
11115 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11116
fc7f4d7e
TH
111172013-04-18 Tassilo Horn <tsdh@gnu.org>
11118
11119 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11120 file extensions from the archive-mode entry in order to prefer
11121 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11122
29f47822
LL
111232013-04-18 Leo Liu <sdl.web@gmail.com>
11124
11125 * bindings.el (help-event-list): Add ?\?.
11126
d36ed1c8
SM
111272013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11128
11129 * subr.el (with-wrapper-hook): Declare obsolete.
11130 * simple.el (filter-buffer-substring-function): New hook.
11131 (filter-buffer-substring): Use it.
11132 (filter-buffer-substring-functions): Mark obsolete.
11133 * minibuffer.el (completion-in-region-function): New hook.
11134 (completion-in-region): Use it.
11135 (completion-in-region-functions): Mark obsolete.
11136 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11137 * abbrev.el (abbrev-expand-function): New hook.
11138 (expand-abbrev): Use it.
11139 (abbrev-expand-functions): Mark obsolete.
11140 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11141 and :filter-return.
11142
04754d36
FEG
111432013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11144
11145 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11146 and do not care about match data.
11147
dd8791e9
SM
111482013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11149
11150 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11151 completion tables when completing error conditions and
11152 `declare' arguments.
11153 (lisp-complete-symbol, field-complete): Mark as obsolete.
11154 (check-parens): Unmatched parens are user errors.
11155 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11156
ffe54a13
AM
111572013-04-17 Michal Nazarewicz <mina86@mina86.com>
11158
dd8791e9
SM
11159 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11160 command changed buffer (ie. `flyspell-pre-buffer' is not current
11161 buffer), which prevents making decisions based on invalid value of
11162 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11163 cause an error when `flyspell-pre-point' was nil after switching
11164 buffers.
11165 (flyspell-post-command-hook): No longer needs to change buffers when
11166 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11167
ec7e39f2
AM
111682013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11169
11170 * textmodes/ispell.el (ispell-add-per-file-word-list):
11171 Fix `flyspell-correct-word-before-point' error when accepting
11172 words and `coment-padding' is an integer by using
11173 `comment-normalize-vars' (Bug #14214).
11174
083850a6
FEG
111752013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11176
11177 New defun movement commands.
11178 * progmodes/python.el (python-nav--syntactically)
11179 (python-nav--forward-defun, python-nav-backward-defun)
11180 (python-nav-forward-defun): New functions.
11181
619ed6e1
FEG
111822013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11183
11184 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11185 (python-syntax-context): Use named compiler-macro for backwards
11186 compatibility with Emacs 24.x.
11187
7a1beb6c
LL
111882013-04-17 Leo Liu <sdl.web@gmail.com>
11189
11190 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11191 octave-hide-process-buffer.
11192
2d3fa3e5
SM
111932013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11194
11195 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11196 (bug#14216).
11197
7ce5be54
JPG
111982013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11199
11200 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11201 Fix adjustment of offset when receiving incomplete responses from GDB
11202 (bug#14129).
11203
351edece
SM
112042013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11205
11206 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11207 python-mode-abbrev-table.
11208 (python-skeleton-define): Adjust accordingly.
11209 (python-mode-abbrev-table): New table that inherits from it so that
11210 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11211
11212 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11213 (abbrev-symbol): Use it.
11214 (abbrev--before-point): Use it since we already handle inheritance.
11215
613f9481
LL
112162013-04-16 Leo Liu <sdl.web@gmail.com>
11217
11218 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11219 binding to info-lookup-symbol.
11220
51646b62
JB
112212013-04-16 Juanma Barranquero <lekktu@gmail.com>
11222
11223 * minibuffer.el (completion--twq-all):
11224 * term/ns-win.el (ns-initialize-window-system):
11225 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11226
efb3f01d
SM
112272013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11228
36c0a301
SM
11229 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11230 global bindings.
11231
efb3f01d
SM
11232 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11233
fb549d64
DG
112342013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11235
11236 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11237 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11238 to nil.
11239 (ruby-end-of-defun): Remove the unused arg, change the docstring
11240 to reflect that this function is only used as the value of
11241 `end-of-defun-function'.
11242 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11243 to reflect an earlier change that beginning/end-of-defun functions
11244 jump between methods in a class definition, as well as top-level
11245 functions.
11246
21e8fe2f
SM
112472013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11248
11249 * minibuffer.el (minibuffer-complete): Don't just scroll
11250 a *Completions* that's been iconified.
11251 (minibuffer-force-complete): Make sure repetitions do cycle when going
11252 through completion-in-region -> minibuffer-complete.
11253
20e527d0
AM
112542013-04-15 Alan Mackenzie <acm@muc.de>
11255
11256 Correct the placement of c-cpp-delimiters when there're #s not at
11257 col 0.
11258
11259 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11260 place a submatch around the #.
21e8fe2f
SM
11261 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11262 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11263 on the #, not BOL.
11264
dabefae5
SM
112652013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11268 (advice--member-p): New arg `name'.
11269 (advice--add-function, advice-member-p): Use it (bug#14202).
11270
85c9ab64
AM
112712013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11272
11273 Reformulate java imenu-generic-expression.
11274 The old expression contained ill formed regexps.
11275
11276 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11277 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11278 (cc-imenu-java-method-arg-regexp): New defconsts.
11279 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11280 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11281 handling of spaces in the regexp.
11282
0f821d99
AM
112832013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11284
11285 * textmodes/ispell.el (ispell-command-loop): Remove
11286 flyspell highlight of a word when ispell accepts it (bug #14178).
11287
eb922adf
MA
112882013-04-15 Michael Albinus <michael.albinus@gmx.de>
11289
11290 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11291 uses code from the previous `ange-ftp-run-real-handler'.
11292 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11293 only in case that function exist. This is needed for proper
11294 unloading of Tramp.
11295
4d9a0979
TH
112962013-04-15 Tassilo Horn <tsdh@gnu.org>
11297
11298 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11299
11300 * textmodes/reftex.el (reftex-compile-variables): Use it.
11301
a829b0dc
SM
113022013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11303
91e8293c
SM
11304 * files.el (normal-mode): Only use default major-mode if no other mode
11305 was specified.
11306
830aed4d
SM
11307 * emacs-lisp/trace.el (trace-values): New function.
11308
a829b0dc
SM
11309 * files.el: Allow : in local variables (bug#14089).
11310 (hack-local-variable-regexp): New var.
11311 (hack-local-variables-prop-line, hack-local-variables): Use it.
11312
7ae9f0fb
RW
113132013-04-13 Roland Winkler <winkler@gnu.org>
11314
11315 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11316 data before it gets modified by bibtex-beginning-of-entry.
11317
6646e848
RW
113182013-04-13 Roland Winkler <winkler@gnu.org>
11319
11320 * textmodes/bibtex.el (bibtex-url): Doc fix.
11321
113222013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11323
11324 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11325 does not visit a BibTeX file, exclude it from the list of buffers
11326 returned by bibtex-initialize.
11327
0aa3616e
SB
113282013-04-13 Stephen Berman <stephen.berman@gmx.net>
11329
11330 * window.el (split-window): Remove interactive form, since as a
11331 command this function is a special case of split-window-below.
11332 Correct doc string.
11333
011cddd6
RW
113342013-04-12 Roland Winkler <winkler@gnu.org>
11335
11336 * faces.el (read-face-name): Do not override value of arg default.
11337 Allow single faces and strings as default values. Remove those
11338 elements from return value that are not faces.
11339 (describe-face): Simplify.
11340 (face-at-point): New optional args thing and multiple so that this
11341 function can provide the same functionality previously provided by
11342 read-face-name.
11343 (make-face-bold, make-face-unbold, make-face-italic)
11344 (make-face-unitalic, make-face-bold-italic, invert-face)
11345 (modify-face, read-face-and-attribute): Use face-at-point.
11346
11347 * cus-edit.el (customize-face, customize-face-other-window)
11348 * cus-theme.el (custom-theme-add-face)
11349 * face-remap.el (buffer-face-set)
11350 * facemenu.el (facemenu-set-face): Use face-at-point.
11351
f24e0036
MA
113522013-04-12 Michael Albinus <michael.albinus@gmx.de>
11353
11354 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11355
da3cda2d
TH
113562013-04-10 Tassilo Horn <tsdh@gnu.org>
11357
11358 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11359 off leading { and trailing } from field values.
11360
15e54145
SM
113612013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11362
78ce603d
SM
11363 * emacs-lisp/timer.el (timer--check): New function.
11364 (timer--time, timer-set-function, timer-event-handler): Use it.
11365 (timer-set-idle-time): Simplify.
11366 (timer--activate): CSE.
11367 (timer-event-handler): Give more info in error message.
11368 (internal-timer-start-idle): New function, moved from C.
11369
15e54145
SM
11370 * mpc.el (mpc-proc): Add `restart' argument.
11371 (mpc-proc-cmd): Use it.
11372 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11373 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11374 less often.
11375
7144c627
MY
113762013-04-10 Masatake YAMATO <yamato@redhat.com>
11377
11378 * progmodes/sh-script.el: Implement `sh-mode' own
11379 `add-log-current-defun-function' (bug#14112).
11380 (sh-current-defun-name): New function.
11381 (sh-mode): Use the function.
11382
b39792eb
BG
113832013-04-09 Bastien Guerry <bzg@gnu.org>
11384
11385 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11386
8acdeb71
SM
113872013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11388
6fcdab68
SM
11389 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11390
8acdeb71
SM
11391 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11392 timer (bug#14156).
11393
e3e7b504
NF
113942013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11395
11396 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11397 declaration.
11398
201bb296
LL
113992013-04-07 Leo Liu <sdl.web@gmail.com>
11400
11401 * pcmpl-x.el: New file.
11402
ebb19708
DA
114032013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11404
11405 Do not set x-display-name until X connection is established.
11406 This is needed to prevent from weird situation described at
11407 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11408 * frame.el (make-frame): Set x-display-name after call to
11409 window system initialization function, not before.
11410 * term/x-win.el (x-initialize-window-system): Add optional
11411 display argument and use it.
11412 * term/w32-win.el (w32-initialize-window-system):
11413 * term/ns-win.el (ns-initialize-window-system):
11414 * term/pc-win.el (msdos-initialize-window-system):
11415 Add compatible optional display argument.
11416
33bb237a
EZ
114172013-04-06 Eli Zaretskii <eliz@gnu.org>
11418
11419 * files.el (normal-backup-enable-predicate): On MS-Windows and
11420 MS-DOS compare truenames of temporary-file-directory and of the
11421 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11422 don't fail comparison by compare-strings. Also, compare file
11423 names case-insensitively on MS-Windows and MS-DOS.
11424
134abf1f
SM
114252013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11426
11427 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11428 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11429
d695cb94
DG
114302013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11431
e3e7b504
NF
11432 * whitespace.el (whitespace-color-on, whitespace-color-off):
11433 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11434
f4ad7ea1 114352013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11436
11437 * ispell.el (ispell-set-spellchecker-params):
11438 Really set `ispell-args' for all equivs.
11439
632556e4
SM
114402013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11441
11442 * ido.el (ido-completions): Use extra elements of ido-decorations
11443 (bug#14143).
11444 (ido-decorations): Update docstring.
11445
2a417372
MA
114462013-04-05 Michael Albinus <michael.albinus@gmx.de>
11447
11448 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11449 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11450 nil during initialization, in order not to miss changes since the
11451 file was opened. (Bug#14140)
11452
fc164b0c
LL
114532013-04-05 Leo Liu <sdl.web@gmail.com>
11454
11455 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11456
0ccecc08
JB
114572013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11458
11459 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11460
51af1aa2
GM
114612013-04-04 Glenn Morris <rgm@gnu.org>
11462
11463 * electric.el (electric-pair-inhibit-predicate): Add :version.
11464
b208ebc6
SM
114652013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11466
11467 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11468 when a package is required several times (bug#14082).
11469
f3d3eaf0
RW
114702013-04-04 Roland Winkler <winkler@gnu.org>
11471
11472 * faces.el (read-face-name): Behave as promised by the docstring.
11473 Assume that arg default is a list of faces.
11474 (describe-face): Call read-face-name with list of default faces.
11475
2575da50
TV
114762013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11477
11478 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11479 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11480 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11481 the header.
11482 (bookmark-exit-hook-internal): Save even if list is empty.
11483
397703b4
YH
114842013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11485
11486 * emacs-lisp/package.el (package-pinned-packages): New var.
11487 (package--add-to-archive-contents): Obey it (bug#14118).
11488
691e26ae
AM
114892013-04-03 Alan Mackenzie <acm@muc.de>
11490
8a621d53
JB
11491 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11492 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11493
11494 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11495 parameter `not-in-delimiter'. Handle being inside comment opener.
11496 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11497 character in case we're typing a '*' after a '/'.
11498 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11499 instead by passing the parameter to c-state-pp-to-literal.
11500
11501 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11502 for elt. 7 of a parse state.
11503
4b725a70
PE
115042013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11505
11506 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11507 * international/latin1-disp.el, international/mule-util.el:
11508 * language/cyril-util.el, language/european.el, language/ind-util.el:
11509 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11510 * language/tibetan.el, language/viet-util.el:
11511 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11512
15c579f0
SM
115132013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11514
11515 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11516 (electric-pair-post-self-insert-function): Use it.
11517 (electric-pair-default-inhibit): New function, extracted from
11518 electric-pair-post-self-insert-function.
11519
a77e2924
RW
115202013-03-31 Roland Winkler <winkler@gnu.org>
11521
11522 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11523
2bd8a4a8
SM
115242013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11525
11526 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11527
8d3655be 115282013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11529
11530 Un-indent after "pass" and "return" statements (Bug#13888)
11531 * progmodes/python.el (python-indent-block-enders): New var.
11532 (python-indent-calculate-indentation): Use it.
11533
8d3655be 115342013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11535
11536 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11537 defun. Defining it as defalias could introduce too eager
11538 byte-compiler optimization. (Bug#14030)
11539
8d3655be 115402013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11541
11542 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11543
0b1619da
LL
115442013-03-30 Leo Liu <sdl.web@gmail.com>
11545
11546 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11547 (kmacro-execute-from-register): Pass the keyboard macro to
11548 kmacro-call-macro or repeating won't work correctly.
11549
0b938190
TZ
115502013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11551
11552 * progmodes/subword.el: Back to using `forward-symbol'.
11553
11554 * subr.el (forward-whitespace, forward-symbol)
11555 (forward-same-syntax): Move from thingatpt.el.
11556
35710234
LL
115572013-03-29 Leo Liu <sdl.web@gmail.com>
11558
11559 * kmacro.el (kmacro-to-register): New command.
11560 (kmacro-execute-from-register): New function.
11561 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11562
efc0bb73
SM
115632013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11564
11565 * mpc.el: Use defvar-local and setq-local.
11566 (mpc--proc-connect): Connection failures are not bugs.
11567 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11568 (mpc-volume-map): Bind to the up-events.
11569
75a2f981
TZ
115702013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11571
11572 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11573 instead of `forward-symbol'.
11574
17c781d1
SM
115752013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11576
11577 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11578 (edebug--recursive-edit): Use it.
11579 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11580 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11581
f67bfbcf
LL
115822013-03-28 Leo Liu <sdl.web@gmail.com>
11583
11584 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11585
b59f639d
EZ
115862013-03-27 Eli Zaretskii <eliz@gnu.org>
11587
11588 * facemenu.el (list-colors-callback): New defvar.
11589 (list-colors-redisplay): New function.
11590 (list-colors-display): Install list-colors-redisplay as the
11591 revert-buffer-function. (Bug#14063)
11592
f557c1b1
SM
115932013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11594
b1da2957
SM
11595 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11596 and suffixes don't overlap (bug#14061).
11597
f557c1b1
SM
11598 * case-table.el: Use lexical-binding.
11599 (case-table-get-table): New function.
11600 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11601
002668e1
TZ
116022013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11603
11604 * progmodes/subword.el: Add `superword-mode' to do word motion
11605 over symbol_words (parallels and leverages `subword-mode' which
11606 does word motion inside MixedCaseWords).
11607
73572c72
AG
116082013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11609
78b8f320 11610 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11611 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11612
69b2c07e
SM
116132013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11614
11615 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11616 Change return value to be a sexp. Delay `get-buffer' to after
11617 restoring the desktop (bug#13951).
11618
08bb5ee2
LL
116192013-03-26 Leo Liu <sdl.web@gmail.com>
11620
11621 * register.el: Move semantic tag handling back to
11622 cedet/semantic/senator.el. (Bug#14052)
11623
8d4c974e
SM
116242013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11625
11626 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11627 into the prompt either (bug#13963).
11628
b234d92c
SM
116292013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11630
11631 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11632 part of "(error-foo)".
11633
ddfa3cb4
JL
116342013-03-24 Juri Linkov <juri@jurta.org>
11635
11636 * replace.el (list-matching-lines-prefix-face): New defcustom.
11637 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11638 `occur-engine' if `face-differs-from-default-p' returns t.
11639 (occur-engine): Add `,' inside backquote construct to evaluate
11640 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11641 Pass `prefix-face' to the functions `occur-context-lines' and
11642 `occur-engine-add-prefix'.
11643 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11644 `prefix-face' and propertize the prefix with `prefix-face'.
11645 (Bug#14017)
11646
7b0e2f85
LL
116472013-03-24 Leo Liu <sdl.web@gmail.com>
11648
11649 * nxml/rng-valid.el (rng-validate-while-idle)
11650 (rng-validate-quick-while-idle): Guard against deleted buffer.
11651 (Bug#13999)
11652
11653 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11654 is the last entry in kill-buffer-hook.
11655
11656 * files.el (kill-buffer-hook): Doc fix.
11657
b3082f49
DG
116582013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11659
b234d92c
SM
11660 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11661 Make it safe-local.
bde73d27 11662
b3082f49
DG
11663 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11664
a320a2db
LL
116652013-03-23 Leo Liu <sdl.web@gmail.com>
11666
7e74b0fb
LL
11667 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11668 Remove.
11669
11670 * nxml/rng-valid.el (rng-validate-mode)
11671 (rng-after-change-function, rng-do-some-validation):
11672 * nxml/rng-maint.el (rng-validate-buffer):
11673 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11674 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11675 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11676 (nxml-extend-after-change-region): Use with-silent-modifications.
11677
a320a2db
LL
11678 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11679 timer-idle-list.
11680
11681 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11682 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11683 timer-idle-list. (Bug#13999)
11684
e38e6780
JL
116852013-03-23 Juri Linkov <juri@jurta.org>
11686
11687 * info.el (info-index-match): New face.
11688 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11689 main pattern and add text properties with the new face to matches
11690 in index entries relative to the beginning of the index entry.
11691 (Bug#14015)
11692
e8cc7880
DE
116932013-03-21 Eric Ludlam <zappo@gnu.org>
11694
11695 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11696 Inhibit read only while inserting objects.
11697
9bb0d822
TZ
116982013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11699
11700 * progmodes/cfengine.el: Update docs to mention
11701 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11702 symbol motion. Remove "_" from the word syntax.
11703
aa703640
TZ
117042013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11705
11706 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11707 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11708
afff09d0
JL
117092013-03-20 Juri Linkov <juri@jurta.org>
11710
11711 * info.el (Info-next-reference-or-link)
11712 (Info-prev-reference-or-link): New functions.
11713 (Info-next-reference, Info-prev-reference): Use them.
11714 (Info-try-follow-nearest-node): Handle footnote navigation.
11715 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11716
9a1ff164
SM
117172013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11718
11719 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11720 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11721
2667d15d
PE
117222013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11723
11724 Suppress unnecessary non-ASCII chatter during build process.
11725 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11726 (batch-skkdic-convert): Suppress most of the chatter.
11727 It's not needed so much now that machines are faster,
11728 and its non-ASCII component was confusing; see Dmitry Gutov in
11729 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11730
438b0579
LL
117312013-03-20 Leo Liu <sdl.web@gmail.com>
11732
11733 * ido.el (ido-chop): Fix bug#10994.
11734
c128ab07
DG
117352013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11736
11737 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11738 Remove vars.
9a1ff164
SM
11739 (whitespace-color-on, whitespace-color-off):
11740 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11741
0e6008c5
SM
117422013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11743
11744 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11745 remapping in mode-line.
11746 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11747
627b52b0
DG
117482013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11749
11750 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11751 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11752 (whitespace-font-lock-keywords): Change description.
11753 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11754 the constructed keywords instead.
11755 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11756
50c3a20b
LL
117572013-03-19 Leo Liu <sdl.web@gmail.com>
11758
11759 * progmodes/compile.el (compilation-display-error): New command.
11760 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11761 C-o. (Bug#13992)
11762
2aa2157b
PE
117632013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11764
11765 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11766
e477dbfa
JD
117672013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11768
11769 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11770
64ab82d1
MA
117712013-03-18 Michael Albinus <michael.albinus@gmx.de>
11772
11773 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11774
11775 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11776 * net/tramp-gvfs.el (top):
11777 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11778 (tramp-handle-shell-command): Use it.
11779 (tramp-dissect-file-name): Raise an error when hostname is a
11780 method name, and neither method nor user is specified.
11781
11782 * net/trampver.el: Update release number.
11783
33cef733
LL
117842013-03-18 Leo Liu <sdl.web@gmail.com>
11785
11786 Make sure eldoc can be turned off properly.
11787 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11788 eldoc-mode.
11789 (eldoc-display-message-p): Revert last change.
11790 (eldoc-display-message-no-interference-p)
11791 (eldoc-print-current-symbol-info): Tweak.
11792
2167b7b2
TH
117932013-03-18 Tassilo Horn <tsdh@gnu.org>
11794
11795 * doc-view.el (doc-view-new-window-function): Check the new window
11796 overlay's display property instead the char property of the
11797 buffer's first char. Use `with-selected-window' instead of
11798 `save-window-excursion' with `select-window'.
11799 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11800 display property instead the char property of the buffer's first char.
2167b7b2 11801
982efbcd
PE
118022013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11803
11804 Automate the build of ja-dic.el (Bug#13984).
11805 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11806 from the input, rather than assume that it's been done for us by the
11807 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11808 the current date into a ja-dic.el comment, as that complicates
11809 regression testing.
11810
2fcc7665
SM
118112013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11812
11813 * whitespace.el: Fix double evaluation.
11814 (whitespace-space, whitespace-hspace, whitespace-tab)
11815 (whitespace-newline, whitespace-trailing, whitespace-line)
11816 (whitespace-space-before-tab, whitespace-indentation)
11817 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11818 obsolete defvars.
11819 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11820 (whitespace-color-on): Use a single font-lock-add-keywords call.
11821 Fix double-evaluation of face variables.
11822
67c0a6e6
MA
118232013-03-17 Michael Albinus <michael.albinus@gmx.de>
11824
2fcc7665
SM
11825 * net/tramp-adb.el (tramp-adb-parse-device-names):
11826 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11827 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11828
69489f1d
LL
118292013-03-17 Leo Liu <sdl.web@gmail.com>
11830
11831 Extend eldoc to display info in the mode-line. (Bug#13978)
11832 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11833 (eldoc-mode-line-string): New variable.
11834 (eldoc-minibuffer-message): New function.
11835 (eldoc-message-function): New variable.
11836 (eldoc-message): Use it.
11837 (eldoc-display-message-p)
2fcc7665
SM
11838 (eldoc-display-message-no-interference-p):
11839 Support eldoc-post-insert-mode.
69489f1d
LL
11840
11841 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11842 (eval-expression): Run it.
11843
9c44569e
RW
118442013-03-17 Roland Winkler <winkler@gnu.org>
11845
11846 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11847 strings in the list of return values.
11848
327f1f6f
JB
118492013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11850
11851 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11852 radix before checking for HMS forms.
11853
67ed8fcd
LL
118542013-03-16 Leo Liu <sdl.web@gmail.com>
11855
11856 * progmodes/scheme.el: Add indentation and font-locking for λ.
11857 (Bug#13975)
11858
78be8b64 118592013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11860
11861 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11862 token before point (bug#13942).
11863
78be8b64 118642013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11865
95b43468 11866 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11867
98e775e6
EZ
118682013-03-16 Eli Zaretskii <eliz@gnu.org>
11869
11870 * startup.el (command-line-normalize-file-name): Fix handling of
11871 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11872 <xfq.free@gmail.com> in
11873 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11874
2edd6029
MA
118752013-03-15 Michael Albinus <michael.albinus@gmx.de>
11876
11877 Sync with Tramp 2.2.7.
11878
11879 * net/trampver.el: Update release number.
11880
d35f5864
TH
118812013-03-14 Tassilo Horn <tsdh@gnu.org>
11882
e903c210 11883 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11884 (doc-view-insert-image): Don't modify overlay associated to
11885 non-live windows, and implement horizontal centering of image in
11886 case it's smaller than the window.
11887 (doc-view-new-window-function): Force redisplay of new windows on
11888 doc-view buffers.
d35f5864 11889
1c4a85ed
KF
118902013-03-13 Karl Fogel <kfogel@red-bean.com>
11891
11892 * saveplace.el (save-place-alist-to-file): Don't sort
11893 `save-place-alist', just pretty-print it (bug#13882).
11894
85b66a21
MA
118952013-03-13 Michael Albinus <michael.albinus@gmx.de>
11896
a020afb9
JB
11897 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11898 Check whether `default-file-name-coding-system' is bound.
11899 It isn't in XEmacs.
85b66a21 11900
175600da
SM
119012013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11902
e7f7cb1a
SM
11903 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11904 backquotes for `obsolete' (bug#13929).
11905
175600da
SM
11906 * international/mule.el (find-auto-coding): Include file name in
11907 obsolescence warning (bug#13922).
11908
ca68a22e
TZ
119092013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11910
11911 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11912 for CFEngine 3-specific indentation.
11913 (cfengine3-indent-line): Use it. Fix up category regex.
11914 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11915
940e5099
SM
119162013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11917
11918 * type-break.el (type-break-file-name):
11919 * textmodes/remember.el (remember-data-file):
11920 * strokes.el (strokes-file):
11921 * shadowfile.el (shadow-initialize):
11922 * saveplace.el (save-place-file):
11923 * ps-bdf.el (bdf-cache-file):
11924 * progmodes/idlwave.el (idlwave-config-directory):
11925 * net/quickurl.el (quickurl-url-file):
11926 * international/kkc.el (kkc-init-file-name):
11927 * ido.el (ido-save-directory-list-file):
11928 * emulation/viper.el (viper-custom-file-name):
11929 * emulation/vip.el (vip-startup-file):
11930 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11931 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11932
cc725808
PE
119332013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11934
11935 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11936 * language/thai-word.el: Switch to UTF-8.
11937
a020afb9 11938See ChangeLog.16 for earlier changes.
e3d51b27
MR
11939
11940;; Local Variables:
11941;; coding: utf-8
e3d51b27
MR
11942;; End:
11943
ba318903 11944 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
11945
11946 This file is part of GNU Emacs.
11947
11948 GNU Emacs is free software: you can redistribute it and/or modify
11949 it under the terms of the GNU General Public License as published by
11950 the Free Software Foundation, either version 3 of the License, or
11951 (at your option) any later version.
11952
11953 GNU Emacs is distributed in the hope that it will be useful,
11954 but WITHOUT ANY WARRANTY; without even the implied warranty of
11955 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11956 GNU General Public License for more details.
11957
11958 You should have received a copy of the GNU General Public License
11959 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.