+2012-07-19 Chong Yidong <cyd@gnu.org>
+
+ * emacs.texi: Update ISBN.
+
2012-07-17 Chong Yidong <cyd@gnu.org>
* basic.texi (Inserting Text): Replace ucs-insert with
Published by the Free Software Foundation @*
51 Franklin Street, Fifth Floor @*
Boston, MA 02110-1301 USA @*
-ISBN 978-0-9831592-2-3
+ISBN 978-0-9831592-3-0
@sp 2
Cover art by Etienne Suvasa; cover design by Matt Lee.
+2012-07-21 Leo Liu <sdl.web@gmail.com>
+
+ * progmodes/cc-cmds.el (c-defun-name): Use
+ match-string-no-properties instead for consistency.
+
+2012-07-20 Leo Liu <sdl.web@gmail.com>
+
+ * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
+ (Bug#7879)
+
+ * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
+
+2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
+ * progmodes/bug-reference.el, misearch.el: Provide themselves
+ (bug#11915).
+
+ * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
+ of narrowed buffer (bug#11966).
+
2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
* ses.el (ses-rename-cell): Set new name also in reference list of
;; Author: Roland McGrath <roland@gnu.org>
;; Maintainer: FSF
;; Keywords: lisp, extensions
+;; Package: emacs
;; This file is part of GNU Emacs.
\f
(provide 'multi-isearch)
-
+(provide 'misearch)
;;; misearch.el ends here
;; Two minor modes are provided. One works on any text in the buffer;
;; the other operates only on comments and strings.
+;;; Code:
+
(defvar bug-reference-map
(let ((map (make-sparse-keymap)))
(define-key map [mouse-2] 'bug-reference-push-button)
(widen)
(bug-reference-unfontify (point-min) (point-max)))))
+(provide 'bug-reference)
;;; bug-reference.el ends here
;; DEFFLAGSET(syslog_opt_flags,LOG_PID ...) ==> syslog_opt_flags
(match-string-no-properties 1))
- ;; Objective-C method starting with + or -.
- ((and (derived-mode-p 'objc-mode)
- (looking-at "[-+]\s*("))
- (when (c-syntactic-re-search-forward ")\s*" nil t)
- (c-forward-token-2)
- (setq name-end (point))
- (c-backward-token-2)
- (buffer-substring-no-properties (point) name-end)))
+ ;; Objc selectors.
+ ((assq 'objc-method-intro (c-guess-basic-syntax))
+ (let ((bound (save-excursion (c-end-of-statement) (point)))
+ (kw-re (concat "\\(?:" c-symbol-key "\\)?:"))
+ (stretches))
+ (when (c-syntactic-re-search-forward c-symbol-key bound t t t)
+ (push (match-string-no-properties 0) stretches)
+ (while (c-syntactic-re-search-forward kw-re bound t t t)
+ (push (match-string-no-properties 0) stretches)))
+ (apply 'concat (nreverse stretches))))
(t
;; Normal function or initializer.
operator at the top level."
t (concat "[" c-alpha "_]")
java (concat "[" c-alpha "_@]")
- objc (concat "[" c-alpha "@]")
+ objc (concat "[" c-alpha "_@]")
pike (concat "[" c-alpha "_`]"))
(c-lang-defvar c-symbol-start (c-lang-const c-symbol-start))
(if end
;; Do the same for end, going small steps
(save-excursion
- (while (and end (get-text-property end 'syntax-type))
+ (while (and end (< end (point-max))
+ (get-text-property end 'syntax-type))
(setq pos end
end (next-single-property-change end 'syntax-type nil (point-max)))
(if end (progn (goto-char end)
;; Maintainer: FSF
;; Keywords: internal
+;; Package: emacs
;; This file is part of GNU Emacs.
(Lisp_Object window, Lisp_Object limit)
{
register struct window *w = decode_any_window (window);
-
w->combination_limit = limit;
-
return w->combination_limit;
}