]> git.eshelyaron.com Git - emacs.git/log
emacs.git
9 years agoetc/NEWS: Mention 'file-tree-walk'.
Eli Zaretskii [Wed, 3 Dec 2014 18:24:58 +0000 (20:24 +0200)]
etc/NEWS: Mention 'file-tree-walk'.

9 years agoFix gnutls.c build on MinGW
Chris Zheng [Wed, 3 Dec 2014 14:38:39 +0000 (15:38 +0100)]
Fix gnutls.c build on MinGW

Fixes: debbugs:19231
* gnutls.c (init_gnutls_functions, gnutls_certificate_details):
Use gnutls_sign_get_name directly because
gnutls_sign_algorithm_get_name is a macro on MinGW.
(init_gnutls_functions): Load missing gnutls_server_name_set.

9 years agoAdded file-tree-walk to files.el.
Eric S. Raymond [Wed, 3 Dec 2014 14:28:09 +0000 (09:28 -0500)]
Added file-tree-walk to files.el.

9 years ago* automated/tramp-tests.el (tramp-test29-vc-registered):
Michael Albinus [Wed, 3 Dec 2014 08:58:20 +0000 (09:58 +0100)]
* automated/tramp-tests.el (tramp-test29-vc-registered):
Fallback for changed `vc-register' argument list.

9 years agoFix tramp-tests, broken by incompatible vc.el change
Glenn Morris [Wed, 3 Dec 2014 06:15:54 +0000 (22:15 -0800)]
Fix tramp-tests, broken by incompatible vc.el change

* test/automated/tramp-tests.el (tramp-test29-vc-registered):
Update for recent incompatible change in vc-register.

9 years ago* lisp/whitespace.el (whitespace-big-indent-regexp): Add :version.
Glenn Morris [Tue, 2 Dec 2014 23:37:27 +0000 (18:37 -0500)]
* lisp/whitespace.el (whitespace-big-indent-regexp): Add :version.

9 years agoAdd filter macro, which does what you expect.
Eric S. Raymond [Tue, 2 Dec 2014 21:18:06 +0000 (16:18 -0500)]
Add filter macro, which does what you expect.

* subr.el (filter): New macro. Because it's just silly for a Lisp not
to have this in 2014.  And VC mode needs it.

9 years agoIn vc, abolish the dir-status method.
Eric S. Raymond [Tue, 2 Dec 2014 15:10:55 +0000 (10:10 -0500)]
In vc, abolish the dir-status method.

9 years agoAllow to search for characters whose bidi directionality was overridden.
Eli Zaretskii [Tue, 2 Dec 2014 14:13:47 +0000 (16:13 +0200)]
Allow to search for characters whose bidi directionality was overridden.

 src/bidi.c (bidi_find_first_overridden): New function.
 src/xdisp.c (Fbidi_find_overridden_directionality): New function.
 (syms_of_xdisp): Defsubr it.
 src/dispextern.h (bidi_find_first_overridden): Add prototype.

 doc/lispref/display.texi (Bidirectional Display): Document
 'bidi-find-overridden-directionality'.

 etc/NEWS: Mention 'bidi-find-overridden-directionality'.

9 years agoFixes: debbugs:9133
Jan Djärv [Tue, 2 Dec 2014 13:30:47 +0000 (14:30 +0100)]
Fixes: debbugs:9133
* nsimage.m (initFromSkipXBM:width:height:flip:length:): Set bmRep
to nil after release.

9 years agoEliminate an unuted function argument.
Eric S. Raymond [Tue, 2 Dec 2014 13:01:46 +0000 (08:01 -0500)]
Eliminate an unuted function argument.

* vc.el, all backends: API simplification: Remove 4th 'default-state'
argument from vc-dir-status files and its backend methods - no backend
method ever set it.  It was used only in the fallback method to to set
a default of 'up-to-date, though a convoluted call chain obscured
this.

9 years agoAnother longstanding to-do: bind vc-delete-file.
Eric S. Raymond [Tue, 2 Dec 2014 10:31:04 +0000 (05:31 -0500)]
Another longstanding to-do: bind vc-delete-file.

9 years agoClean up a longstanding to-do item.
Eric S. Raymond [Tue, 2 Dec 2014 09:38:08 +0000 (04:38 -0500)]
Clean up a longstanding to-do item.

* vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
improving behavior on directories using multiple file-oriented VCSEs.

9 years agoRemove clear-headers from VC's public method set.
Eric S. Raymond [Tue, 2 Dec 2014 04:49:35 +0000 (23:49 -0500)]
Remove clear-headers from VC's public method set.

* vc/vc.el and all backends: API simplification; clear-headers is no
longer a public method.  It is now local to the one place it's used,
in the RCS steal-lock method.

9 years agoFix minor bug introduced in 'Terminate vc-disable-async-diff'
Eric S. Raymond [Tue, 2 Dec 2014 03:56:01 +0000 (22:56 -0500)]
Fix minor bug introduced in 'Terminate vc-disable-async-diff'

9 years agoUpdate the git backend's header comment.
Eric S. Raymond [Tue, 2 Dec 2014 01:00:40 +0000 (20:00 -0500)]
Update the git backend's header comment.

9 years agoRemove could-register from the set of public VC backend methods,
Eric S. Raymond [Mon, 1 Dec 2014 23:54:28 +0000 (18:54 -0500)]
Remove could-register from the set of public VC backend methods,

* vc/vc.el and all backends: API simplification; could-register
is no longer a public method.  (vc-cvs.el still has a private
implementation.)

9 years agoDocument a trap for the unwary.
Eric S. Raymond [Mon, 1 Dec 2014 23:03:38 +0000 (18:03 -0500)]
Document a trap for the unwary.

9 years agoTerminate vc-disable-async-diff with extreme prejudice.
Eric S. Raymond [Mon, 1 Dec 2014 22:56:41 +0000 (17:56 -0500)]
Terminate vc-disable-async-diff with extreme prejudice.

* vc/vc.el, and all backends: API cleanup; the backend diff method
takes an explicit async flag.  This eliminates a particularly ugly
global.

9 years agoRestore ChangeLog entry clobbered earlier today.
Glenn Morris [Mon, 1 Dec 2014 21:35:13 +0000 (16:35 -0500)]
Restore ChangeLog entry clobbered earlier today.

9 years ago* lisp/vc/vc-svn.el: Remove stray comment char introduced earlier today.
Glenn Morris [Mon, 1 Dec 2014 21:32:04 +0000 (16:32 -0500)]
* lisp/vc/vc-svn.el: Remove stray comment char introduced earlier today.

9 years agoMerge some of the differences from the standalone CC-mode.
Stefan Monnier [Mon, 1 Dec 2014 20:06:49 +0000 (15:06 -0500)]
Merge some of the differences from the standalone CC-mode.

The main change is to only use the `category' text-property only when
available.  For that many calls are changed to use c-get-char-property,
c-next-single-property-change, c-sc-scan-lists,
c-sc-parse-partial-sexp, c-unmark-<->-as-paren.

* lisp/progmodes/cc-align.el (c-lineup-respect-col-0): New function.

* lisp/progmodes/cc-cmds.el (c-forward-into-nomenclature)
(c-backward-into-nomenclature): Use cc-subword if subword-mode is
not available.
(c-beginning-of-defun, c-end-of-defun, c-mark-function)
(c-indent-line-or-region): Use c-region-is-active-p.

* lisp/progmodes/cc-defs.el (c-version): Bump up to 5.33.
(c-use-category): New const.
(c-next-single-property-change): New macro.
(c-region-is-active-p): Prefer region-active-p when available.
(c-search-backward-char-property): Fix old min/max typo; probably
a copy/paste error.
(c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
Turn them into macros that obey c-use-category.
(c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
(c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
(c-sc-scan-lists, c-sc-parse-partial-sexp)
(c-looking-at-non-alphnumspace): New macros.
(c-sc-parse-partial-sexp-no-category): New function.
(c-emacs-features): Add `category-properties' element.

* lisp/progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
Handle the case where categories are not available.
(c-record-parse-state-state, c-replay-parse-state-state):
Handle marker values.
(c-before-change-check-<>-operators): Look for the `syntax-table'
property rather than for the corresponding `category'.
(c-looking-at-decl-block): Remove unused var
`c-disallow-comma-in-<>-arglists'.
(c-forward-<>-arglist-recur): Remove unused var
`orig-record-found-types'.

* lisp/progmodes/cc-langs.el (c-modified-constant): New lang var.
(c-known-type-key): Don't make a list just to throw it away.

* lisp/progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
(cc-bytecomp-original-functions, cc-bytecomp-original-properties)
(cc-bytecomp-loaded-files): Re-set each time the file is loaded.
(cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
(cc-bytecomp-obsolete-fun): Delete unused functions.

* lisp/progmodes/cc-mode.el (c-just-done-before-change): New var.
(c-basic-common-init): Initialize it.
(c-common-init): Only use mode-require-final-newline when available.
(c-before-change): Check and set c-just-done-before-change.
(c-after-change): Re-set c-just-done-before-change.
(c-advise-fl-for-region): New macro.
(lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
(font-lock-after-change-function, jit-lock-after-change):
Advise if needed.

9 years agobzr-state randomly/unpredictably fails on non-bzr files.
Eric S. Raymond [Mon, 1 Dec 2014 19:51:03 +0000 (14:51 -0500)]
bzr-state randomly/unpredictably fails on non-bzr files.

9 years agoshr-dom-print dom.el changes
Lars Magne Ingebrigtsen [Mon, 1 Dec 2014 19:17:39 +0000 (20:17 +0100)]
shr-dom-print dom.el changes

* net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
dom.el changes.

9 years agoChangeLog fix
Glenn Morris [Mon, 1 Dec 2014 18:48:43 +0000 (13:48 -0500)]
ChangeLog fix

9 years agoAuto-commit of loaddefs files.
Glenn Morris [Mon, 1 Dec 2014 18:36:14 +0000 (13:36 -0500)]
Auto-commit of loaddefs files.

9 years agoChangeLog fixes.
Glenn Morris [Mon, 1 Dec 2014 18:35:16 +0000 (13:35 -0500)]
ChangeLog fixes.

9 years ago* admin/update_autogen: Fix bogosity introduced in 2014-11-16 merge.
Glenn Morris [Mon, 1 Dec 2014 18:29:03 +0000 (13:29 -0500)]
* admin/update_autogen: Fix bogosity introduced in 2014-11-16 merge.

9 years ago* lisp/vc: Fix use of find-conflicted-file in Git.
Stefan Monnier [Mon, 1 Dec 2014 18:15:28 +0000 (13:15 -0500)]
* lisp/vc: Fix use of find-conflicted-file in Git.

* lisp/vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
current "project" rather than just the current directory.
* lisp/vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
the file names make sense.

9 years ago* lisp/vc/diff-mode.el (diff-kill-applied-hunks): New command.
Stefan Monnier [Mon, 1 Dec 2014 18:12:37 +0000 (13:12 -0500)]
* lisp/vc/diff-mode.el (diff-kill-applied-hunks): New command.
* lisp/vc/smerge-mode.el (smerge-swap): New command.

9 years agonewsticker: Prevent multiple "Could not download..." messages. Fixes bug#19166.
Ulf Jasper [Mon, 1 Dec 2014 18:14:54 +0000 (19:14 +0100)]
newsticker: Prevent multiple "Could not download..." messages.  Fixes bug#19166.

* lisp/net/newst-backend.el (newsticker--get-news-by-url-callback):
Pass correct status to `newsticker--sentinel-work'.
(newsticker--sentinel-work): Use "newsticker--download-error" as
guid in order to prevent multiple "Could not download..."
messages.  Fixes bug#19166.

* lisp/net/newst-treeview.el (newsticker--treeview-item-show): Check
window liveliness before measuring its width.

9 years agoCall `eww-after-render-hook' in the correct buffer
Ivan Shmakov [Mon, 1 Dec 2014 17:55:54 +0000 (18:55 +0100)]
Call `eww-after-render-hook' in the correct buffer

Fixes: debbugs:19225
* net/eww.el (eww-render): Call `eww-after-render-hook' in the
correct buffer.

9 years agoTest checkin to attempt to tickle a bug reported on the dev list.
Eric S. Raymond [Mon, 1 Dec 2014 17:05:32 +0000 (12:05 -0500)]
Test checkin to attempt to tickle a bug reported on the dev list.

9 years ago* net/nsm.el (network-security-level): Change the default to `medium'.
Lars Magne Ingebrigtsen [Mon, 1 Dec 2014 16:46:28 +0000 (17:46 +0100)]
* net/nsm.el (network-security-level): Change the default to `medium'.

9 years agoChangeLog typo fix.
Eric S. Raymond [Mon, 1 Dec 2014 16:44:34 +0000 (11:44 -0500)]
ChangeLog typo fix.

9 years agoRefactor VC merging to fix a layer violation.
Eric S. Raymond [Mon, 1 Dec 2014 16:41:45 +0000 (11:41 -0500)]
Refactor VC merging to fix a layer violation.

* vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
'merge-branch'. Prompting for merge revisions is pushed down to the
back ends; this fixes a layering violation that caused bad behavior
with SVN.

9 years ago* .gitignore: Ignore loaddefs directly under lisp, and in sub-sub-directories
Lars Magne Ingebrigtsen [Mon, 1 Dec 2014 16:11:50 +0000 (17:11 +0100)]
* .gitignore: Ignore loaddefs directly under lisp, and in sub-sub-directories

9 years agoMinor eww point placement fixup
Lars Magne Ingebrigtsen [Mon, 1 Dec 2014 16:09:01 +0000 (17:09 +0100)]
Minor eww point placement fixup

* net/eww.el (eww): Leave point in a place that doesn't cause
scrolling when displaying "Loading...".

9 years agoSmall but crucial change for new VC registration API.
Eric S. Raymond [Mon, 1 Dec 2014 15:59:05 +0000 (10:59 -0500)]
Small but crucial change for new VC registration API.

9 years agoUpdate some documentation changes and todo items.
Eric S. Raymond [Mon, 1 Dec 2014 15:57:09 +0000 (10:57 -0500)]
Update some documentation changes and todo items.

9 years agoFinish vc-stay-local containment.
Eric S. Raymond [Mon, 1 Dec 2014 15:47:27 +0000 (10:47 -0500)]
Finish vc-stay-local containment.

* vc/vc.el, vc-hooks.el, and all backends: API simplification;
vc-stay-local-p and repository-hostname are no longer public
methods. Only the CVS and SVN backends used these, and the SVN
support was conditioned out because svn status -v is too slow.
The CVS back end retaiin this machibery and the vc-stay-local
configuration variable now only affects it.

9 years agoConfine vc-stay-local to CVS, because it was unusable in SVN.
Eric S. Raymond [Mon, 1 Dec 2014 15:11:42 +0000 (10:11 -0500)]
Confine vc-stay-local to CVS, because it was unusable in SVN.

9 years agoRemove stay-local support in svn back end, because...
Eric S. Raymond [Mon, 1 Dec 2014 15:03:17 +0000 (10:03 -0500)]
Remove stay-local support in svn back end, because...

...status -v is so slow that it's unusable.

9 years agoNew macro `define-inline'.
Stefan Monnier [Mon, 1 Dec 2014 14:45:15 +0000 (09:45 -0500)]
New macro `define-inline'.

* lisp/emacs-lisp/inline.el: New file.

9 years agoRemove vc-state-heuristic from the set of public methods.
Eric S. Raymond [Mon, 1 Dec 2014 14:41:54 +0000 (09:41 -0500)]
Remove vc-state-heuristic from the set of public methods.

* vc/vc.el, vc-hooks.el, and all backends: API simplification;
vc-state-heuristic is no longer a public method, having been removed
where it is redundant, unnecessary, or known buggy. This eliminated
all backends except CVS.  Eliminates bug#7850.

9 years agoThe vc-mistrust-permissions configuration variable is gone.
Eric S. Raymond [Mon, 1 Dec 2014 14:08:26 +0000 (09:08 -0500)]
The vc-mistrust-permissions configuration variable is gone.

* vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el: Eliminate
vc-mistrust-permissions.  It was only relevant to the RCS and SCCS
back ends and defaulted to t. Code now always mistrusts permissions -
by actual measurement the effect on performance is negligible. As a
side effect bug#11490 is now irrelevant.

9 years agoAPI simplification: remove vc-workfile-unchanged-p from pubic methods.
Eric S. Raymond [Mon, 1 Dec 2014 13:24:27 +0000 (08:24 -0500)]
API simplification: remove vc-workfile-unchanged-p from pubic methods.

* vc/vc.el, vc-hooks.el, and all backends: API simplification;
vc-workfile-unchanged-p is no longer a public method (but the RCS and
SCCS back ends retain it as a private method used in state
computation). This method was redundant with vc-state and usually
implemented as a trivial call to same. Fixes the failure mode
described in bug#694.

9 years agoRenove duplicate code.
Eric S. Raymond [Mon, 1 Dec 2014 12:39:15 +0000 (07:39 -0500)]
Renove duplicate code.

9 years agoArgument removal inadvertently omitted from my previous commit.
Eric S. Raymond [Mon, 1 Dec 2014 12:08:40 +0000 (07:08 -0500)]
Argument removal inadvertently omitted from my previous commit.

9 years agoVC API simplification: remove ability to set initial revision.
Eric S. Raymond [Mon, 1 Dec 2014 11:23:10 +0000 (06:23 -0500)]
VC API simplification: remove ability to set initial revision.

This hasn't made any sense since RCS, and was a dumb stunt then.

* vc/vc.el and all backends: API simplification; init-revision is
gone, and vc-registered functions no longer take an initial-revision
argument.

9 years ago* lisp/gnus/gnus-cloud.el (gnus-cloud): Add :version tag.
Glenn Morris [Mon, 1 Dec 2014 08:28:08 +0000 (00:28 -0800)]
* lisp/gnus/gnus-cloud.el (gnus-cloud): Add :version tag.

9 years agoPort better to AddressSanitizer.
Paul Eggert [Sun, 30 Nov 2014 07:30:22 +0000 (23:30 -0800)]
Port better to AddressSanitizer.

These changes suffice for temacs on x86-64 with GCC 4.9.2 and
-fsanitize=address.
* alloc.c (valid_pointer_p) [ADDRESS_SANITIZER]:
Return -1 or 0, as the pipe trick doesn't work.
* alloc.c (relocatable_string_data_p, mark_object, sweep_symbols):
* data.c (Ffset):
* print.c (print_object):
When a pointer-check primitive returns -1, do not assume this
means the pointer is valid or that the underlying system has failed.
It could just be that addresses are being sanitized so Emacs can't
test for pointer validity.
* lisp.h (defined_GC_CHECK_STRING_BYTES): New constant.
(USE_STACK_STRING) [GC_CHECK_STRING_BYTES]: Now false, since the
string validity checker doesn't work on stack-based strings.

9 years agoChangeLog fix.
Glenn Morris [Sun, 30 Nov 2014 00:51:13 +0000 (16:51 -0800)]
ChangeLog fix.

9 years agoChangeLog fix: standardize some bug refs.
Glenn Morris [Sat, 29 Nov 2014 21:50:13 +0000 (13:50 -0800)]
ChangeLog fix: standardize some bug refs.

9 years agoAdd missing ChangeLog entry.
Glenn Morris [Sat, 29 Nov 2014 21:44:31 +0000 (13:44 -0800)]
Add missing ChangeLog entry.

9 years ago* lisp/vc/vc-filewise.el: Comment fixes.
Glenn Morris [Sat, 29 Nov 2014 21:38:29 +0000 (13:38 -0800)]
* lisp/vc/vc-filewise.el: Comment fixes.

9 years ago* lisp/vc/vc-src.el: Fix copy-pasted :version tags.
Glenn Morris [Sat, 29 Nov 2014 21:34:29 +0000 (13:34 -0800)]
* lisp/vc/vc-src.el: Fix copy-pasted :version tags.

9 years agoChangeLog fix
Glenn Morris [Sat, 29 Nov 2014 21:31:57 +0000 (13:31 -0800)]
ChangeLog fix

9 years agoFix up merged ChangeLog entries (dates, duplication, etc)
Glenn Morris [Sat, 29 Nov 2014 21:25:50 +0000 (13:25 -0800)]
Fix up merged ChangeLog entries (dates, duplication, etc)

9 years ago* outline.el (outline-move-subtree-down): Refactor and improve code.
Paul Rankin [Sat, 29 Nov 2014 13:56:59 +0000 (14:56 +0100)]
* outline.el (outline-move-subtree-down): Refactor and improve code.

9 years agoSpelling fix.
Paul Eggert [Sat, 29 Nov 2014 07:54:57 +0000 (23:54 -0800)]
Spelling fix.

9 years agoImprove clarity of USE_LSB_TAG definition.
Paul Eggert [Sat, 29 Nov 2014 07:38:41 +0000 (23:38 -0800)]
Improve clarity of USE_LSB_TAG definition.

Problem reported by Lee Duhem.  Suggestion by Andreas Schwab in:
http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg02222.html
* lisp.h (USE_LSB_TAG): Define in terms of the (simpler)
VAL_MAX / 2 rather than in terms of the (more complicated)
EMACS_INT_MAX >> GCTYPEBITS, and adjust commentary to match.

9 years agoMerge branch 'emacs-24'.
Paul Eggert [Sat, 29 Nov 2014 06:55:31 +0000 (22:55 -0800)]
Merge branch 'emacs-24'.

9 years ago* configure.ac: Simplify gnutls tests.
Glenn Morris [Sat, 29 Nov 2014 03:00:15 +0000 (19:00 -0800)]
* configure.ac: Simplify gnutls tests.

Ref: http://debbugs.gnu.org/19168#21

9 years ago* .gitignore: Add entries for emacsvers files.
Stefan Monnier [Fri, 28 Nov 2014 23:18:57 +0000 (18:18 -0500)]
* .gitignore: Add entries for emacsvers files.

9 years ago* lisp/simple.el (execute-extended-command--shorter): Fix the "M-p" case.
Stefan Monnier [Fri, 28 Nov 2014 23:14:38 +0000 (18:14 -0500)]
* lisp/simple.el (execute-extended-command--shorter): Fix the "M-p" case.

Fixes: debbugs:19152
9 years agoFix two issues around help-window-select. (Bug#11039) (Bug#19012)
Martin Rudalics [Fri, 28 Nov 2014 17:12:32 +0000 (18:12 +0100)]
Fix two issues around help-window-select.  (Bug#11039) (Bug#19012)

* help.el (help-window-old-frame): New variable.
(help-window-select): Default to nil (Bug#11039).  Rewrite
doc-string.
(help-window-setup): When the help window appears on another
frame and `help-window-select' is non-nil, give that frame input
focus too (Bug#19012).
(with-help-window): Store selected frame in
help-window-old-frame.

9 years agonewsticker: Take care of nil value for `newsticker-groups-filename'.
Ulf Jasper [Fri, 28 Nov 2014 15:27:34 +0000 (16:27 +0100)]
newsticker: Take care of nil value for `newsticker-groups-filename'.

* lisp/net/newst-treeview.el (newsticker--treeview-load): Take care of
nil value for `newsticker-groups-filename'.

9 years agoepg: Use epg-context-set-*-callback for extra treatment of args
Daiki Ueno [Fri, 28 Nov 2014 06:59:23 +0000 (15:59 +0900)]
epg: Use epg-context-set-*-callback for extra treatment of args

* epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
(epa-sign-region, epa-encrypt-region): Use
`epg-context-set-{passphrase,progress}-callback', instead of
`setf'.  This partially reverts commit 9e48a95c (bug#19150).
Reported by José A. Romero L.

9 years agoadmin: Add documentation for gitmerge.el
David Engster [Thu, 27 Nov 2014 22:17:40 +0000 (23:17 +0100)]
admin: Add documentation for gitmerge.el

* gitmerge.el: New file.
* notes/git-workflow: Add documentation for using it.

9 years agoFix typo in last checkin
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 20:26:49 +0000 (21:26 +0100)]
Fix typo in last checkin

* eww.el (eww-restore-history): Bind
`inhibit-modification-hooks' instead of `after-change-functions'.

9 years ago* net/eww.el (eww-restore-history): Bind `inhibit-modification-hooks'
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 19:28:34 +0000 (20:28 +0100)]
* net/eww.el (eww-restore-history): Bind `inhibit-modification-hooks'

instead of `after-change-functions'.

9 years ago(eww-process-text-input): Try to keep track of the size more reliably.
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 19:26:24 +0000 (20:26 +0100)]
(eww-process-text-input): Try to keep track of the size more reliably.

9 years agonewsticker: Handle embedded (x)html in atom feeds.
Ulf Jasper [Thu, 27 Nov 2014 18:32:08 +0000 (19:32 +0100)]
newsticker: Handle embedded (x)html in atom feeds.

* lisp/net/newst-backend.el (newsticker--parse-atom-1.0): Handle
embedded (x)html in summary node.

9 years agoUse `mouse-menu-bar-map' when no other menus are available.
Sam Steingold [Thu, 27 Nov 2014 18:17:42 +0000 (13:17 -0500)]
Use `mouse-menu-bar-map' when no other menus are available.

* lisp/menu-bar.el (menu-bar-open): When everything else fails,
use (mouse-menu-bar-map).

9 years agonewsticker: Change wording of confirmation prompt regarding obsolete variable `newsti...
Ulf Jasper [Thu, 27 Nov 2014 17:37:47 +0000 (18:37 +0100)]
newsticker: Change wording of confirmation prompt regarding obsolete variable `newsticker-groups-filename'.

Fixes: debbugs:19165
* lisp/net/newst-treeview.el (newsticker-groups-filename): Change
default value to nil.  Point out that variable is obsolete in doc
string.
(newsticker--treeview-load): Change wording of the questions the
user is asked when `newsticker-groups-filename' is found to be
used and we offer to read and remove the groups file.

9 years agoadmin: Add gitmerge.el
David Engster [Thu, 27 Nov 2014 17:22:00 +0000 (18:22 +0100)]
admin: Add gitmerge.el

* gitmerge.el: New file.

9 years ago(eww-mode): Revert mistanken removal of `buffer-disable-undo'.
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 16:52:08 +0000 (17:52 +0100)]
(eww-mode): Revert mistanken removal of `buffer-disable-undo'.

9 years agoAdd more sanity checks to the last eww after-change-function patch
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 16:50:05 +0000 (17:50 +0100)]
Add more sanity checks to the last eww after-change-function patch

9 years ago(eww-process-text-input): Fix deletion at the start of the field, too.
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 16:42:28 +0000 (17:42 +0100)]
(eww-process-text-input): Fix deletion at the start of the field, too.

9 years agoFix bug #19201 with after-strings not being displayed.
Eli Zaretskii [Thu, 27 Nov 2014 16:35:27 +0000 (18:35 +0200)]
Fix bug #19201 with after-strings not being displayed.

 src/xdisp.c (handle_single_display_spec): When ignoring a fringe
 bitmap display, reset the ignore_overlay_strings_at_pos_p flag.
 (next_element_from_buffer): When done with overlays, reset the
 ignore_overlay_strings_at_pos_p flag.

9 years ago(eww-restore-history): Inhibit change functions while restoring the history.
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 16:23:32 +0000 (17:23 +0100)]
(eww-restore-history): Inhibit change functions while restoring the history.

9 years agoeww input field fixup
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 16:19:52 +0000 (17:19 +0100)]
eww input field fixup

Fixes: debbugs:19085
(eww-process-text-input): Don't shorten the input field if
deleting at the last character.

9 years agoRecord the right URL in eww
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 16:06:26 +0000 (17:06 +0100)]
Record the right URL in eww

* net/eww.el (eww): Record the new URL immediately, so that if the
HTTP fetch fails, we have the right URL in the buffer.

9 years agoAdd a DOM pretty-printing function
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 15:57:22 +0000 (16:57 +0100)]
Add a DOM pretty-printing function

* doc/lispref/text.texi (Document Object Model): Mention `dom-pp'.

* lisp/dom.el (dom-pp): New function.

9 years ago* NEWS: Mention dom.el.
Lars Magne Ingebrigtsen [Thu, 27 Nov 2014 11:36:08 +0000 (12:36 +0100)]
* NEWS: Mention dom.el.

9 years agooutline.el: Fix subtree movement.
Stephen Berman [Thu, 27 Nov 2014 10:03:58 +0000 (11:03 +0100)]
outline.el: Fix subtree movement.

Fixes: debbugs:19102
Co-authored-by: Stefan Monnier <monnier@iro.umontreal.ca>
* outline.el (outline-move-subtree-down): Make sure we can move
forward to find the end of the subtree and the insertion point.

9 years agoBackport regexp stack overflow fix from emacs-24.
Leonard Randall [Thu, 27 Nov 2014 08:38:21 +0000 (09:38 +0100)]
Backport regexp stack overflow fix from emacs-24.

* textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
for comment lines non-greedy and stopping at newlines to fix stack
overflows with large files. [Backport]

Signed-off-by: Tassilo Horn <tsdh@gnu.org>
9 years agoReplace uses of _W64 with MINGW_W64
Oscar Fuentes [Thu, 27 Nov 2014 03:03:07 +0000 (04:03 +0100)]
Replace uses of _W64 with MINGW_W64

This is the `master' branch follow-up to the change made previously on
the emacs-24 branch (81e0cca7bbc99dbfda898a8aaab740ae121cf045).

    * src/w32.c: Use MINGW_W64 instead of _W64.

    * src/w32heap.c: Likewise.

9 years ago* lisp/progmodes/python.el (python-shell-completion-setup-code): Use
Fabián Ezequiel Gallina [Thu, 27 Nov 2014 02:45:24 +0000 (23:45 -0300)]
* lisp/progmodes/python.el (python-shell-completion-setup-code): Use
__builtin__ module (or builtins in Python 3) and catch all errors
when importing readline and rlcompleter.

9 years agoMerge branch 'emacs-24'
Ted Zlatanov [Thu, 27 Nov 2014 02:31:11 +0000 (21:31 -0500)]
Merge branch 'emacs-24'

Conflicts:
nt/addsection.c
nt/inc/ms-w32.h
src/w32.c

9 years agoGnus: fix XEmacs compilation
Katsumi Yamaoka [Thu, 27 Nov 2014 01:33:09 +0000 (01:33 +0000)]
Gnus: fix XEmacs compilation

9 years agoBetter display for `paranoid' `network-security-level'
Lars Magne Ingebrigtsen [Wed, 26 Nov 2014 23:44:54 +0000 (00:44 +0100)]
Better display for `paranoid' `network-security-level'

* net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
when querying about new certificates.

9 years ago* net/shr.el (shr-make-table-1): dom.el changes for table rendering.
Lars Magne Ingebrigtsen [Wed, 26 Nov 2014 23:03:09 +0000 (00:03 +0100)]
* net/shr.el (shr-make-table-1): dom.el changes for table rendering.

9 years agotodo-mode.el: Handle calling revert-buffer.
Stephen Berman [Wed, 26 Nov 2014 22:17:41 +0000 (23:17 +0100)]
todo-mode.el: Handle calling revert-buffer.

Fixes: debbugs:19187
* calendar/todo-mode.el: (todo-revert-buffer): New function.
(todo-modes-set-1): Use it as the buffer-local value of
revert-buffer-function.

9 years agoOnly send SNI if the host name is not an IP address
Lars Magne Ingebrigtsen [Wed, 26 Nov 2014 22:11:57 +0000 (23:11 +0100)]
Only send SNI if the host name is not an IP address

* gnutls.c (gnutls_ip_address_p): New function.
(Fgnutls_boot): Only send SNI if the host name is not an IP address.

9 years agotodo-mode.el: Handle calling todo-mode interactively.
Stephen Berman [Wed, 26 Nov 2014 22:00:42 +0000 (23:00 +0100)]
todo-mode.el: Handle calling todo-mode interactively.

Fixes: debbugs:19112
* calendar/todo-mode.el (todo-mode): If called interactively, just
display a message saying to call todo-show to enter Todo mode.

9 years ago* gnutls.c (Fgnutls_boot): Send the server name over
Toke Høiland-Jørgensen [Wed, 26 Nov 2014 21:56:57 +0000 (22:56 +0100)]
* gnutls.c (Fgnutls_boot): Send the server name over

Fixes: debbugs:18208
* gnutls.c (Fgnutls_boot): Send the server name over (bug#18208).

9 years agoFurther eww dom.el cleanups
Lars Magne Ingebrigtsen [Wed, 26 Nov 2014 21:08:44 +0000 (22:08 +0100)]
Further eww dom.el cleanups

* net/eww.el (eww-tag-title): Use `dom-text'.

* dom.el (dom-by-tag): Use `equal' for comparisons so that tags
can be strings.
(dom-elements): Protect against non-text nodes.
(dom-non-text-children): New function.

9 years agoconfigure.ac [MINGW]: Fix the way of getting the right host platform.
Dani Moncayo [Wed, 26 Nov 2014 19:59:07 +0000 (20:59 +0100)]
configure.ac [MINGW]: Fix the way of getting the right host platform.

* configure.ac [MINGW]: Fix the way of getting the right host
platform.