summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2014-11-09 23:39:35 -0800
committerGlenn Morris <rgm@gnu.org>2014-11-09 23:39:35 -0800
commitc832df2ec2f6528bc35f69f9fd9a4b2e470d2ebe (patch)
tree98a77f1acdac589d1be95dea128af1af7e8dc286
parenteca1ea96559e04e18a62a61208d501c557dd4cab (diff)
parentedfdb22f674312389ccf5d5e37efa4d3f1516994 (diff)
downloademacs-c832df2ec2f6528bc35f69f9fd9a4b2e470d2ebe.tar.gz
Merge from emacs-24; up to 117698
-rw-r--r--admin/ChangeLog5
-rw-r--r--admin/unidata/Makefile.in2
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/erc/ChangeLog5
-rw-r--r--lisp/erc/erc-backend.el4
-rw-r--r--lisp/erc/erc-button.el2
-rw-r--r--lisp/erc/erc-join.el4
-rw-r--r--lisp/erc/erc-match.el2
-rw-r--r--lisp/erc/erc-stamp.el2
-rw-r--r--lisp/erc/erc.el4
-rw-r--r--lisp/startup.el1
-rw-r--r--src/ChangeLog14
-rw-r--r--src/fileio.c7
-rw-r--r--src/nsterm.h2
-rw-r--r--src/nsterm.m18
15 files changed, 54 insertions, 22 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index 17de5a49902..1c439504892 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-10 Eli Zaretskii <eliz@gnu.org>
+
+ * unidata/Makefile.in (${top_srcdir}/src/macuvs.h): Use
+ unmsys--file-name. (Bug#18955)
+
2014-11-10 Glenn Morris <rgm@gnu.org>
* admin.el (set-version): No need to update doc/man/emacs.1.
diff --git a/admin/unidata/Makefile.in b/admin/unidata/Makefile.in
index 05d3f929f18..94504818d12 100644
--- a/admin/unidata/Makefile.in
+++ b/admin/unidata/Makefile.in
@@ -41,7 +41,7 @@ all: ${top_srcdir}/src/macuvs.h unifiles
${top_srcdir}/src/macuvs.h: ${srcdir}/uvs.el ${srcdir}/IVD_Sequences.txt | \
${srcdir}/uvs.elc
${emacs} -L ${srcdir} -l uvs \
- --eval '(uvs-print-table-ivd "${srcdir}/IVD_Sequences.txt" "Adobe-Japan1")' \
+ --eval '(uvs-print-table-ivd (unmsys--file-name "${srcdir}/IVD_Sequences.txt") "Adobe-Japan1")' \
> $@
%.elc: %.el
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 94473f03b7f..c170c50c9f8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-10 Glenn Morris <rgm@gnu.org>
+
+ * startup.el (command-line): Handle nil elements in load-path.
+
2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
* help.el (view-lossage): Include the actual commands run.
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog
index 0875994e775..475b99edb93 100644
--- a/lisp/erc/ChangeLog
+++ b/lisp/erc/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-10 Kelvin White <kwhite@gnu.org>
+
+ * erc-match.el, erc-join.el, erc-stamp.el, erc-backend.el, erc.el:
+ * erc-button.el: Update version to 24.5.
+
2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
* erc.el (erc-send-input): Bind `str' dynamically (bug#18936).
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el
index fb22f58822d..2c6b03720f0 100644
--- a/lisp/erc/erc-backend.el
+++ b/lisp/erc/erc-backend.el
@@ -333,7 +333,7 @@ Good luck."
This will only be consulted if the coding system in
`erc-server-coding-system' is `undecided'."
:group 'erc-server
- :version "24.1"
+ :version "24.5"
:type '(repeat coding-system))
(defcustom erc-server-coding-system (if (and (fboundp 'coding-system-p)
@@ -400,7 +400,7 @@ isn't displayed."
(defcustom erc-server-timestamp-format "%Y-%m-%d %T"
"Timestamp format used with server response messages.
This string is processed using `format-time-string'."
- :version "24.3"
+ :version "24.5"
:type 'string
:group 'erc-server)
diff --git a/lisp/erc/erc-button.el b/lisp/erc/erc-button.el
index 6e2c60cf6fa..b83fd9eeeb9 100644
--- a/lisp/erc/erc-button.el
+++ b/lisp/erc/erc-button.el
@@ -183,7 +183,7 @@ PAR is a number of a regexp grouping whose text will be passed to
'nicknames, these are ignored, and CALLBACK will be called with
the nickname matched as the argument."
:group 'erc-button
- :version "24.3" ; remove finger (bug#4443)
+ :version "24.5" ; remove finger (bug#4443)
:type '(repeat
(list :tag "Button"
(choice :tag "Matches"
diff --git a/lisp/erc/erc-join.el b/lisp/erc/erc-join.el
index e47e6e0c89e..0a24cb864da 100644
--- a/lisp/erc/erc-join.el
+++ b/lisp/erc/erc-join.el
@@ -83,7 +83,7 @@ If the value is `ident', autojoin after successful NickServ
identification, or after `erc-autojoin-delay' seconds.
Any other value means the same as `connect'."
:group 'erc-autojoin
- :version "24.1"
+ :version "24.5"
:type '(choice (const :tag "On Connection" connect)
(const :tag "When Identified" ident)))
@@ -93,7 +93,7 @@ This only takes effect if `erc-autojoin-timing' is `ident'.
If NickServ identification occurs before this delay expires, ERC
autojoins immediately at that time."
:group 'erc-autojoin
- :version "24.1"
+ :version "24.5"
:type 'integer)
(defcustom erc-autojoin-domain-only t
diff --git a/lisp/erc/erc-match.el b/lisp/erc/erc-match.el
index b10da96f6f4..a8a4e58362c 100644
--- a/lisp/erc/erc-match.el
+++ b/lisp/erc/erc-match.el
@@ -237,7 +237,7 @@ current-nick, keyword, pal, dangerous-host, fool"
useful for excluding all the things like MOTDs from the server
and other miscellaneous functions."
:group 'erc-match
- :version "24.3"
+ :version "24.5"
:type 'boolean)
;; Internal variables:
diff --git a/lisp/erc/erc-stamp.el b/lisp/erc/erc-stamp.el
index 39ffbb4bf38..37982069abe 100644
--- a/lisp/erc/erc-stamp.el
+++ b/lisp/erc/erc-stamp.el
@@ -151,7 +151,7 @@ the minibuffer."
"Whether the timestamps should be intangible, i.e. prevent the point
from entering them and instead jump over them."
:group 'erc-stamp
- :version "25.1"
+ :version "24.5"
:type 'boolean)
(defface erc-timestamp-face '((t :weight bold :foreground "green"))
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index 37b24eaaa60..4acb7340fb2 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -104,7 +104,7 @@
(defgroup erc-lurker nil
"Hide specified message types sent by lurkers"
- :version "24.3"
+ :version "24.5"
:group 'erc-ignore)
(defgroup erc-query nil
@@ -5291,7 +5291,7 @@ into the ERC buffer, that text is not sent to the IRC server.
If the value is nil, `erc-send-current-line' always considers any
submitted line to be intentional."
:group 'erc
- :version "24.4"
+ :version "24.5"
:type '(choice number (other :tag "disabled" nil)))
(defun erc-send-current-line ()
diff --git a/lisp/startup.el b/lisp/startup.el
index a1d1c3120fb..c04b16c43c4 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1286,6 +1286,7 @@ the `--debug-init' option to view a complete error backtrace."
(let (warned)
(dolist (dir load-path)
(and (not warned)
+ (stringp dir)
(string-equal (file-name-as-directory (expand-file-name dir))
(expand-file-name user-emacs-directory))
(setq warned t)
diff --git a/src/ChangeLog b/src/ChangeLog
index b51f3c15a66..d44de652dde 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,17 @@
+2014-11-10 Eli Zaretskii <eliz@gnu.org>
+
+ * fileio.c (Finsert_file_contents): Invalidate buffer caches also
+ when the inserted text does not need decoding. (Bug#18982)
+
+2014-11-10 Jan Djärv <jan.h.d@swipnet.se>
+
+ * nsterm.h (EmacsScroller): judge returns bool.
+
+ * nsterm.m (ns_set_vertical_scroll_bar): Release bar.
+ (ns_judge_scroll_bars): Only set removed if judge returns true.
+ (judge): Returns bool == condemned. Remove self from window.
+ (setPosition:portion:whole:): Remove raise SIGIO (Bug#18757).
+
2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
* keyboard.c (command_loop_1): Record this-command in recent-keys.
diff --git a/src/fileio.c b/src/fileio.c
index cdbd0be28ad..7d7b0b3148f 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4329,8 +4329,11 @@ by calling `format-decode', which see. */)
coding_system = CODING_ID_NAME (coding.id);
}
else if (inserted > 0)
- adjust_after_insert (PT, PT_BYTE, PT + inserted, PT_BYTE + inserted,
- inserted);
+ {
+ invalidate_buffer_caches (current_buffer, PT, PT + inserted);
+ adjust_after_insert (PT, PT_BYTE, PT + inserted, PT_BYTE + inserted,
+ inserted);
+ }
/* Call after-change hooks for the inserted text, aside from the case
of normal visiting (not with REPLACE), which is done in a new buffer
diff --git a/src/nsterm.h b/src/nsterm.h
index 7997072dcac..b33e6b2ee08 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -396,7 +396,7 @@ typedef float EmacsCGFloat;
- repeatScroll: (NSTimer *)sender;
- condemn;
- reprieve;
-- judge;
+- (bool)judge;
@end
diff --git a/src/nsterm.m b/src/nsterm.m
index 577b2a27724..64951da308f 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -3803,6 +3803,7 @@ ns_set_vertical_scroll_bar (struct window *window,
bar = XNS_SCROLL_BAR (window->vertical_scroll_bar);
[bar removeFromSuperview];
wset_vertical_scroll_bar (window, Qnil);
+ [bar release];
}
ns_clear_frame_area (f, left, top, width, height);
unblock_input ();
@@ -3996,8 +3997,8 @@ ns_judge_scroll_bars (struct frame *f)
{
view = [subviews objectAtIndex: i];
if (![view isKindOfClass: [EmacsScroller class]]) continue;
- [view judge];
- removed = YES;
+ if ([view judge])
+ removed = YES;
}
if (removed)
@@ -7227,9 +7228,10 @@ if (cols > 0 && rows > 0)
}
-- judge
+-(bool)judge
{
NSTRACE (judge);
+ bool ret = condemned;
if (condemned)
{
EmacsView *view;
@@ -7238,11 +7240,14 @@ if (cols > 0 && rows > 0)
view = (EmacsView *)FRAME_NS_VIEW (frame);
if (view != nil)
view->scrollbarsNeedingUpdate++;
+ if (window)
+ wset_vertical_scroll_bar (window, Qnil);
+ window = 0;
[self removeFromSuperview];
[self release];
unblock_input ();
}
- return self;
+ return ret;
}
@@ -7297,11 +7302,6 @@ if (cols > 0 && rows > 0)
#endif
}
- /* Events may come here even if the event loop is not running.
- If we don't enter the event loop, the scroll bar will not update.
- So send SIGIO to ourselves. */
- if (apploopnr == 0) raise (SIGIO);
-
return self;
}