bpt/emacs.git
10 years agoCheck autoload's "type" argument correctly in bytecomp.el
Glenn Morris [Wed, 19 Jun 2013 07:35:00 +0000 (00:35 -0700)]
Check autoload's "type" argument correctly in bytecomp.el

* lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
Only eval autoloaded macros.
(byte-compile-autoload): Only give the macro warning for macros.

10 years agocedet/semantic/decorate/mode.el autoload tweak
Glenn Morris [Wed, 19 Jun 2013 07:28:47 +0000 (00:28 -0700)]
cedet/semantic/decorate/mode.el autoload tweak

* cedet/semantic/decorate/mode.el (define-semantic-decoration-style): Doc fix.
(define-semantic-decoration-style): 'function is not an accepted
value for autoload's "type" argument.  Might as well use the default.

10 years agoQuieten cperl-mode compilation
Glenn Morris [Wed, 19 Jun 2013 07:24:44 +0000 (00:24 -0700)]
Quieten cperl-mode compilation

* lisp/progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
(ps-underlined-faces): Declare.

10 years ago* lisp/gnus/gnus-group.el (gnus-mark-article-as-read): Fix declaration.
Glenn Morris [Wed, 19 Jun 2013 07:23:06 +0000 (00:23 -0700)]
* lisp/gnus/gnus-group.el (gnus-mark-article-as-read): Fix declaration.

10 years agoSilence idlwave compilation
Glenn Morris [Wed, 19 Jun 2013 07:21:59 +0000 (00:21 -0700)]
Silence idlwave compilation

* lisp/progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
(speedbar-add-supported-extension): Declare.

10 years ago* international/titdic-cnv.el (tit-process-header, miscdic-convert):
Glenn Morris [Wed, 19 Jun 2013 07:19:42 +0000 (00:19 -0700)]
* international/titdic-cnv.el (tit-process-header, miscdic-convert):
Don't include a date stamp in the header of the generated file;
it leads to needless differences between output files.

10 years agoAdd make dist rule for doc/misc/Makefile, for www.gnu.org
Glenn Morris [Wed, 19 Jun 2013 07:01:22 +0000 (00:01 -0700)]
Add make dist rule for doc/misc/Makefile, for gnu.org

* doc/misc/Makefile.in (version): New, set by configure.
(clean): Delete dist tar file.
(infoclean): New, split from maintainer-clean.
(maintainer-clean): Run infoclean.
(dist): New rule, to make tarfile for www.gnu.org.

10 years agoTweak regexp in previous doc/*/Makefile.in change, make error fatal
Glenn Morris [Wed, 19 Jun 2013 06:41:37 +0000 (23:41 -0700)]
Tweak regexp in previous doc/*/Makefile.in change, make error fatal

10 years ago* admin/nt/README-ftp-server: Update from http://ftp.gnu.org/gnu/emacs/windows/
Glenn Morris [Wed, 19 Jun 2013 06:31:20 +0000 (23:31 -0700)]
* admin/nt/README-ftp-server: Update from ftp.gnu.org/gnu/emacs/windows/

10 years ago* net/secrets.el (secrets-struct-secret-content-type): Replace
Michael Albinus [Wed, 19 Jun 2013 06:24:12 +0000 (08:24 +0200)]
* net/secrets.el (secrets-struct-secret-content-type): Replace
check of introspection data by a test call of "CreateItem".  Some
servers do not offer introspection.

10 years ago* syntax.c (skip_chars): Don't use uninitialized storage
Paul Eggert [Wed, 19 Jun 2013 05:45:35 +0000 (22:45 -0700)]
* syntax.c (skip_chars): Don't use uninitialized storage

when searching a multibyte buffer for characters that are not in a
unibyte string that contains non-ASCII characters.

10 years ago* lisp/electric.el (electric-pair-mode): Improve interaction with
Stefan Monnier [Wed, 19 Jun 2013 04:42:32 +0000 (00:42 -0400)]
* lisp/electric.el (electric-pair-mode): Improve interaction with
electric-layout-mode.
(electric-pair-default-inhibit): Don't assume (eq char (char-before)).
(electric-pair-syntax): Use text-mode-syntax-table in comments and strings.
(electric-pair--insert): New function.
(electric-pair-post-self-insert-function): Use it and electric--after-char-pos.

10 years agoEdit more configure variables in doc make dist rules.
Glenn Morris [Wed, 19 Jun 2013 03:49:26 +0000 (20:49 -0700)]
Edit more configure variables in doc make dist rules.

* doc/emacs/Makefile.in (dist):
* doc/lispintro/Makefile.in (dist):
* doc/lispref/Makefile.in (dist): Edit more configure variables.
Try to check that we do not miss any in future.

Fixes: debbugs:14660

10 years ago* progmodes/octave.el (octave-help): Fix regexp.
Leo Liu [Wed, 19 Jun 2013 02:02:30 +0000 (10:02 +0800)]
* progmodes/octave.el (octave-help): Fix regexp.

10 years agoMerge changes made in Gnus master
Gnus developers [Tue, 18 Jun 2013 22:38:34 +0000 (22:38 +0000)]
Merge changes made in Gnus master

2013-06-18 Teodor Zlatanov <tzz@lifelogs.com>
* auth-source.el (auth-source-netrc-parse-entries): Remove debugging.

2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/shr.el (shr-make-table-1): Implement <td rowspan>.
(shr-table-horizontal-line): Allow nil as a value, and change the default.
(shr-insert-table-ruler): Respect the nil value.

2013-06-18 Tom Tromey <tromey@barimba>
* net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
  New defvars.
(eww-open-file): New defun.
(eww-render): Initialize new variables.
(eww-display-html): Handle "link" and "a".
(eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
(eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
(eww-back-url): Rename from eww-previous-url.
(eww-next-url, eww-previous-url, eww-up-url, eww-top-url): New defuns.

10 years ago* lisp/progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
Dmitry Gutov [Tue, 18 Jun 2013 22:17:56 +0000 (02:17 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
Distinguish ternary operator tokens from slash symbol and slash
char literal.

10 years agoConvert symbol prettification into minor mode and global minor mode.
Juanma Barranquero [Tue, 18 Jun 2013 22:13:25 +0000 (00:13 +0200)]
Convert symbol prettification into minor mode and global minor mode.

* etc/NEWS: Document new Prettify Symbols mode.

* lisp/progmodes/prog-mode.el (prettify-symbols-alist): Rename from
  `prog-prettify-symbols', and make a local defvar instead of defcustom.
  (prettify-symbols--keywords): Rename from `prog-prettify-symbols-alist'
  and make a local defvar.
  (prettify-symbols--compose-symbol): Rename from
  `prog--prettify-font-lock-compose-symbol'.
  (prettify-symbols--make-keywords): Rename from
  `prog-prettify-font-lock-symbols-keywords' and simplify.
  (prog-prettify-install): Remove.
  (prettify-symbols-mode): New minor mode, based on `prog-prettify-install'.
  (turn-on-prettify-symbols-mode): New function.
  (global-prettify-symbols-mode): New globalized minor mode.

* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables):
* lisp/progmodes/cfengine.el (cfengine3-mode):
* lisp/progmodes/perl-mode.el (perl-mode): Don't call `prog-prettify-install';
  set `prettify-symbols-alist' instead.

10 years agoMerge from gnulib (comment fixes only).
Paul Eggert [Tue, 18 Jun 2013 21:31:00 +0000 (14:31 -0700)]
Merge from gnulib (comment fixes only).

10 years ago* lisp/files-x.el (modify-file-local-variable-message): New function.
Juri Linkov [Tue, 18 Jun 2013 20:38:43 +0000 (23:38 +0300)]
* lisp/files-x.el (modify-file-local-variable-message): New function.
(modify-file-local-variable)
(modify-file-local-variable-prop-line): Add arg INTERACTIVE
and call `modify-file-local-variable-message' when it's non-nil.
(add-file-local-variable, delete-file-local-variable)
(add-file-local-variable-prop-line)
(delete-file-local-variable-prop-line): Add arg INTERACTIVE and use it.

Fixes: debbugs:9820

10 years agoAdd explicit arg REPLACE to the callers of `shell-command-on-region'.
Juri Linkov [Tue, 18 Jun 2013 20:24:44 +0000 (23:24 +0300)]
Add explicit arg REPLACE to the callers of `shell-command-on-region'.

* lisp/simple.el (shell-command-on-region): Doc fix.

* lisp/emulation/vi.el (vi-shell-op):
* lisp/emulation/vip.el (vip-execute-com, ex-command):
* lisp/emulation/viper-cmd.el (viper-exec-bang):
* lisp/emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
the call of `shell-command-on-region'.

* lisp/mh-e/mh-alias.el (mh-alias-local-users): Add non-nil arg REPLACE to
the call of `shell-command-on-region'.

Fixes: debbugs:14637

10 years ago* lisp/emacs-lisp/eieio-custom.el: Remove misleading Version: header.
Stefan Monnier [Tue, 18 Jun 2013 20:06:18 +0000 (16:06 -0400)]
* lisp/emacs-lisp/eieio-custom.el: Remove misleading Version: header.

Fixes: debbugs:14633

10 years ago* process.c: Include xgselect.h if HAVE_GLIB. Include glib.h
Jan Djärv [Tue, 18 Jun 2013 18:41:48 +0000 (20:41 +0200)]
* process.c: Include xgselect.h if HAVE_GLIB.  Include glib.h
if HAVE_GLIB && ! WINDOWSNT.

Fixes: debbugs:14654

10 years ago* conf_post.h: Add comments for INLINE, EXTERN_INLINE, etc.
Paul Eggert [Tue, 18 Jun 2013 18:36:13 +0000 (11:36 -0700)]
* conf_post.h: Add comments for INLINE, EXTERN_INLINE, etc.

10 years agoMove some files from gnus/ to net/
Glenn Morris [Tue, 18 Jun 2013 18:04:09 +0000 (14:04 -0400)]
Move some files from gnus/ to net/

Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00567.html

10 years ago* newcomment.el (comment-search-forward, comment-search-backward): Doc fix.
Glenn Morris [Tue, 18 Jun 2013 17:57:56 +0000 (13:57 -0400)]
* newcomment.el (comment-search-forward, comment-search-backward): Doc fix.

10 years agoSpelling fixes.
Paul Eggert [Tue, 18 Jun 2013 17:15:25 +0000 (10:15 -0700)]
Spelling fixes.

10 years agosrc/ChangeLog: Add bug ID to the previous change.
Kenichi Handa [Tue, 18 Jun 2013 14:54:48 +0000 (23:54 +0900)]
src/ChangeLog: Add bug ID to the previous change.

10 years agomerge emacs
Kenichi Handa [Tue, 18 Jun 2013 14:49:59 +0000 (23:49 +0900)]
merge emacs

10 years agofont.c (Ffont_spec): Signal an error for an invalid font name.
Kenichi Handa [Tue, 18 Jun 2013 14:45:08 +0000 (23:45 +0900)]
font.c (Ffont_spec): Signal an error for an invalid font name.

10 years agoFix typo.
Michael Albinus [Tue, 18 Jun 2013 14:16:12 +0000 (16:16 +0200)]
Fix typo.

10 years agolisp/gnus/shr.el: (shr-tag-dl, shr-tag-dt, shr-tag-dd): Add support for <dl>, <dt...
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 11:24:16 +0000 (11:24 +0000)]
lisp/gnus/shr.el: (shr-tag-dl, shr-tag-dt, shr-tag-dd): Add support for <dl>, <dt> and <dd>

10 years agolisp/ChangeLog, src/ChangeLog: Rotate changelogs.
Juanma Barranquero [Tue, 18 Jun 2013 11:17:50 +0000 (13:17 +0200)]
lisp/ChangeLog, src/ChangeLog: Rotate changelogs.

10 years agolisp/face-remap.el (buffer-face-toggle): Fix typo in docstring.
Juanma Barranquero [Tue, 18 Jun 2013 10:52:07 +0000 (12:52 +0200)]
lisp/face-remap.el (buffer-face-toggle): Fix typo in docstring.
(buffer-face-mode-invoke): Doc fix.

10 years agoDon't colourise images from tables
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 10:46:53 +0000 (10:46 +0000)]
Don't colourise images from tables

* shr.el (shr-tag-table): Insert the images after the table, so that
they're not covered by the table coulorisation, which often looked
awkward.

10 years agolisp/gnus/eww.el (eww-detect-charset): Improve regexp; move backward
Katsumi Yamaoka [Tue, 18 Jun 2013 09:29:20 +0000 (09:29 +0000)]
lisp/gnus/eww.el (eww-detect-charset): Improve regexp; move backward

10 years agolisp/tabify.el (untabify, tabify): With prefix, apply to entire buffer.
Matthias Meulien [Tue, 18 Jun 2013 08:17:01 +0000 (10:17 +0200)]
lisp/tabify.el (untabify, tabify): With prefix, apply to entire buffer.

10 years agoReplace obsolete generic-make-keywords calls
Glenn Morris [Tue, 18 Jun 2013 07:43:46 +0000 (00:43 -0700)]
Replace obsolete generic-make-keywords calls

* lisp/generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
Replace obsolete function generic-make-keywords with its expansion.

* lisp/emacs-lisp/generic.el: Update commentary.

10 years agoPorting fixes for merged specpdl and backtrace stacks.
Paul Eggert [Tue, 18 Jun 2013 07:42:37 +0000 (00:42 -0700)]
Porting fixes for merged specpdl and backtrace stacks.

In particular this ports to 32-bit sparc Sun cc.
* eval.c (init_eval_once, grow_specpdl): Allocate a specbinding
array with a dummy element at specpdl[-1], so that its address can
be taken portably.
(unbind_to): Do not copy the binding; not needed, now that we
copy old_value in the one place where the copy is needed.
* fileio.c (Fwrite_region): Use ptrdiff_t, not int, for specpdl count.
* lisp.h (BITS_PER_PTRDIFF_T): Remove; no longer needed.
(union specbinding): Rename from struct specbinding.  Redo layout
to avoid the need for 'ptrdiff_t nargs : BITS_PER_PTRDIFF_T - 1;',
which is not portable.  With Sun C 5.12 32-bit sparc, the
declaration causes nargs to be an unsigned bitfield, a behavior
that the C standard allows; but Emacs wants nargs to be signed.
The overall type is now a union of structures rather than a
structure of union of structures, and the 'kind' member is now a
bitfield, so that the overall type doesn't grow.  All uses changed.
* process.c (Fmake_serial_process): Remove unnecessary initialization.

Fixes: debbugs:14643

10 years ago* lisp/progmodes/python.el (ffap-alist): Declare.
Glenn Morris [Tue, 18 Jun 2013 07:17:58 +0000 (00:17 -0700)]
* lisp/progmodes/python.el (ffap-alist): Declare.

10 years ago* lisp/gnus/mm-decode.el (widget-convert-button): Autoload.
Glenn Morris [Tue, 18 Jun 2013 07:16:09 +0000 (00:16 -0700)]
* lisp/gnus/mm-decode.el (widget-convert-button): Autoload.

10 years ago* lisp/gnus/sieve-manage.el (mm-enable-multibyte): Autoload.
Glenn Morris [Tue, 18 Jun 2013 07:13:18 +0000 (00:13 -0700)]
* lisp/gnus/sieve-manage.el (mm-enable-multibyte): Autoload.

10 years ago* lisp/gnus/shr.el (libxml-parse-html-region): Declare.
Glenn Morris [Tue, 18 Jun 2013 07:10:56 +0000 (00:10 -0700)]
* lisp/gnus/shr.el (libxml-parse-html-region): Declare.
(shr-render-buffer): Explicit error if no libxml2 support.

10 years ago* lisp/textmodes/reftex.el (bibtex-mode-map): Declare
Glenn Morris [Tue, 18 Jun 2013 07:00:27 +0000 (00:00 -0700)]
* lisp/textmodes/reftex.el (bibtex-mode-map): Declare

10 years ago* lisp/cedet/semantic/ctxt.el (semantic-ctxt-end-of-symbol-default):
Glenn Morris [Tue, 18 Jun 2013 02:06:33 +0000 (22:06 -0400)]
* lisp/cedet/semantic/ctxt.el (semantic-ctxt-end-of-symbol-default):
Remove unused free variable `symlist'.

10 years ago* lisp/emacs-lisp/package.el: Update package-alist after install.
Stefan Monnier [Tue, 18 Jun 2013 01:26:47 +0000 (21:26 -0400)]
* lisp/emacs-lisp/package.el: Update package-alist after install.
(package-unpack, package-unpack-single): Return the pkg-dir.
(package-download-transaction): Use it to update package-alist.

Fixes: debbugs:14632

10 years ago(browse-url-browser-function): Add `eww' as a possible choice.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 23:59:09 +0000 (01:59 +0200)]
(browse-url-browser-function): Add `eww' as a possible choice.

10 years agolisp/gnus/auth-source.el: When a data token is "machine", abort parsing the current...
Teodor Zlatanov [Mon, 17 Jun 2013 23:35:46 +0000 (23:35 +0000)]
lisp/gnus/auth-source.el: When a data token is "machine", abort parsing the current line

10 years agolisp/gnus/eww.el (eww-tag-input): Support <input type=image>
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 23:11:40 +0000 (23:11 +0000)]
lisp/gnus/eww.el (eww-tag-input): Support <input type=image>

10 years ago* lisp/net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
Juri Linkov [Mon, 17 Jun 2013 22:45:14 +0000 (01:45 +0300)]
* lisp/net/webjump.el (webjump-sample-sites): Add DuckDuckGo.

10 years agolisp/gnus/{eww,shr}.el: Merge changes made in Gnus master
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 22:06:27 +0000 (22:06 +0000)]
lisp/gnus/{eww,shr}.el: Merge changes made in Gnus master

lisp/gnus/eww.el (eww-tag-select): Don't render totally empty <select> forms.
(eww-convert-widgets): Don't bug out if the first widget starts at the beginning of the buffer.
(eww-convert-widgets): Fix last patch.

lisp/gnus/shr.el (shr-insert-table): Respect border-collapse: collapse.
(shr-tag-base): Protect against base specs that are degenerate.
(shr-ensure-paragraph): Don't delete empty lines that have text properties, because these may be input fields.

lisp/gnus/eww.el (eww-convert-widgets): Put `help-echo' on input fields so that we can navigate to them.

lisp/gnus/shr.el (shr-colorize-region): Put the colours over the entire region.
(shr-inhibit-decoration): New variable.
(shr-add-font): Use it to inhibit text property decorations while doing preliminary table renderings.  This speeds up typical Wikipedia page renderings by 15%.
(shr-tag-span): Don't respect the <title>, because that overwrites the help-echo from links inside the spans.
(shr-next-link): Use `help-echo' for navigation, so that we can navigate to form elements, too.

lisp/gnus/eww.el (eww-button): New face.
(eww-convert-widgets): Use it to make submit buttons more button-like.

10 years ago* frame.c (x_report_frame_params): Cast parent_desc to uintptr_t.
Paul Eggert [Mon, 17 Jun 2013 21:12:21 +0000 (14:12 -0700)]
* frame.c (x_report_frame_params): Cast parent_desc to uintptr_t.

Needed if HAVE_NTGUI.  Reported by Juanma Barranquero.

10 years ago* nsfont.m (ns_registry_to_script): Parenthesize while expression.
Paul Eggert [Mon, 17 Jun 2013 21:10:31 +0000 (14:10 -0700)]
* nsfont.m (ns_registry_to_script): Parenthesize while expression.

10 years ago* lisp/emacs-lisp/package.el (package-load-descriptor): Remove
Dmitry Gutov [Mon, 17 Jun 2013 17:36:21 +0000 (21:36 +0400)]
* lisp/emacs-lisp/package.el (package-load-descriptor): Remove
`with-syntax-table' call, `read' doesn't need it.
http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html

10 years agosrc/ChangeLog: Rearrange the last 2 entries in correct order.
Eli Zaretskii [Mon, 17 Jun 2013 16:30:40 +0000 (19:30 +0300)]
src/ChangeLog: Rearrange the last 2 entries in correct order.

10 years agoPossible fix for bug #14630, which continues bug #14062.
Eli Zaretskii [Mon, 17 Jun 2013 16:28:47 +0000 (19:28 +0300)]
Possible fix for bug #14630, which continues bug #14062.

 src/w32fns.c (w32_wnd_proc): Don't call WINDOW_HEADER_LINE_HEIGHT
 unless we know that the window w's frame is a frame object.

10 years agodoc/lispref/text.texi (Undo, Changing Properties): Fix typos.
Juanma Barranquero [Mon, 17 Jun 2013 15:49:43 +0000 (17:49 +0200)]
doc/lispref/text.texi (Undo, Changing Properties): Fix typos.

10 years agolisp/startup.el: Fix bug#14639.
Juanma Barranquero [Mon, 17 Jun 2013 15:33:52 +0000 (17:33 +0200)]
lisp/startup.el: Fix bug#14639.
 (command-line): Expand package name returned by `package--description-file'.

10 years agoImplement new function `add-face-text-property'
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 15:28:22 +0000 (17:28 +0200)]
Implement new function `add-face-text-property'

* doc/lispref/text.texi (Changing Properties): Document `add-face-text-property'.

* src/textprop.c (property_set_type): New enum.
(add_properties): Allow appending/prepending text properties.
(add_text_properties_1): Factored out of Fadd_text_properties.
(Fadd_text_properties): Moved all the code into
add_text_properties_1.
(Fadd_face_text_property): New function that calls
add_text_properties_1.

10 years agolispref/ChangeLog: Add bug ID to the previous change.
Kenichi Handa [Mon, 17 Jun 2013 15:07:45 +0000 (00:07 +0900)]
lispref/ChangeLog: Add bug ID to the previous change.

10 years agodisplay.texi (Face Attributes): Refer to "Low-Level font" (not "Font Selection")...
Kenichi Handa [Mon, 17 Jun 2013 15:04:50 +0000 (00:04 +0900)]
display.texi (Face Attributes): Refer to "Low-Level font" (not "Font Selection") in the explanation of :font attribute.

10 years agolisp/gnus/mm-decode.el (mm-convert-shr-links): Override the shr local map, so that...
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 10:51:54 +0000 (10:51 +0000)]
lisp/gnus/mm-decode.el (mm-convert-shr-links): Override the shr local map, so that Gnus commands work

lisp/gnus/shr.el (shr-render-td): Support horizontal alignment

Make eww use `add-face-text-property', too
lisp/gnus/shr.el (shr-make-overlay): Obsolete function
lisp/gnus/eww.el (eww-put-color): Removed
(eww-colorize-region): Use `add-face-text-property'

Get correct presedence for font data
lisp/gnus/shr.el (shr-add-font): Append face data, so that we get the correct presedence: The innermost value (which is applied first) wins

10 years agoAuto-commit of generated files.
Glenn Morris [Mon, 17 Jun 2013 10:17:40 +0000 (06:17 -0400)]
Auto-commit of generated files.

10 years agolisp/gnus/mm-decode.el (shr-map): Silence the byte compiler
Katsumi Yamaoka [Mon, 17 Jun 2013 09:36:28 +0000 (09:36 +0000)]
lisp/gnus/mm-decode.el (shr-map): Silence the byte compiler

10 years agoConvert shr.el from using overlays into using text properties
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 09:19:50 +0000 (09:19 +0000)]
Convert shr.el from using overlays into using text properties

* eww.el (eww-mode-map): Use `shr-next-link' (etc) instead of the
widget commands, since we're no longer using widgets for links.

* mm-decode.el (mm-convert-shr-links): New function to convert
new-style shr URL links into widgets.
(mm-shr): Use it.

* shr.el (shr-next-link): New command.
(shr-previous-link): New command.
(shr-urlify): Don't use `widget-convert', because that's slow.
(shr-put-color-1): Use `add-face-text-property' instead of overlays,
because collecting the overlays and reapplying them when generating
tables is slow.
(shr-insert-table): Ditto.

10 years ago* lisp/emacs-lisp/package.el (package-load-descriptor): Do not call
Dmitry Gutov [Mon, 17 Jun 2013 06:24:08 +0000 (10:24 +0400)]
* lisp/emacs-lisp/package.el (package-load-descriptor): Do not call
`emacs-lisp-mode', just use its syntax table.

10 years agoUse functions, not macros, for XINT etc.
Paul Eggert [Mon, 17 Jun 2013 06:03:19 +0000 (23:03 -0700)]
Use functions, not macros, for XINT etc.

In lisp.h, prefer functions to function-like macros, and
constants to object-like macros, when either will do.  This:
 . simplifies use, as there's no more need to worry about
   arguments' side effects being evaluated multiple times.
 . makes the code easier to debug on some platforms.
However, when using gcc -O0, keep using function-like macros
for a few critical operations, for performance reasons.
This sort of thing isn't needed with gcc -Og, but -Og
is a GCC 4.8 feature and isn't widely-enough available yet.
Also, move functions from lisp.h to individual modules when possible.
From a suggestion by Andreas Schwab in <http://bugs.gnu.org/11935#68>.
* alloc.c (XFLOAT_INIT, set_symbol_name):
* buffer.c (CHECK_OVERLAY):
* chartab.c (CHECK_CHAR_TABLE, set_char_table_ascii)
(set_char_table_parent):
* coding.c (CHECK_NATNUM_CAR, CHECK_NATNUM_CDR):
* data.c (BOOLFWDP, INTFWDP, KBOARD_OBJFWDP, OBJFWDP, XBOOLFWD)
(XKBOARD_OBJFWD, XINTFWD, XOBJFWD, CHECK_SUBR, set_blv_found)
(blv_value, set_blv_value, set_blv_where, set_blv_defcell)
(set_blv_valcell):
* emacs.c (setlocale) [!HAVE_SETLOCALE]:
* eval.c (specpdl_symbol, specpdl_old_value, specpdl_where)
(specpdl_arg, specpdl_func, backtrace_function, backtrace_nargs)
(backtrace_args, backtrace_debug_on_exit):
* floatfns.c (CHECK_FLOAT):
* fns.c (CHECK_HASH_TABLE, CHECK_LIST_END)
(set_hash_key_and_value, set_hash_next, set_hash_next_slot)
(set_hash_hash, set_hash_hash_slot, set_hash_index)
(set_hash_index_slot):
* keymap.c (CHECK_VECTOR_OR_CHAR_TABLE):
* marker.c (CHECK_MARKER):
* textprop.c (CHECK_STRING_OR_BUFFER):
* window.c (CHECK_WINDOW_CONFIGURATION):
Move here from lisp.h, and make these functions static rather than
extern inline.
* buffer.c (Qoverlayp):
* data.c (Qsubrp):
* fns.c (Qhash_table_p):
* window.c (Qwindow_configuration_p):
Now static.
* lisp.h: Remove the abovementioned defns and decls.

* configure.ac (WARN_CFLAGS): Remove -Wbad-function-cast,
as it generates bogus warnings about reasonable casts of calls.
* alloc.c (gdb_make_enums_visible) [USE_LSB_TAG]:
Remove enum lsb_bits; no longer needed.
(allocate_misc, free_misc): Don't use XMISCTYPE as an lvalue.
* buffer.c (Qoverlap):
* data.c (Qsubrp):
* fns.c (Qhash_table_p):
Now extern, so lisp.h can use these symbols.
* dispextern.h: Include character.h, for MAX_CHAR etc.
(GLYPH, GLYPH_CHAR, GLYPH_FACE, SET_GLYPH_CHAR, SET_GLYPH_FACE)
(SET_GLYPH, GLYPH_CODE_CHAR, GLYPH_CODE_FACE)
(SET_GLYPH_FROM_GLYPH_CODE, GLYPH_MODE_LINE_FACE, GLYPH_CHAR_VALID_P)
(GLYPH_CODE_P): Move here from lisp.h.
(GLYPH_CHAR, GLYPH_FACE, GLYPH_CODE_CHAR, GLYPH_CODE_FACE)
(GLYPH_CHAR_VALID_P, GLYPH_CODE_P): Now functions, not macros.
(GLYPH_MODE_LINE_FACE): Now enums, not macros.
* eval.c (Fautoload): Cast XUNTAG output to intptr_t, since
XUNTAG now returns void *.
* lisp.h (lisp_h_XLI, lisp_h_XIL, lisp_h_CHECK_LIST_CONS)
(lisp_h_CHECK_NUMBER CHECK_SYMBOL, lisp_h_CHECK_TYPE)
(lisp_h_CONSP, lisp_h_EQ, lisp_h_FLOATP, lisp_h_INTEGERP)
(lisp_h_MARKERP, lisp_h_MISCP, lisp_h_NILP)
(lisp_h_SET_SYMBOL_VAL, lisp_h_SYMBOL_CONSTANT_P)
(lisp_h_SYMBOL_VAL, lisp_h_SYMBOLP, lisp_h_VECTORLIKEP)
(lisp_h_XCAR, lisp_h_XCDR, lisp_h_XCONS, lisp_h_XHASH)
(lisp_h_XPNTR, lisp_h_XSYMBOL):
New macros, renamed from their sans-lisp_h_ counterparts.
(XLI, XIL, CHECK_LIST_CONS, CHECK_NUMBER CHECK_SYMBOL)
(CHECK_TYPE, CONSP, EQ, FLOATP, INTEGERP, MARKERP)
(MISCP, NILP, SET_SYMBOL_VAL, SYMBOL_CONSTANT_P, SYMBOL_VAL, SYMBOLP)
(VECTORLIKEP, XCAR, XCDR, XCONS, XHASH, XPNTR, XSYMBOL):
If compiling via GCC without optimization, define these as macros
in addition to inline functions.
To disable this, compile with -DINLINING=0.
(LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): New macros.
(check_cons_list) [!GC_CHECK_CONS_LIST]: Likewise.
(make_number, XFASTINT, XINT, XTYPE, XUNTAG): Likewise, but
hand-optimize only in the USE_LSB_TAG case, as GNUish hosts do that.
(INTMASK, VALMASK): Now macros, since static values cannot be
accessed from extern inline functions.
(VALMASK): Also a constant, for benefit of old GDB.
(LISP_INT_TAG_P): Remove; no longer needed as the only caller
is INTEGERP, which can fold it in.
(XLI, XIL, XHASH, XTYPE,XINT, XFASTINT, XUINT)
(make_number, XPNTR, XUNTAG, EQ, XCONS, XVECTOR, XSTRING, XSYMBOL)
(XFLOAT, XPROCESS, XWINDOW, XTERMINAL, XSUBR, XBUFFER, XCHAR_TABLE)
(XSUB_CHAR_TABLE, XBOOL_VECTOR, make_lisp_ptr, CHECK_TYPE)
(CHECK_STRING_OR_BUFFER, XCAR, XCDR, XSETCAR, XSETCDR, CAR, CDR)
(CAR_SAFE, CDR_SAFE, STRING_MULTIBYTE, SDATA, SSDATA, SREF, SSET)
(SCHARS, STRING_BYTES, SBYTES, STRING_SET_CHARS, STRING_COPYIN, AREF)
(ASIZE, ASET, CHAR_TABLE_REF_ASCII, CHAR_TABLE_REF)
(CHAR_TABLE_SET, CHAR_TABLE_EXTRA_SLOTS, SYMBOL_VAL, SYMBOL_ALIAS)
(SYMBOL_BLV, SYMBOL_FWD, SET_SYMBOL_VAL, SET_SYMBOL_ALIAS)
(SET_SYMBOL_BLV, SET_SYMBOL_FWD, SYMBOL_NAME, SYMBOL_INTERNED_P)
(SYMBOL_INTERNED_IN_INITIAL_OBARRAY_P, SYMBOL_CONSTANT_P)
(XHASH_TABLE, HASH_TABLE_P, CHECK_HASH_TABLE, HASH_KEY, HASH_VALUE)
(HASH_NEXT, HASH_HASH, HASH_INDEX, HASH_TABLE_SIZE)
(XMISC, XMISCANY, XMARKER, XOVERLAY, XSAVE_VALUE, XFWDTYPE)
(XINTFWD, XBOOLFWD, XOBJFWD, XBUFFER_OBJFWD, XKBOARD_OBJFWD)
(XFLOAT_DATA, XFLOAT_INIT, NILP, NUMBERP, NATNUMP)
(RANGED_INTEGERP, CONSP, FLOATP, MISCP, STRINGP, SYMBOLP)
(INTEGERP, VECTORLIKEP, VECTORP, OVERLAYP)
(MARKERP, SAVE_VALUEP, AUTOLOADP, INTFWDP, BOOLFWDP, OBJFWDP)
(BUFFER_OBJFWDP, KBOARD_OBJFWDP, PSEUDOVECTOR_TYPEP)
(PSEUDOVECTORP, WINDOW_CONFIGURATIONP, PROCESSP, WINDOWP)
(TERMINALP, SUBRP, COMPILEDP, BUFFERP, CHAR_TABLE_P)
(SUB_CHAR_TABLE_P, BOOL_VECTOR_P, FRAMEP, IMAGEP, ARRAYP)
(CHECK_LIST, CHECK_LIST_CONS, CHECK_LIST_END, CHECK_STRING)
(CHECK_STRING_CAR, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE)
(CHECK_VECTOR, CHECK_VECTOR_OR_STRING, CHECK_ARRAY)
(CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER, CHECK_WINDOW)
(CHECK_WINDOW_CONFIGURATION, CHECK_PROCESS, CHECK_SUBR)
(CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER, XFLOATINT)
(CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT, CHECK_OVERLAY)
(CHECK_NUMBER_CAR, CHECK_NUMBER_CDR, CHECK_NATNUM_CAR)
(CHECK_NATNUM_CDR, FUNCTIONP, SPECPDL_INDEX, LOADHIST_ATTACH)
Now functions.
(check_cons_list) [!GC_CHECK_CONS_LIST]: New empty function.
(LISP_MAKE_RVALUE, TYPEMASK): Remove; no longer needed.
(VALMASK): Define in one place rather than in two, merging the
USE_LSB_TAG parts; this is simpler.
(aref_addr, gc_aset, MOST_POSITIVE_FIXNUM, MOST_NEGATIVE_FIXNUM)
(max, min, struct Lisp_String, UNSIGNED_CMP, ASCII_CHAR_P):
Move up, to avoid use before definition.
Also include "globals.h" earlier, for the same reason.
(make_natnum): New function.
(XUNTAG): Now returns void *, not intptr_t, as this means fewer casts.
(union Lisp_Fwd, BOOLFWDP, BOOL_VECTOR_P, BUFFER_OBJFWDP, BUFFERP)
(CHAR_TABLE_P, CHAR_TABLE_REF_ASCII, CONSP, FLOATP, INTEGERP, INTFWDP)
(KBOARD_OBJFWDP, MARKERP, MISCP, NILP, OBJFWDP, OVERLAYP, PROCESSP)
(PSEUDOVECTORP, SAVE_VALUEP, STRINGP, SUB_CHAR_TABLE_P, SUBRP, SYMBOLP)
(VECTORLIKEP, WINDOWP, Qoverlayp, char_table_ref, char_table_set)
(char_table_translate, Qarrayp, Qbufferp, Qbuffer_or_string_p)
(Qchar_table_p, Qconsp, Qfloatp, Qintegerp, Qlambda, Qlistp, Qmarkerp)
(Qnil, Qnumberp, Qsubrp, Qstringp, Qsymbolp, Qvectorp)
(Qvector_or_char_table_p, Qwholenump, Ffboundp, wrong_type_argument)
(initialized, Qhash_table_p, extract_float, Qprocessp, Qwindowp)
(Qwindow_configuration_p, Qimage): New forward declarations.
(XSETFASTINT): Simplify by rewriting in terms of make_natnum.
(STRING_COPYIN): Remove; unused.
(XCAR_AS_LVALUE, XCDR_AS_LVALUE): Remove these macros, replacing with ...
(xcar_addr, xcdr_addr): New functions.  All uses changed.
(IEEE_FLOATING_POINT): Now a constant, not a macro.
(GLYPH, GLYPH_CHAR, GLYPH_FACE, SET_GLYPH_CHAR, SET_GLYPH_FACE)
(SET_GLYPH, GLYPH_CODE_CHAR, GLYPH_CODE_FACE)
(SET_GLYPH_FROM_GLYPH_CODE, GLYPH_MODE_LINE_FACE, GLYPH_CHAR_VALID_P)
(GLYPH_CODE_P): Move to dispextern.h, to avoid define-before-use.
(TYPE_RANGED_INTEGERP): Simplify.
(Qsubrp, Qhash_table_p, Qoverlayp): New extern decls.
(setlocale, fixup_locale, synchronize_system_messages_locale)
(synchronize_system_time_locale) [!HAVE_SETLOCALE]:
Now empty functions, not macros.
(functionp): Return bool, not int.
* window.c (Qwindow_configuration_p): Now extern,
so window.h can use it.
* window.h (Qwindowp): Move decl back to lisp.h.

10 years agolisp/progmodes/prog-mode.el: Force font-lock to deal with `composition' prop.
Juanma Barranquero [Mon, 17 Jun 2013 01:09:13 +0000 (03:09 +0200)]
lisp/progmodes/prog-mode.el: Force font-lock to deal with `composition' prop.
(prog-prettify-install): Add `composition' to `font-lock-extra-managed-props'
if any prettifying keyword is added.
(prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
(prog-mode): Use `setq-local'.

10 years ago* lisp/international/characters.el (standard-case-table): Set syntax of ?»
Stefan Monnier [Mon, 17 Jun 2013 00:52:24 +0000 (20:52 -0400)]
* lisp/international/characters.el (standard-case-table): Set syntax of ?»
and ?« to punctuation.

10 years ago* lisp/gnus/sieve.el (sieve-edit-script): Avoid beginning-of-buffer.
Stefan Monnier [Mon, 17 Jun 2013 00:49:49 +0000 (20:49 -0400)]
* lisp/gnus/sieve.el (sieve-edit-script): Avoid beginning-of-buffer.
* lisp/gnus/shr.el (browse-url): Require `url'.
* lisp/gnus/eww.el (url): Require format-spec.

10 years agolisp/gnus/eww.el (eww-browse-url): Don't add a User-Agent (twice), because that makes...
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 22:54:56 +0000 (22:54 +0000)]
lisp/gnus/eww.el (eww-browse-url): Don't add a User-Agent (twice), because that makes Bing refuse connection

10 years ago2013-06-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
Gnus developers [Sun, 16 Jun 2013 22:20:55 +0000 (22:20 +0000)]
2013-06-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
* eww.el (eww-display-html): Default to using the entire window width.
* shr.el (shr-make-table): Cache the table rendering at the table level, and not the <td> level. This is a bit faster.
* eww.el (eww-render): Go to the correct ID when given URLs ending with #id.
* shr.el (shr-tag-li): Don't require a new paragraph, since other browsers don't.
(shr-expand-url): Respect #anchor links.
(shr-parse-base): Chop off the anchor before using.
(shr-descend): Respect display: none.
(shr-descend): Allow marking elements that have certain IDs.
* eww.el (eww-tag-textarea): Use `text' instead of `editable-field'.
* shr.el (shr-expand-url): Don't bug out on zero-length links.
* eww.el (eww-tag-textarea): Support <textarea>.

2013-06-16 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
* shr.el (shr-dom-to-xml): Fixed function call.
* eww.el (eww): New group.
(eww-header-line-format): New custom variable.
(eww-current-title): New variable.
(eww-display-html): Update header and handle title tag.
(eww-update-header-line-format): New function.
(eww-tag-title): New function.
* shr.el (shr-dom-to-xml): (shr-dom-to-xml): New function.
(shr-tag-svg): Add support for the SVG tag.
(shr-bullet): New custom variable.
(shr-tag-li): Support custom bullet in unordered lists.
2013-06-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
* shr.el (shr-expand-url): Respect // URLs.
* eww.el (eww-tag-body): Override the shr body rendering so that we can
put a background colour onto the entire buffer.
(eww-render): When being redirected, use the redirect URL as the new
base URL.
* shr.el (shr-parse-base): Fix parsing error.
* eww.el (eww-submit): Pass the base in to `shr-expand-url'.
* shr.el (shr-parse-base): New function.
(shr-expand-url): Use it to expand relative URLs reliably.

10 years agoAuto-commit of generated files.
Glenn Morris [Sun, 16 Jun 2013 10:19:09 +0000 (06:19 -0400)]
Auto-commit of generated files.

10 years ago* configure.ac: Report ACL usage at the end.
Paul Eggert [Sun, 16 Jun 2013 05:33:12 +0000 (22:33 -0700)]
* configure.ac: Report ACL usage at the end.

Fixes: debbugs:14612

10 years ago* lisp/progmodes/prog-mode.el: Fix bug#14595.
Juanma Barranquero [Sun, 16 Jun 2013 01:26:42 +0000 (03:26 +0200)]
* lisp/progmodes/prog-mode.el: Fix bug#14595.
  (prog--prettify-font-lock-compose-symbol): Save relevant match data
  before calling `syntax-ppss'.

10 years agoetc/NEWS: Fix typos.
Juanma Barranquero [Sun, 16 Jun 2013 01:16:41 +0000 (03:16 +0200)]
etc/NEWS: Fix typos.

10 years ago* lisp/files-x.el (modify-file-local-variable-prop-line): Add local
Juri Linkov [Sat, 15 Jun 2013 22:44:38 +0000 (01:44 +0300)]
* lisp/files-x.el (modify-file-local-variable-prop-line): Add local
variables to the end of the existing comment on the first line.
Use `file-auto-mode-skip' to skip interpreter magic line,
and also skip XML declaration.

10 years agolisp/gnus/auth-source.el (netrc backend): Support single-quoted strings, multiline...
Ted Zlatanov [Sat, 15 Jun 2013 21:59:59 +0000 (21:59 +0000)]
lisp/gnus/auth-source.el (netrc backend): Support single-quoted strings, multiline entries

10 years ago* lisp/emacs-lisp/package.el: Don't activate packages older than builtin.
Stefan Monnier [Sat, 15 Jun 2013 15:36:11 +0000 (11:36 -0400)]
* lisp/emacs-lisp/package.el: Don't activate packages older than builtin.
(package-obsolete-list): Rename from package-obsolete-alist, and make
it into a simple list of package-desc.
(package-strip-version): Remove.
(package-built-in-p): Use package--builtin-versions.
(package-mark-obsolete): Simplify.
(package-process-define-package): Mark it obsolete if older than the
builtin version.
(package-handle-response): Use line-end-position.
(package-read-archive-contents, package--download-one-archive):
Simplify.
(package--add-to-archive-contents): Skip if older than the builtin or
installed version.
(package-menu-describe-package): Fix last change.
(package-list-unversioned): New var.
(package-menu--generate): Use it.

* lisp/Makefile.in (autoloads): Set autoload-builtin-package-versions.

* lisp/startup.el (package--builtin-versions): New var.
(package-subdirectory-regexp): Remove.
(package--description-file): Hard code its value instead.

* lisp/emacs-lisp/autoload.el: Manage package--builtin-versions.
(autoload--insert-text, autoload--insert-cookie-text): New functions.
(autoload-builtin-package-versions): New variable.
(autoload-generate-file-autoloads): Use them.
Remove the list of autoloaded functions/macros from the
(autoload...) comments.

10 years ago* admin/notes/changelogs: Mention trivial changes in Change Log.
Xue Fuqiao [Sat, 15 Jun 2013 13:21:17 +0000 (21:21 +0800)]
* admin/notes/changelogs: Mention trivial changes in Change Log.

10 years agoFix bug #14567 with jumpy scrolling of tall images.
Eli Zaretskii [Sat, 15 Jun 2013 09:34:20 +0000 (12:34 +0300)]
Fix bug #14567 with jumpy scrolling of tall images.

 src/xdisp.c (Fline_pixel_height): New function, required for solving
 bug #14567.

 lisp/simple.el (line-move-partial): Don't jump to the next screen
 line as soon as it becomes visible.  Instead, continue enlarging
 the vscroll until the portion of a tall screen line that's left on
 display is about the height of the frame's default font.

10 years agoAdd coding cookie to lisp/emacs-lisp/lisp-mode.el.
Eli Zaretskii [Sat, 15 Jun 2013 09:16:49 +0000 (12:16 +0300)]
Add coding cookie to lisp/emacs-lisp/lisp-mode.el.

10 years agoNEWS fix.
Xue Fuqiao [Sat, 15 Jun 2013 07:45:06 +0000 (15:45 +0800)]
NEWS fix.

10 years ago* fns.c (Fcopy_sequence): Simplify XTYPE calculation.
Paul Eggert [Sat, 15 Jun 2013 07:41:42 +0000 (00:41 -0700)]
* fns.c (Fcopy_sequence): Simplify XTYPE calculation.

10 years agovc-compilation-mode fixes
Glenn Morris [Sat, 15 Jun 2013 02:50:47 +0000 (19:50 -0700)]
vc-compilation-mode fixes

* lisp/vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
compilation-error-regexp-alist void, or local while let-bound.

10 years ago* make-mode.el (makefile-mode-syntax-table): Treat "=" as punctuation.
Glenn Morris [Sat, 15 Jun 2013 02:25:00 +0000 (19:25 -0700)]
* make-mode.el (makefile-mode-syntax-table): Treat "=" as punctuation.

Fixes: debbugs:14614

10 years agolisp/help-fns.el (describe-variable): Add extra line for permanent-local vars.
Juanma Barranquero [Sat, 15 Jun 2013 01:12:05 +0000 (03:12 +0200)]
lisp/help-fns.el (describe-variable): Add extra line for permanent-local vars.

10 years agoAdd some new scheme features (tiny change)
Simen Heggestøyl [Sat, 15 Jun 2013 00:37:49 +0000 (17:37 -0700)]
Add some new scheme features  (tiny change)

* lisp/progmodes/scheme.el (scheme-font-lock-keywords-2):
Add export, import, library.
(library): Set indent function.

Fixes: debbugs:9164

10 years ago* term/xterm.el (xterm--query): Stop after first matching handler. (Bug#14615)
Glenn Morris [Fri, 14 Jun 2013 18:37:38 +0000 (14:37 -0400)]
* term/xterm.el (xterm--query): Stop after first matching handler.  (Bug#14615)

10 years agolisp/gnus/eww.el (eww-submit): Get submit button logic right when hitting RET on...
Lars Magne Ingebrigtsen [Fri, 14 Jun 2013 11:16:26 +0000 (11:16 +0000)]
lisp/gnus/eww.el (eww-submit): Get submit button logic right when hitting RET on non-submit buttons
lisp/gnus/shr.el: Remove shr-preliminary-table-render, since that can't really be used for anything in practice

10 years agoFix date in ChangeLog
Ivan Kanis [Fri, 14 Jun 2013 09:59:14 +0000 (11:59 +0200)]
Fix date in ChangeLog

10 years agolisp/gnus/sieve.el: Rebind q to (sieve-bury-buffer), bind Q to (sieve-manage-quit)
Albert Krewinkel [Fri, 14 Jun 2013 09:48:49 +0000 (09:48 +0000)]
lisp/gnus/sieve.el: Rebind q to (sieve-bury-buffer), bind Q to (sieve-manage-quit)

doc/misc/sieve.texi: (Managing Sieve): Fix port in example, fix documentation for keys q and Q
(Standards): Reference RFC5804 as the defining document of the managesieve protocol

10 years agoAdd support for dired in saveplace.
Ivan Kanis [Fri, 14 Jun 2013 09:32:01 +0000 (11:32 +0200)]
Add support for dired in saveplace.

10 years agoNew defcustoms need :version tags
Glenn Morris [Fri, 14 Jun 2013 06:51:56 +0000 (23:51 -0700)]
New defcustoms need :version tags

10 years ago* lisp/subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
Stefan Monnier [Fri, 14 Jun 2013 04:11:00 +0000 (00:11 -0400)]
* lisp/subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
through a symbol rather than letrec.

10 years agolisp/gnus/eww.el: Fix indentation
Katsumi Yamaoka [Fri, 14 Jun 2013 03:26:34 +0000 (03:26 +0000)]
lisp/gnus/eww.el: Fix indentation

10 years agolisp/gnus/mml2015.el (mml2015-maximum-key-image-dimension): New user option to contro...
David Edmondson [Fri, 14 Jun 2013 03:24:05 +0000 (03:24 +0000)]
lisp/gnus/mml2015.el (mml2015-maximum-key-image-dimension): New user option to control the maximum size of photo ID image
(mml2015-epg-key-image-to-string): Respect it

10 years agolisp/gnus/shr.el (shr-tag-table-1): Mark the preliminary table renderings instead...
Lars Magne Ingebrigtsen [Fri, 14 Jun 2013 03:22:26 +0000 (03:22 +0000)]
lisp/gnus/shr.el (shr-tag-table-1): Mark the preliminary table renderings instead of the final one so that we can more easily distinguish them
lisp/gnus/eww.el (eww-submit): Compute the submission URL correctly

10 years ago* lisp/emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
Stefan Monnier [Fri, 14 Jun 2013 03:20:18 +0000 (23:20 -0400)]
* lisp/emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
(package-desc): Add `dir' field.
(package-desc-full-name): New function.
(package-load-descriptor): Combine the two arguments.  Don't use `load'.
(package-maybe-load-descriptor): Remove.
(package-load-all-descriptors): Just call package-load-descriptor.
(package--disabled-p): New function.
(package-desc-vers, package-desc-doc): Remove aliases.
(package--dir): Remove function.
(package-activate): Check if a package is disabled.
(package-process-define-package): New function, extracted from
define-package.
(define-package): Turn into a place holder.
(package-unpack-single, package-tar-file-info):
Use package--description-file.
(package-compute-transaction): Use package--disabled-p.
(package-download-transaction): Don't call
package-maybe-load-descriptor since they're all loaded anyway.
(package-install): Change argument to be a pkg-desc.
(package-delete): Use a single pkg-desc argument.
(describe-package-1): Use package-desc-dir instead of package--dir.
Use package-desc property instead of package-symbol.
(package-install-button-action): Adjust accordingly.
(package--push): Rewrite.
(package-menu--print-info): Adjust accordingly.  Change the ID format
to be a pkg-desc.
(package-menu-describe-package, package-menu-get-status)
(package-menu--find-upgrades, package-menu-mark-upgrades)
(package-menu-execute, package-menu--name-predicate):
Adjust accordingly.
* lisp/startup.el (package--description-file): New function.
(command-line): Use it.
* lisp/emacs-lisp/package-x.el (package-upload-buffer-internal):
Use package-desc-version.

10 years ago* lisp/emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
Stefan Monnier [Fri, 14 Jun 2013 02:31:28 +0000 (22:31 -0400)]
* lisp/emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
(byte-compile-preprocess): Use it.
(byte-compile-file-form-defalias): Try a bit harder to use macros we
can't quite recognize.
(byte-compile-add-to-list): Remove.
* lisp/emacs-lisp/cconv.el (cconv-warnings-only): New function.
(cconv-closure-convert): Add assertion.

* lisp/emacs-lisp/map-ynp.el: Use lexical-binding.
(map-y-or-n-p): Remove unused vars `tail' and `object'.
Factor out some repeated code.
* etc/NEWS (utf-8 for el): Move to the incompatible section.

10 years agoChangeLog fix.
Xue Fuqiao [Thu, 13 Jun 2013 22:43:33 +0000 (06:43 +0800)]
ChangeLog fix.