1. 10 May, 2011 1 commit
    • Glenn Morris's avatar
      Deprecate using "mode:" to enable minor modes (bug#8613) · b8f82dc1
      Glenn Morris authored
      * lisp/files.el (hack-one-local-variable-eval-safep):
      Consider "eval: (foo-mode)" to be safe.
      
      * doc/emacs/custom.texi (Specifying File Variables):
      Deprecate using mode: for minor modes.
      
      * etc/NEWS: Mention this.
      
      * lisp/doc-view.el, lisp/net/soap-client.el:
      Change "mode:" minor-mode file local variables to use "eval:".
      b8f82dc1
  2. 07 May, 2011 1 commit
  3. 06 May, 2011 2 commits
    • Glenn Morris's avatar
      Allow per-appointment warning times. · 5006e634
      Glenn Morris authored
      * lisp/calendar/appt.el (appt-message-warning-time): Doc fix.
      (appt-warning-time-regexp): New option.
      (appt-make-list): Respect appt-message-warning-time.
      
      * doc/emacs/calendar.texi (Appointments): Mention appt-warning-time-regexp.
      
      * etc/NEWS: Mention this.
      5006e634
    • Glenn Morris's avatar
      Add diary comments feature. · 548d0a63
      Glenn Morris authored
      * lisp/calendar/diary-lib.el (diary-comment-start, diary-comment-end):
      New options.
      (diary-add-to-list): Strip comments from the displayed string.
      (diary-mode): Set comment-start and comment-end.
      
      * doc/emacs/cal-xtra.texi (Fancy Diary Display): Mention diary comments.
      
      * etc/NEWS: Mention this.
      548d0a63
  4. 02 May, 2011 1 commit
  5. 24 Apr, 2011 1 commit
    • Uday S Reddy's avatar
      Fix next-file command in etags.el. · 7031be6d
      Uday S Reddy authored
      * lisp/progmodes/etags.el (next-file): Don't use set-buffer to change
      buffers (Bug#8478).
      
      * doc/lisp/maintaining.texi (List Tags): Document next-file.
      7031be6d
  6. 20 Apr, 2011 2 commits
  7. 13 Apr, 2011 1 commit
  8. 06 Apr, 2011 1 commit
  9. 30 Mar, 2011 1 commit
    • Eli Zaretskii's avatar
      Documentation parts of the scroll fix. · 09725d26
      Eli Zaretskii authored
       src/xdisp.c (syms_of_xdisp) <scroll-conservatively>: Document the
       threshold of 100 lines for never-recentering scrolling.
       doc/emacs/display.texi (Auto Scrolling): Document the limit of 100
       lines for never-recentering scrolling with `scroll-conservatively'.
      09725d26
  10. 26 Mar, 2011 2 commits
  11. 23 Mar, 2011 1 commit
    • Glenn Morris's avatar
      Replace mkinstalldirs with `install-sh -d', as automake recommends. · 8cc1d519
      Glenn Morris authored
      * Makefile.in (mkdir): Use `install-sh -d' instead of mkinstalldirs.
      (sync-from-gnulib): Don't sync mkinstalldirs.
      
      * make-dist: Don't distribute mkinstalldirs.
      
      * leim/Makefile.in (install): Use `install-sh -d' rather than mkinstalldirs.
      
      * lib-src/Makefile.in ($(DESTDIR)${archlibdir}):
      Use `install-sh -d' rather than mkinstalldirs.
      
      * configure.in, doc/emacs/Makefile.in: Update comments.
      
      * admin/notes/copyright: Remove mkinstalldirs.
      8cc1d519
  12. 11 Mar, 2011 2 commits
  13. 10 Mar, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix non-ASCII characters in User and ELisp manuals. · 62d94509
      Eli Zaretskii authored
       doc/lispref/modes.texi (Operator Precedence Grammars): Don't use characters
       outside ISO-8859-1.
       doc/emacs/search.texi (Regexp Example):
       doc/emacs/mule.texi (International Chars):
       doc/emacs/building.texi (External Lisp): Don't use characters outside
       ISO-8859-1.
      62d94509
  14. 09 Mar, 2011 4 commits
  15. 08 Mar, 2011 4 commits
    • Glenn Morris's avatar
      Add missing piece of previous doc/ change. · 80b005c7
      Glenn Morris authored
      * doc/lispref/elisp.texi: Set documentencoding.
      80b005c7
    • Glenn Morris's avatar
      Convert some names in texinfo files to UTF-8. · 6446548e
      Glenn Morris authored
      * doc/emacs/Makefile.in (MAKEINFO_OPTS): Add --enable-encoding.
      * doc/emacs/emacs.texi (Acknowledgments):
      * doc/emacs/ack.texi (Acknowledgments): Names to UTF-8.
      
      * doc/lispref/Makefile.in (MAKEINFO_OPTS): Add --enable-encoding.
      * doc/lispref/intro.texi (Acknowledgements): Names to UTF-8.
      6446548e
    • Jan D's avatar
      Updates for compiling with Gtk+ 3.0 (--with-x-toolkit=gtk3). · 0afb4571
      Jan D authored
      * configure.in: Require 3.0 for --with-gtk3.  Add HAVE_GTK3.
      
      * doc/emacs/xresources.texi (GTK resources): ~/.emacs.d/gtkrc does not work
      for Gtk+ 3.
      
      * src/gtkutil.c: Include gtkx.h if HAVE_GTK3.  If ! HAVE_GTK3, define
      gdk_window_get_screen, gdk_window_get_geometry,
      gdk_x11_window_lookup_for_display and GDK_KEY_g.
      (xg_set_screen): Use DEFAULT_GDK_DISPLAY.
      (xg_get_pixbuf_from_pixmap): New function.
      (xg_get_pixbuf_from_pix_and_mask): Change parameters from GdkPixmap
      to Pixmap, take frame as parameter, remove GdkColormap parameter.
      Call xg_get_pixbuf_from_pixmap instead of
      gdk_pixbuf_get_from_drawable.
      (xg_get_image_for_pixmap): Do not make GdkPixmaps, call
      xg_get_pixbuf_from_pix_and_mask with Pixmap parameters instead.
      (xg_check_special_colors): Use GtkStyleContext and its functions
      for HAVE_GTK3.
      (xg_prepare_tooltip, xg_hide_tooltip): Call gdk_window_get_screen.
      (xg_prepare_tooltip, create_dialog, menubar_map_cb)
      (xg_update_frame_menubar, xg_tool_bar_detach_callback)
      (xg_tool_bar_attach_callback, xg_update_tool_bar_sizes): Call
      gtk_widget_get_preferred_size.
      (xg_frame_resized): gdk_window_get_geometry only takes 5
      parameters.
      (xg_win_to_widget, xg_event_is_for_menubar): Call
      gdk_x11_window_lookup_for_display.
      (xg_set_widget_bg): New function.
      (delete_cb): New function.
      (xg_create_frame_widgets): connect delete-event to delete_cb.
      Call xg_set_widget_bg.  Only set backgrund pixmap for ! HAVE_GTK3
      (xg_set_background_color): Call xg_set_widget_bg.
      (xg_set_frame_icon): Call xg_get_pixbuf_from_pix_and_mask.
      (xg_create_scroll_bar): vadj is a GtkAdjustment for HAVE_GTK3.
      Only call gtk_range_set_update_policy if ! HAVE_GTK3.
      (xg_make_tool_item): Only connect xg_tool_bar_item_expose_callback
      if ! HAVE_GTK3.
      (update_frame_tool_bar): Call gtk_widget_hide.
      (xg_initialize): Use GDK_KEY_g.
      
      * src/xmenu.c (menu_position_func): Call gtk_widget_get_preferred_size.
      
      * src/xsmfns.c (gdk_set_sm_client_id): Define to gdk_set_sm_client_id
      if ! HAVE_GTK3
      (x_session_initialize): Call gdk_x11_set_sm_client_id.
      
      * src/xterm.c (XFillRectangle): Use cairo routines for HAVE_GTK3.
      (x_term_init): Disable Xinput(2) with GDK_CORE_DEVICE_EVENTS.
      Load ~/emacs.d/gtkrc only for ! HAVE_GTK3.
      
      * src/xterm.h (DEFAULT_GDK_DISPLAY): New define.
      (GDK_WINDOW_XID, gtk_widget_get_preferred_size): New defines
      for ! HAVE_GTK3.
      (GTK_WIDGET_TO_X_WIN): Use GDK_WINDOW_XID.
      0afb4571
    • Glenn Morris's avatar
      Doc fix for bug#8193. · bb3865e8
      Glenn Morris authored
      * doc/emacs/display.texi (Optional Mode Line): Don't mention exactly
      where display-time appears (it was wrong anyway).
      bb3865e8
  16. 07 Mar, 2011 1 commit
  17. 06 Mar, 2011 1 commit
    • Chong Yidong's avatar
      Bind C-y in Isearch to isearch-yank-kill. · 892777ba
      Chong Yidong authored
      * lisp/isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
      and move isearch-yank-line to M-s C-e.
      
      * doc/emacs/search.texi (Isearch Yank): C-y now bound to isearch-yank-kill.
      892777ba
  18. 03 Mar, 2011 1 commit
  19. 02 Mar, 2011 1 commit
    • Glenn Morris's avatar
      Doc fix for bug#8148. · 8ef5a2f2
      Glenn Morris authored
      * doc/emacs/mule.texi (Communication Coding) <x-select-request-type>:
      Remove duplicate (essentially) paragraph.
      8ef5a2f2
  20. 01 Mar, 2011 3 commits
  21. 25 Feb, 2011 1 commit
  22. 19 Feb, 2011 1 commit
  23. 15 Feb, 2011 1 commit
  24. 14 Feb, 2011 1 commit
    • Jan Djärv's avatar
      Use *font for Xft font names for Lucid menus and dialogs. · 3928f2b6
      Jan Djärv authored
      * doc/emacs/xresources.texi (X Resources): Remove *faceName and replace it with
      *font for Lucid.
      
      * lwlib/lwlib-Xaw.c (make_dialog): Use *font even for Xft fonts.  Try
      XLoadQueryFont first and then Xft fonts.
      
      * lwlib/xlwmenu.c (xlwmenu_default_font): Remove, does not work for
      multi-display.
      (xlwMenuResources): Remove XtNfaceName and XtNdefaultFace.
      Make XtNFont a String resource.
      (make_windows_if_needed): Call XFlush so later changes are seen by the
      X server.
      (remap_menubar): Use XtMoveWidget and then
      XtResizeWidget/XtResizeWindow after XtPopup.  Works better with
      Compiz.
      (make_drawing_gcs): Check if mw->menu.font is set.
      (getDefaultXftFont): New function.
      (openXftFont): faceName is now fontName.  Try XLoadQueryFont first
      and then XftFontOpenName.
      (XlwMenuInitialize): Initialize mw->menu.font with XLoadQueryFont.
      (XlwMenuClassInitialize): Remove initialization of
      xlwmenu_default_font.
      (fontname_changed): Renamed from facename_changed.
      (XlwMenuSetValues): Use facename_changed.
      
      * lwlib/xlwmenu.h: Remove Xt[CN]faceName and Xt[NC]defaultFace.
      
      * lwlib/xlwmenuP.h (_XlwMenu_part): Remove faceName.  Add fontName.
      
      * src/xmenu.c (apply_systemfont_to_dialog): Apply to *dialog.font.
      (apply_systemfont_to_menu): Set resources *menubar*font and
      *popup*font.  Remove defflt.
      (set_frame_menubar, create_and_show_popup_menu): Call
      apply_systemfont_to_menu before lw_create_widget.
      
      * src/xrdb.c (x_load_resources): For LUCID and XFT, don't put a
      resource that specifies helvetica for menus and dialogs.
      3928f2b6
  25. 05 Feb, 2011 1 commit
    • Chong Yidong's avatar
      Last remaining doc additions required by 23.3. · a41c8660
      Chong Yidong authored
      * doc/emacs/maintaining.texi (VC Change Log): Document vc-log-incoming and
      vc-log-outgoing.
      (Merging): Document vc-find-conflicted-file.
      
      * doc/emacs/rmail.texi (Rmail Display): Document Rmail MIME support more
      accurately.
      
      * doc/lispref/commands.texi (Accessing Mouse): Note that a header line is not
      included in the row of posn-col-row.
      
      * etc/NEWS: Remove +++ and --- lines.
      a41c8660
  26. 04 Feb, 2011 1 commit
  27. 01 Feb, 2011 1 commit
  28. 29 Jan, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix doc/*/makefile.w32-in according to... · bf3dae7e
      Eli Zaretskii authored
      Fix doc/*/makefile.w32-in according to 2011-01-23T10:22:21Z!wl@gnu.org-2011-01-23T10:38:14Z!wl@gnu.org.
      
       doc/lispref/makefile.w32-in (texinfodir): New variable.
       (usermanualdir): Remove as redundant with $(emacsdir).
       (MAKEINFO): Remove options, leave only program name.
       (MAKEINFO_OPTS): New variable.
       (texinputdir, $(infodir)/elisp): Use $(MAKEINFO_OPTS).
       doc/emacs/makefile.w32-in (MAKEINFO): Remove options, leave only program name.
       (MAKEINFO_OPTS): New variable.
       (ENVADD, $(infodir)/emacs): Use $(MAKEINFO_OPTS).
       (emacs.html): New target.
       (clean): Remove emacs.html.
       doc/misc/makefile.w32-in (MAKEINFO): Remove options, leave only program name.
       (MAKEINFO_OPTS): New variable.
       (ENVADD, $(infodir)/emacs): Use $(MAKEINFO_OPTS).
       ($(infodir)/info, $(infodir)/ccmode, $(infodir)/ada-mode)
       ($(infodir)/pcl-cvs, $(infodir)/eshell, $(infodir)/cl)
       ($(infodir)/dbus, $(infodir)/dired-x, $(infodir)/ediff)
       ($(infodir)/flymake, $(infodir)/forms, $(infodir)/gnus)
       ($(infodir)/message, $(infodir)/emacs-mime, $(infodir)/sieve)
       ($(infodir)/pgg, $(infodir)/mh-e, $(infodir)/reftex)
       ($(infodir)/remember, $(infodir)/sasl, $(infodir)/sc)
       ($(infodir)/vip, $(infodir)/viper, $(infodir)/widget)
       ($(infodir)/efaq, $(infodir)/autotype, $(infodir)/calc)
       ($(infodir)/idlwave, $(infodir)/eudc, $(infodir)/ebrowse)
       ($(infodir)/woman, $(infodir)/speedbar, $(infodir)/tramp)
       ($(infodir)/ses, $(infodir)/smtpmail, $(infodir)/org)
       ($(infodir)/url, $(infodir)/newsticker, $(infodir)/nxml-mode)
       ($(infodir)/rcirc, $(infodir)/erc, $(infodir)/ert)
       ($(infodir)/epa, $(infodir)/mairix-el, $(infodir)/auth)
       ($(infodir)/eieio, $(infodir)/ede, $(infodir)/semantic)
       ($(infodir)/edt): Use $(MAKEINFO_OPTS).
      bf3dae7e