]> git.eshelyaron.com Git - emacs.git/log
emacs.git
11 years ago* src/xwidget.c: Replace xwidget_views by Vxwidget_view_list.
Grégoire Jadi [Fri, 28 Jun 2013 19:18:47 +0000 (21:18 +0200)]
* src/xwidget.c: Replace xwidget_views by Vxwidget_view_list.

xwidget_views was an hardcoded array of fixed lenght of `struct
xwidget_view', Vxwidget_view_list is a list of Lisp_Object.

* src/xwidget.h (xwidget_view): Remove member `initialized'.

This field was only used to determine whether a given xwidget_view was
initialized or not in `xwidget_views'. Now only initialized xwidget_view
are stored in Vxwidget_view_list.

11 years ago* src/xwidget.c: Fix access to w in xwidget_view (now a Lisp_Object)
Grégoire Jadi [Fri, 28 Jun 2013 19:18:47 +0000 (21:18 +0200)]
* src/xwidget.c: Fix access to w in xwidget_view (now a Lisp_Object)
* src/xwidget.h (xwidget_view): Convert member `w' to Lisp_Object.

11 years ago* src/xwidget.h (XXWIDGET, XXWIDGET_VIEW): Use XUNTAG instead of XPNTR
Grégoire Jadi [Fri, 28 Jun 2013 19:18:45 +0000 (21:18 +0200)]
* src/xwidget.h (XXWIDGET, XXWIDGET_VIEW): Use XUNTAG instead of XPNTR
(copied from XBUFFER and friends).

11 years ago* src/xwidget.c (Fmake_xwidget): Use XSETXWIDGET instead of XSETPSEUDOVECTOR.
Grégoire Jadi [Fri, 28 Jun 2013 15:16:47 +0000 (17:16 +0200)]
* src/xwidget.c (Fmake_xwidget): Use XSETXWIDGET instead of XSETPSEUDOVECTOR.

11 years ago* src/xwidget.h (xwidget_view): Convert member `model' to Lisp_Object.
Grégoire Jadi [Fri, 28 Jun 2013 15:16:27 +0000 (17:16 +0200)]
* src/xwidget.h (xwidget_view): Convert member `model' to Lisp_Object.
(XXWIDGET_VIEW_P, XXWIDGET_VIEW): Add standard macros to manipulate xwidget_view.
* src/xwidget.c: Fix access to model in xwidget_view (now a Lisp_Object).

11 years agoHandle xwidgets like processes and delete them when their buffer is killed.
Grégoire Jadi [Mon, 24 Jun 2013 08:22:45 +0000 (10:22 +0200)]
Handle xwidgets like processes and delete them when their buffer is killed.

* lisp/xwidget.el (xwidget-kill-buffer-query-function): New function to
query a user before killing a buffer with xwidgets in it.

This function is stored in `kill-buffer-query-functions' and called from
`kill-buffer'.
* src/buffer.c (Fkill_buffer): Call `kill_buffer_xwidgets'.
* src/xwidget.c (kill_buffer_xwidgets): Delete xwidgets attached to the
specified buffer.
* src/xwidget.h (kill_buffer_xwidgets): Add definition.

11 years ago* src/xwidget.c (Fmake_xwidget): Store xwidget in Vxwidget_list.
Grégoire Jadi [Mon, 24 Jun 2013 08:22:45 +0000 (10:22 +0200)]
* src/xwidget.c (Fmake_xwidget): Store xwidget in Vxwidget_list.
(syms_of_xwidget): Rename Vxwidget_alist to Vxwidget_list and register
`get-buffer-xwidgets' as a new subr.
(Fget_buffer_xwidgets): New function to return a list of xwidgets attached
to the specified buffer.

11 years ago* src/xwidget.h (XXWIDGET): XXWIDGET expects a PSEUDOVECTOR not a display
Grégoire Jadi [Mon, 24 Jun 2013 08:14:54 +0000 (10:14 +0200)]
* src/xwidget.h (XXWIDGET): XXWIDGET expects a PSEUDOVECTOR not a display
spec.

11 years ago* src/xwidget.c: Fix a lot of errors when compiling with --enable-checking
Grégoire Jadi [Mon, 24 Jun 2013 07:45:38 +0000 (09:45 +0200)]
* src/xwidget.c: Fix a lot of errors when compiling with --enable-checking
and --enable-check-lisp-object-type.

11 years agoMerge branch 'jave-xwidget' into xwidget
Grégoire Jadi [Sat, 15 Jun 2013 09:24:47 +0000 (11:24 +0200)]
Merge branch 'jave-xwidget' into xwidget

11 years agoMerge branch 'trunk' into xwidget
Joakim Verona [Fri, 14 Jun 2013 21:54:26 +0000 (23:54 +0200)]
Merge branch 'trunk' into xwidget

11 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)

11 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

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

11 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

11 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.

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

11 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.

11 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

11 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

11 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

11 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.

11 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.

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

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

11 years ago* lisp/subr.el (with-eval-after-load): New macro.
Stefan Monnier [Thu, 13 Jun 2013 22:24:52 +0000 (18:24 -0400)]
* lisp/subr.el (with-eval-after-load): New macro.
(eval-after-load): Allow form to be a function.
take advantage of lexical-binding.
(do-after-load-evaluation): Use dolist and adjust to new format.
* lisp/simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
* doc/lispref/loading.texi (Hooks for Loading): Document with-eval-after-load
instead of eval-after-load.  Don't document after-load-alist.
* src/lread.c (syms_of_lread):
* src/fns.c (Fprovide): Adjust to new format of after-load-alist.

11 years ago* lisp/isearch.el (isearch-query-replace): Add " symbol" and other
Juri Linkov [Thu, 13 Jun 2013 22:08:45 +0000 (01:08 +0300)]
* lisp/isearch.el (isearch-query-replace): Add " symbol" and other
possible search modes from `isearch-message-prefix' to the prompt.
(isearch-occur): Use `with-isearch-suspended' to not exit Isearch
when reading a regexp to collect.

* lisp/replace.el (perform-replace): Display "symbol " and other search
modes from `isearch-message-prefix' in the *Help* buffer.

11 years ago* lisp/isearch.el (word-search-regexp): Match whitespace if the search
Juri Linkov [Thu, 13 Jun 2013 21:49:10 +0000 (00:49 +0300)]
* lisp/isearch.el (word-search-regexp): Match whitespace if the search
string begins or ends in whitespace.  The LAX arg is applied to
both ends of the search string.  Use `regexp-quote' and explicit
\< and \> instead of \b.  Use \` and \' instead of ^ and $.
(isearch-symbol-regexp): Sync with `word-search-regexp' where word
boundaries are replaced with symbol boundaries, and characters
between symbols match non-word non-symbol syntax.

Fixes: debbugs:14602
11 years ago* lisp/isearch.el (isearch-del-char): Don't exceed the length of `isearch-string'
Juri Linkov [Thu, 13 Jun 2013 21:11:42 +0000 (00:11 +0300)]
* lisp/isearch.el (isearch-del-char): Don't exceed the length of `isearch-string'
by the prefix arg.

Fixes: debbugs:14563
11 years agoAdd prefix arg to more isearch commands.
Juri Linkov [Thu, 13 Jun 2013 20:50:51 +0000 (23:50 +0300)]
Add prefix arg to more isearch commands.

* lisp/isearch.el (isearch-yank-word, isearch-yank-line)
(isearch-char-by-name, isearch-quote-char)
(isearch-printing-char, isearch-process-search-char):
Add optional count prefix arg.

* lisp/international/isearch-x.el (isearch-process-search-multibyte-characters):
Add optional count prefix arg.

Fixes: debbugs:14563
11 years ago* lisp/subr.el (internal-push-keymap, internal-pop-keymap): New functions.
Vitalie Spinu [Thu, 13 Jun 2013 20:43:53 +0000 (16:43 -0400)]
* lisp/subr.el (internal-push-keymap, internal-pop-keymap): New functions.
(set-temporary-overlay-map): Use them; and take advantage of
lexical-binding.

Fixes: debbugs:14095
11 years agotty-handle-args fix for bug#14608
Glenn Morris [Thu, 13 Jun 2013 17:59:10 +0000 (13:59 -0400)]
tty-handle-args fix for bug#14608

* startup.el (tty-handle-args): Don't just discard "--" and anything after.

11 years ago* DEBUG: Document -fno-omit-frame-pointer.
Paul Eggert [Thu, 13 Jun 2013 17:52:21 +0000 (10:52 -0700)]
* DEBUG: Document -fno-omit-frame-pointer.

11 years ago* lisp/gnus/sieve-manage.el (sieve-manage-open-server): Don't quote lambda.
Stefan Monnier [Thu, 13 Jun 2013 17:05:22 +0000 (13:05 -0400)]
* lisp/gnus/sieve-manage.el (sieve-manage-open-server): Don't quote lambda.
Use plist-get rather than CL's getf.
(sieve-manage-parse-capability): Avoid CL's remove-if.

11 years ago* DEBUG: Document -Og.
Paul Eggert [Thu, 13 Jun 2013 17:04:08 +0000 (10:04 -0700)]
* DEBUG: Document -Og.

11 years ago* emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
Glenn Morris [Thu, 13 Jun 2013 16:44:26 +0000 (09:44 -0700)]
* emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.

11 years agolisp/gnus/shr.el (shr-expand-url): Expansion should chop off the bits after the last...
Lars Magne Ingebrigtsen [Thu, 13 Jun 2013 14:31:52 +0000 (14:31 +0000)]
lisp/gnus/shr.el (shr-expand-url): Expansion should chop off the bits after the last slash
lisp/gnus/eww.el (eww-tag-select): Use the first value as the default value

11 years ago* src/xwidget.c: Add missing header.
Grégoire Jadi [Thu, 13 Jun 2013 14:02:48 +0000 (16:02 +0200)]
* src/xwidget.c: Add missing header.

The header webkit/webkitwebpolicydecision.h is required for
`webkit_web_policy_decision_download'.

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Thu, 13 Jun 2013 10:21:04 +0000 (06:21 -0400)]
Auto-commit of loaddefs files.

11 years agoImplement changes in Secret Service API. Make it backward compatible.
Michael Albinus [Thu, 13 Jun 2013 10:12:34 +0000 (12:12 +0200)]
Implement changes in Secret Service API.  Make it backward compatible.
* net/secrets.el (secrets-struct-secret-content-type): New defonst.
(secrets-create-item): Use it.  Prefix properties with interface.

11 years ago* lisp/xwidget.el (report-xwidget-bug): Add a function to submit a bug
Grégoire Jadi [Thu, 13 Jun 2013 07:42:41 +0000 (09:42 +0200)]
* lisp/xwidget.el (report-xwidget-bug): Add a function to submit a bug
with the proper address and pseudo-header.
* README.xwidget: Update the documentation to mention
`report-xwidget-bug'.

11 years ago* etc/NEWS: Mention term-suppress-hard-newline
Glenn Morris [Thu, 13 Jun 2013 06:35:32 +0000 (23:35 -0700)]
* etc/NEWS: Mention term-suppress-hard-newline

11 years agoFix typo in comment.
Michael Albinus [Thu, 13 Jun 2013 06:28:05 +0000 (08:28 +0200)]
Fix typo in comment.

11 years ago* admin/admin.el (manual-style-string): Use new file manual.css.
Glenn Morris [Thu, 13 Jun 2013 06:18:57 +0000 (23:18 -0700)]
* admin/admin.el (manual-style-string): Use new file manual.css.

11 years agolisp/gnus/eww.el (eww): Prepend urls with http:// if scheme is missing
Gnus developers [Thu, 13 Jun 2013 06:07:43 +0000 (06:07 +0000)]
lisp/gnus/eww.el (eww): Prepend urls with http:// if scheme is missing
(eww-mode): Use `define-derived-mode'
(eww-parse-headers): Parse headers from beginning of buffer so that file:// links work
(eww-detect-charset): Detect charset from the <meta> tag

11 years ago* term.el (term-suppress-hard-newline): New option (tiny change)
Michael Hoffman [Thu, 13 Jun 2013 05:27:05 +0000 (22:27 -0700)]
* term.el (term-suppress-hard-newline): New option (tiny change)
(term-emulate-terminal): Respect term-suppress-hard-newline.

Fixes: debbugs:12017
11 years ago* etc/NEWS: Add entry about utf-8 for elisp files
Glenn Morris [Thu, 13 Jun 2013 05:19:59 +0000 (22:19 -0700)]
* etc/NEWS: Add entry about utf-8 for elisp files

11 years ago* src/fileio.c (Fdo_auto_save): Trap errors in auto-save-hook (tiny change)
Kelly Dean [Thu, 13 Jun 2013 05:13:05 +0000 (22:13 -0700)]
* src/fileio.c (Fdo_auto_save): Trap errors in auto-save-hook (tiny change)

Fixes: debbugs:14479
11 years agoimage-dired-dired-toggle-marked-thumbs tiny change
E Sabof [Thu, 13 Jun 2013 05:10:48 +0000 (22:10 -0700)]
image-dired-dired-toggle-marked-thumbs tiny change

* lisp/image-dired.el (image-dired-dired-toggle-marked-thumbs):
Only remove a `thumb-file' overlay.

Fixes: debbugs:14548
11 years agolisp/gnus/shr.el (shr-tag-svg): Ignore <svg>
Lars Magne Ingebrigtsen [Wed, 12 Jun 2013 22:32:33 +0000 (22:32 +0000)]
lisp/gnus/shr.el (shr-tag-svg): Ignore <svg>

11 years agoMerge branch 'xwidget' of https://github.com/daimrod/xwidget-emacs into xwidget
Joakim Verona [Wed, 12 Jun 2013 21:37:36 +0000 (23:37 +0200)]
Merge branch 'xwidget' of https://github.com/daimrod/xwidget-emacs into xwidget

11 years agomerge upstream
Joakim Verona [Wed, 12 Jun 2013 21:08:43 +0000 (23:08 +0200)]
merge upstream

11 years agomention the git repo
Joakim Verona [Wed, 12 Jun 2013 21:04:28 +0000 (23:04 +0200)]
mention the git repo

11 years ago* mail/reporter.el (reporter-submit-bug-report): Handle missing package-name.
Grégoire Jadi [Wed, 12 Jun 2013 16:08:17 +0000 (09:08 -0700)]
* mail/reporter.el (reporter-submit-bug-report): Handle missing package-name.

Fixes: debbugs:14600
11 years agoMerge branch 'jave-xwidget' into xwidget
Grégoire Jadi [Wed, 12 Jun 2013 15:06:09 +0000 (17:06 +0200)]
Merge branch 'jave-xwidget' into xwidget

11 years ago* automated/reftex-tests.el (reftex-parse-from-file-test): Fix
Tassilo Horn [Wed, 12 Jun 2013 14:43:46 +0000 (16:43 +0200)]
* automated/reftex-tests.el (reftex-parse-from-file-test): Fix
test.

11 years ago* automated/reftex-tests.el: New test suite for reftex.
Tassilo Horn [Wed, 12 Jun 2013 12:49:25 +0000 (14:49 +0200)]
* automated/reftex-tests.el: New test suite for reftex.

11 years ago* textmodes/reftex-cite.el (reftex-cite-regexp-hist)
Tassilo Horn [Wed, 12 Jun 2013 12:42:35 +0000 (14:42 +0200)]
* textmodes/reftex-cite.el (reftex-cite-regexp-hist)
(reftex-citation-prompt, reftex-default-bibliography)
(reftex-bib-or-thebib, reftex-get-bibfile-list)
(reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
(reftex-bib-sort-author, reftex-bib-sort-year)
(reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
(reftex-extract-bib-entries-from-thebibliography)
(reftex-get-bibkey-default, reftex-get-bib-names)
(reftex-parse-bibtex-entry, reftex-get-bib-field)
(reftex-format-bib-entry, reftex-parse-bibitem)
(reftex-format-bibitem, reftex-do-citation)
(reftex-figure-out-cite-format, reftex-offer-bib-menu)
(reftex-restrict-bib-matches, reftex-extract-bib-file)
(reftex-insert-bib-matches, reftex-format-citation)
(reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
(reftex-create-bibtex-file): Add docstrings, mostly by converting
existing comments into docstrings.

11 years agoMerge from mainline.
Xue Fuqiao [Wed, 12 Jun 2013 12:12:47 +0000 (20:12 +0800)]
Merge from mainline.

11 years ago* lisp/ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
Xue Fuqiao [Wed, 12 Jun 2013 11:42:12 +0000 (19:42 +0800)]
* lisp/ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.

11 years agoMerge branch 'trunk' into xwidget
Joakim Verona [Wed, 12 Jun 2013 10:32:25 +0000 (12:32 +0200)]
Merge branch 'trunk' into xwidget

Conflicts:
src/Makefile.in
src/keyboard.c
src/termhooks.h

11 years agoAdd TAGS and leim/ja-dic to .gitignore
Andreas Schwab [Wed, 12 Jun 2013 10:31:24 +0000 (12:31 +0200)]
Add TAGS and leim/ja-dic to .gitignore

11 years ago* international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
Andreas Schwab [Wed, 12 Jun 2013 10:31:24 +0000 (12:31 +0200)]
* international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
for auto-save files.

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

11 years ago* src/emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate): Mark the end
Grégoire Jadi [Wed, 12 Jun 2013 09:16:44 +0000 (11:16 +0200)]
* src/emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate): Mark the end
of HAVE_XWIDGETS protection.

11 years ago* src/xwidget.c (syms_of_xwidget): Initialize Vxwidget_view_alist (typo).
Grégoire Jadi [Wed, 12 Jun 2013 08:17:17 +0000 (10:17 +0200)]
* src/xwidget.c (syms_of_xwidget): Initialize Vxwidget_view_alist (typo).

11 years ago* lisp/ido.el: Convert some function comments to basic doc strings
Glenn Morris [Wed, 12 Jun 2013 07:54:57 +0000 (00:54 -0700)]
* lisp/ido.el: Convert some function comments to basic doc strings

11 years ago* lisp/ido.el (ido-delete-ignored-files): Remove.
Glenn Morris [Wed, 12 Jun 2013 07:46:01 +0000 (00:46 -0700)]
* lisp/ido.el (ido-delete-ignored-files): Remove.
(ido-wide-find-dirs-or-files, ido-make-file-list-1):
Go back to calling ido-ignore-item-p directly.

Doesn't seem worth looping over files twice in ido-make-file-list-1.

11 years ago* ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold (tiny change)
Eyal Lotem [Wed, 12 Jun 2013 07:25:05 +0000 (00:25 -0700)]
* ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold (tiny change)

Fixes: debbugs:13003
11 years ago* lisp/ido.el (ido-delete-ignored-files): Rewrite to avoid cl-lib.
Glenn Morris [Wed, 12 Jun 2013 07:22:20 +0000 (00:22 -0700)]
* lisp/ido.el (ido-delete-ignored-files): Rewrite to avoid cl-lib.

11 years agoRespect ido-ignore-item-p in ido-wide-find-dirs-or-files (tiny change)
Eyal Lotem [Wed, 12 Jun 2013 07:18:49 +0000 (00:18 -0700)]
Respect ido-ignore-item-p in ido-wide-find-dirs-or-files (tiny change)

* lisp/ido.el (ido-delete-ignored-files): New function,
split from ido-make-file-list-1.
(ido-wide-find-dirs-or-files): Maybe ignore files.
(ido-make-file-list-1): Use ido-delete-ignored-files.

Fixes: debbugs:13003
11 years agoFix last change to octave.el
Leo Liu [Wed, 12 Jun 2013 02:58:03 +0000 (10:58 +0800)]
Fix last change to octave.el

11 years ago* progmodes/octave.el (inferior-octave-startup)
Leo Liu [Wed, 12 Jun 2013 02:37:38 +0000 (10:37 +0800)]
* progmodes/octave.el (inferior-octave-startup)
(inferior-octave-completion-table)
(inferior-octave-track-window-width-change)
(octave-eldoc-function-signatures, octave-help)
(octave-find-definition): Use single quoted strings.
(inferior-octave-startup-args): Change default value.
(inferior-octave-startup): Do not hard code "-i" and
"--no-line-editing".
(inferior-octave-resync-dirs): Add optional arg NOERROR.
(inferior-octave-directory-tracker): Use it.
(octave-goto-function-definition): Robustify.
(octave-help): Support highlighting operators in 'See also'.
(octave-find-definition): Find subfunctions only in Octave mode.

11 years ago* lisp/help-fns.el (help-fns--compiler-macro): If the handler function is
Stefan Monnier [Wed, 12 Jun 2013 02:16:02 +0000 (22:16 -0400)]
* lisp/help-fns.el (help-fns--compiler-macro): If the handler function is
named, then put a link to it.
* lisp/help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
* lisp/emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
(cl-typep): Use it.
(cl-eval-when): Simplify debug spec.
(cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
compiler-macro function instead of setting `compiler-macro-file'.

11 years agolisp/gnus/eww.el (eww-convert-widgets): Make widgets from non-tabular layouts work...
Lars Magne Ingebrigtsen [Wed, 12 Jun 2013 01:38:23 +0000 (01:38 +0000)]
lisp/gnus/eww.el (eww-convert-widgets): Make widgets from non-tabular layouts work, too
(eww-tag-select): Implement <select>

11 years ago* src/fileio.c (expand_file_name): Doc fix.
Xue Fuqiao [Wed, 12 Jun 2013 01:12:59 +0000 (09:12 +0800)]
* src/fileio.c (expand_file_name): Doc fix.

11 years agoFirst part of Daniel Hackney's patch to package.el.
Stefan Monnier [Wed, 12 Jun 2013 00:49:33 +0000 (20:49 -0400)]
First part of Daniel Hackney's patch to package.el.
* lisp/emacs-lisp/package.el: Use defstruct.
(package-desc): New, main struct.
(package--bi-desc, package--ac-desc): New structs, used to describe the
format in external files.
(package-desc-vers): Replace with package-desc-version accessor.
(package-desc-doc): Replace with package-desc-summary accessor.
(package-activate-1): Remove `package' arg since the pkg-vec now
includes the name.
(define-package): Use package-desc-from-define.
(package-unpack-single): Change file-name arg to be a symbol.
(package--add-to-archive-contents): Use package-desc-create and new
accessor functions to package--ac-desc.
(package-buffer-info, package-tar-file-info): Return a package-desc.
(package-install-from-buffer): Remove `type' argument.  Change pkg-info
arg to be a package-desc.
(package-install-file): Adjust accordingly.  Use \' to match EOS.
(package--from-builtin): New function.
(describe-package-1, package-menu--generate): Use it.
(package--make-autoloads-and-compile): Change name arg to be a symbol.
(package-generate-autoloads): Idem and return the name of the file.
* lisp/emacs-lisp/package-x.el (package-upload-buffer-internal):
Change pkg-info arg to be a package-desc.
Use package-make-ac-desc.
(package-upload-file): Use \' to match EOS.
* lisp/finder.el (finder-compile-keywords): Use package-make-builtin.

11 years ago* lisp/vc/vc.el (vc-deduce-fileset): Change error message.
Stefan Monnier [Tue, 11 Jun 2013 22:14:30 +0000 (18:14 -0400)]
* lisp/vc/vc.el (vc-deduce-fileset): Change error message.
(vc-read-backend): New function.
(vc-next-action): Use it.

11 years ago* lisp/subr.el (function-arity): Remove (mistakenly added).
Stefan Monnier [Tue, 11 Jun 2013 21:53:40 +0000 (17:53 -0400)]
* lisp/subr.el (function-arity): Remove (mistakenly added).

Fixes: debbugs:14590
11 years ago* lisp/progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
Stefan Monnier [Tue, 11 Jun 2013 21:38:35 +0000 (17:38 -0400)]
* lisp/progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
(prolog-font-lock-keywords): Use regexp-opt instead.
Don't manually highlight strings.
(prolog-mode-variables): Simplify comment-start-skip.
(prolog-consult-compile): Use display-buffer.  Remove unused old-filter.

11 years ago* lisp/emacs-lisp/generic.el (generic--normalise-comments)
Stefan Monnier [Tue, 11 Jun 2013 21:26:00 +0000 (17:26 -0400)]
* lisp/emacs-lisp/generic.el (generic--normalise-comments)
(generic-set-comment-syntax, generic-set-comment-vars): New functions.
(generic-mode-set-comments): Use them.
(generic-bracket-support): Use setq-local.
(generic-make-keywords-list): Declare obsolete.

11 years ago* src/xwidget.c: Prefix all Lisp keywords on the C side by QC (standard
Grégoire Jadi [Tue, 11 Jun 2013 21:05:18 +0000 (23:05 +0200)]
* src/xwidget.c: Prefix all Lisp keywords on the C side by QC (standard
convention).

This is done especially for Qtitle which is used here as a keyword but
which is also declared in frame.c and used as a regular symbol.

11 years agoTickle glib by waiting for Emacs itself, not for process 0.
Paul Eggert [Tue, 11 Jun 2013 18:34:06 +0000 (11:34 -0700)]
Tickle glib by waiting for Emacs itself, not for process 0.

* process.c (init_process_emacs) [HAVE_GLIB && !WINDOWSNT]:
Wait for self, not for 0.  This can't hurt on GNU or similar
system, and may help with Cygwin.

Fixes: debbugs:14569
11 years ago--without-all should imply --with-file-notification=no.
Paul Eggert [Tue, 11 Jun 2013 18:05:05 +0000 (11:05 -0700)]
--without-all should imply --with-file-notification=no.

* configure.ac (with_file_notification): Default to $with_features.

Fixes: debbugs:14569
11 years agolisp-mode font-lock fox for bug#14574
Glenn Morris [Tue, 11 Jun 2013 18:00:27 +0000 (14:00 -0400)]
lisp-mode font-lock fox for bug#14574

* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables):
Prettify after setting font-lock-defaults.

11 years agoFix typos.
Juanma Barranquero [Tue, 11 Jun 2013 16:51:12 +0000 (18:51 +0200)]
Fix typos.

* lisp/replace.el (query-replace, occur-read-regexp-defaults-function)
  (replace-search):
* lisp/subr.el (declare-function, number-sequence, local-set-key)
  (substitute-key-definition, locate-user-emacs-file)
  (with-silent-modifications, split-string, eval-after-load):
  Fix typos, remove unneeded backslashes and reflow some docstrings.

11 years agoRemove old code related to GOOCANVAS and CLUTTER.
Grégoire Jadi [Tue, 11 Jun 2013 15:22:47 +0000 (17:22 +0200)]
Remove old code related to GOOCANVAS and CLUTTER.

* configure.ac: Remove options to enable CLUTTER and GOOCANVAS support.
* src/Makefile.in: Remove CLUTTER_FLAGS and CLUTTER_LIBS
* src/xwidget.c: Remove code protected by preprocessor conditionals.

11 years ago* lisp/xwidget.el: Fix some warnings raised by the byte-compiler.
Grégoire Jadi [Tue, 11 Jun 2013 13:14:47 +0000 (15:14 +0200)]
* lisp/xwidget.el: Fix some warnings raised by the byte-compiler.

11 years ago* lisp/xwidget-test.el: Add missing provide.
Grégoire Jadi [Tue, 11 Jun 2013 13:14:47 +0000 (15:14 +0200)]
* lisp/xwidget-test.el: Add missing provide.

11 years ago* src/xwidget.c (Fmake_xwidget): Add a docstring and add BUFFER as an optional parameter.
Grégoire Jadi [Tue, 11 Jun 2013 13:14:43 +0000 (15:14 +0200)]
* src/xwidget.c (Fmake_xwidget): Add a docstring and add BUFFER as an optional parameter.

The docstring now lists the types accepted.
The GCPROtection has also been removed because it wasn't necessary (no
call to Feval/eval_sub either directly or indirectly).

(syms_of_xwidget): Add a comment to remind us to update the docstring of
`Fmake_xwidget' if new types are added.

11 years agoSmall fixes
Grégoire Jadi [Tue, 11 Jun 2013 13:12:58 +0000 (15:12 +0200)]
Small fixes

* lisp/xwidget.el: Do some cosmetic changes.

Align expressions, remove some whitespaces, remove duplicated provide,
replace (if foo foo bar) by (or foo bar)
* src/xwidget.c (Fmake_xwidget): Cosmetic changes and fix a comment.
* README.xwidget: Fix some typos.

11 years ago* lisp/international/mule-conf.el (file-coding-system-alist): Use utf-8 as
Stefan Monnier [Tue, 11 Jun 2013 12:51:18 +0000 (08:51 -0400)]
* lisp/international/mule-conf.el (file-coding-system-alist): Use utf-8 as
default for Elisp files.

11 years agoMake the example more intuitive.
Xue Fuqiao [Tue, 11 Jun 2013 11:37:56 +0000 (19:37 +0800)]
Make the example more intuitive.

* doc/lispref/files.texi (File Name Expansion): Make the example more
  intuitive.

11 years agolisp/gnus/sievel-manage.el: fully support STARTTLS, fix bit rot
Albert Krewinkel [Tue, 11 Jun 2013 07:32:25 +0000 (07:32 +0000)]
lisp/gnus/sievel-manage.el: fully support STARTTLS, fix bit rot

* Make sieve-manage-open work with STARTTLS: shorten stream managing
  functions by using open-protocol-stream to do most of the work.  Has
  the nice benefit of enabling STARTTLS.

* Remove unneeded functions and options: the following functions and
  options are neither in the API, nor called by any other function, so
  they are deleted:
  - sieve-manage-network-p
  - sieve-manage-network-open
  - sieve-manage-starttls-p
  - sieve-manage-starttls-open
  - sieve-manage-forward
  - sieve-manage-streams
  - sieve-manage-stream-alist

  The options could not be applied in a meaningful way anymore; they
  didn't happen to have much effect before.

* Cosmetic changes and code clean-up

* Enable Multibyte for SieveManage buffers: The parser won't properly
  handle umlauts and line endings unless multibyte is turned on in the
  process buffer.

* Wait for capabilities after STARTTLS: following RFC5804, the server
  sends new capabilities after successfully establishing a TLS
  connection with the client.  The client should update the cached list
  of capabilities, but we just ignore the answer for now.

11 years ago* doc/emacs/maintaining.texi (VC Directory Commands): Copyedit.
Glenn Morris [Tue, 11 Jun 2013 06:42:15 +0000 (23:42 -0700)]
* doc/emacs/maintaining.texi (VC Directory Commands): Copyedit.
(Branches): Put back milder version of pre 2013-06-07 text.

11 years ago* vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
Glenn Morris [Tue, 11 Jun 2013 06:36:06 +0000 (23:36 -0700)]
* vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
although define-derived-mode was doing this anyway.

Fixes: debbugs:14583
11 years ago* keyboard.c: Don't use PROP (...) as an lvalue.
Paul Eggert [Tue, 11 Jun 2013 04:15:49 +0000 (21:15 -0700)]
* keyboard.c: Don't use PROP (...) as an lvalue.

(parse_tool_bar_item) [!USE_GTK && !HAVE_NS]:
Use set_prop (A, B), not PROP (A) = B.

11 years agolisp/gnus/eww.el (eww-tag-input): Support password fields
Lars Magne Ingebrigtsen [Tue, 11 Jun 2013 03:09:59 +0000 (03:09 +0000)]
lisp/gnus/eww.el (eww-tag-input): Support password fields
(eww-submit): Support POST

11 years agoSpelling fixes.
Paul Eggert [Mon, 10 Jun 2013 23:02:33 +0000 (16:02 -0700)]
Spelling fixes.

11 years agolisp/gnus/eww.el (eww-tag-form): Protect against degenerate forms
Lars Magne Ingebrigtsen [Mon, 10 Jun 2013 22:28:35 +0000 (22:28 +0000)]
lisp/gnus/eww.el (eww-tag-form): Protect against degenerate forms