1. 27 Dec, 2010 3 commits
  2. 26 Dec, 2010 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/rx.el: Make it a superset of sregex. · 723ee192
      Stefan Monnier authored
      (rx-constituents): Add `any => "."', mark `repeat' as taking any number
      of args, add `regex' alias.
      (rx-info): Add arg to distinguish head and standalone forms.
      (rx-check, rx-form): Pass the corresponding arg.
      (rx-**): Simplify.
      (rx-repeat): Make it work for any number of args.
      (rx-syntax): Make it accept syntax chars as is.
      * lisp/obsolete/sregex.el: Move from emacs-lisp/.
      * lisp/emacs-lisp/re-builder.el: Remove sregex support.
      * lisp/emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
      723ee192
  3. 25 Dec, 2010 1 commit
  4. 24 Dec, 2010 1 commit
  5. 23 Dec, 2010 2 commits
    • Julien Danjou's avatar
      gnus-gravatar.el (gnus-gravatar-transform-address): Set... · ade9369c
      Julien Danjou authored
      gnus-gravatar.el (gnus-gravatar-transform-address): Set `mail-extr-ignore-realname-equals-mailbox-name' to nil when extracting the addresses, otherwise we might misplaced the gravatar.
      ade9369c
    • Stefan Monnier's avatar
      Fix up last change. · 17870c01
      Stefan Monnier authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
      print-number-table.
      * src/print.c (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): Remove.
      (print_preprocess): Fix handling of uninterned symbols in last change.
      17870c01
  6. 22 Dec, 2010 3 commits
  7. 21 Dec, 2010 5 commits
  8. 20 Dec, 2010 7 commits
  9. 19 Dec, 2010 1 commit
    • Stefan Monnier's avatar
      Minor clean up to silence some gcc warnings. · ef1b0ba7
      Stefan Monnier authored
      * src/window.c (Fset_window_buffer):
      * src/xterm.c (x_set_frame_alpha): Restructure code to silence
      compiler warning.
      (handle_one_xevent): Remove unused var `p'.
      (do_ewmh_fullscreen): Remove unused var `lval'.
      (xembed_set_info): Remove unused var `atom'.
      * src/textprop.c (Fremove_list_of_text_properties): Add braces to silence
      compiler warning.
      * src/fontset.c (fontset_id_valid_p, dump_fontset):
      * src/ftfont.c (ftfont_drive_otf): Modernize k&r declaration.
      * src/eval.c (Feval, Ffuncall): Avoid unneeded gotos.
      * src/dispnew.c (update_frame, update_frame_1): Compile the `do_pause'
      label only when it's used.
      * src/image.c (x_create_bitmap_from_xpm_data):
      * src/dispextern.h (x_create_bitmap_from_xpm_data): Use const char** like
      its callers.
      * src/coding.c (detect_coding_utf_16): Remove unused vars `src_base' and
      `consumed_chars'.
      (DECODE_EMACS_MULE_21_COMPOSITION): Remove unused var `charbuf_base'.
      (decode_coding_emacs_mule): Remove unused label `retry'.
      (detect_eol): Add parens to silence compiler warning.
      * src/alloc.c (bytes_used_when_reconsidered): Move to the #ifdef where
      it's used to silence the compiler.
      (make_number): Modernize k&r declaration.
      (mark_char_table): Add parens to silence compiler warning.
      ef1b0ba7
  10. 18 Dec, 2010 2 commits
  11. 17 Dec, 2010 5 commits
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 70041e9a
      Gnus developers authored
      nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
      gnus-sum.el (gnus-summary-refer-thread): Simplify code. Restore gnus-use-agent.
       (gnus-get-newsgroup-headers): Avoid unwanted spaces at eol.
      gravatar.el (gravatar-retrieve-synchronously): New function.
       (gravatar-get-data): Make more robust.
      gnus-util.el (gnus-rescale-image): Allow to resize images even if they are from file. Can also scale up.
      nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers.
      nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound.
      gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change here, since it's up to the backends to do CRLF removal if their protocol has it.
      gnus-group.el (gnus-group-delete-articles): New command.
      70041e9a
    • Ken Brown's avatar
      2e306b39
    • Ryan Twitchell's avatar
      Ask for confirmation in ido-file-internal (Bug#1238). · 395542c6
      Ryan Twitchell authored
      * ido.el (ido-file-internal): Ask for confirmation before
      overwriting an existing file (Bug#1238).
      395542c6
    • Chong Yidong's avatar
      Support for menu separators in the GTK tool-bar. · 4039c786
      Chong Yidong authored
      * src/gtkutil.c (XG_BIN_CHILD): New macro.
      (xg_get_menu_item_label, xg_update_menubar)
      (xg_update_menu_item, xg_tool_bar_menu_proxy)
      (xg_show_toolbar_item, update_frame_tool_bar): Use it.
      (separator_names, xg_separator_p): Move to keyboard.c.
      (create_menus, xg_update_submenu, update_frame_tool_bar): Use
      menu_separator_name_p.
      
      * src/keyboard.c (parse_tool_bar_item): Allow menu separators in
      tool-bar maps.
      (menu_separator_name_p): New function, from gtkutil.c.
      (separator_names): Move from gtkutil.c.
      
      * src/keyboard.h (menu_separator_name_p): Add prototype.
      
      * src/nsmenu.m (name_is_separator): Function deleted.
      (addItemWithWidgetValue): Use menu_separator_name_p.
      
      * src/w32menu.c (name_is_separator): Function deleted.
      (add_menu_item): Use menu_separator_name_p.
      4039c786
    • Daiki Ueno's avatar
      Mention epa-file-select-keys in epa.texi. · 8b358e90
      Daiki Ueno authored
      8b358e90
  12. 16 Dec, 2010 9 commits
    • Ken Manheimer's avatar
      Synopsis: Migrate allout encryption provisions from pgg library, which is · 9efd720d
      Ken Manheimer authored
      obsolete, to epg library, which replaces pgg.
      
      Due to the underlying GnuPG V2 restrictions on external handling of
      passphrases (or epg's restrictions when working with GnuPG v2), we are
      dropping allout's symmetric encryption passphrase hinting and verification.
      This has the advantage that no emacs code has access to the passphrase,
      leaving all passphrase handling in GnuPG, which is much more secure.  This,
      together with the reduction in allout code complexity and logistical
      complications the user would have in arranging to use GnuPG v1, requires
      dropping these features.
      
      Keypair encryption gains features, with adoption of respect for epa-file's
      'epa-file-encrypt-to'.  This means that allout outlines can be associated
      with recipients, and encryptions by default will be targeted to those
      recipients.
      
      The default encryption mode (whether to epa-file-encrypt-to recipients, if
      any, or symmetric mode) is overridden by providing a universal argument
      greater than 1 to the outline entry encryption command,
      'allout-toggle-current-subtree-encryption'.  The user is then prompted to
      select keypair identities from their list of known GnuPG keypairs.  If they
      don't select any, then symmetric encryption is done.  Otherwise, the
      selected keypair identities are targeted.  If the universal argument is
      greater than 4 then the selected recipients (or none, if none were
      selected) are associated with the outline using a file local variable, as
      default recipients for subsequent encryptions.
      
      This is a big merge from a private branch.
      
      Code details:
      
      (allout-toggle-current-subtree-encryption,
      allout-toggle-subtree-encryption): Adjust docstrings to reflect defaulting
      policy and other changes.
      Change fetch-pass to keymode-cue, for simpler universal argument
      interpretation.
      (allout-toggle-subtree-encryption):  Adjust docstring to describe
      changed encryption provisions.
      Change fetch-pass to keymode-cue, for simpler universal argument
      interpretation.
      Remove provisions for handling key type and identity - they'll all be
      within allout-encrypt-string or epg/epg or even contained all the way in
      gpg.
      (allout-encrypt-string): Include keymode-cue, for optionally prompting for
      keypair recipients (universal argument > 1) and, in addition, associating the
      specified recipients with the outline (universal argument > 4) using a file
      local variable setting for 'epa-file-encrypt-to'.
      Require epa, for recipients handling.
      Change how regexp filtering elements are named.
      Describe the problem with caching of incorrect symmetric-decryption keys.
      Use the epa-passphrase-callback-function, in case the user is using GnuPG
      v1.
      Support saving of the selected keypair recipients when invoked with a
      keymode-cue > 4.
      Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
      Require 'epa.
      Establish epg-context with armoring and default epg-protocol.
      Remove all passphrase cache, verification, and hinting code.
      (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
      No longer used, delete.
      (allout-mode): Adjust docstring to describe changed encryption provisions.
      Describe the problem with caching of incorrect symmetric-decryption keys.
      (allout-obtain-passphrase, allout-epg-passphrase-callback-function,
      allout-make-passphrase-state, allout-passphrase-state-passphrase,
      allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids,
      allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
      Obsolete, remove.
      9efd720d
    • Lars Magne Ingebrigtsen's avatar
      nnimap.el (nnimap-wait-for-response): Fix the end-point calculation to really... · 59a7e27d
      Lars Magne Ingebrigtsen authored
      nnimap.el (nnimap-wait-for-response): Fix the end-point calculation to really consider the last line.
      59a7e27d
    • Ken Manheimer's avatar
      (allout-mode), (allout-encrypt-string): Describe the problem with caching · 0281bf13
      Ken Manheimer authored
      of incorrect symmetric-decryption keys.
      0281bf13
    • Ken Manheimer's avatar
      last pgg adjustment before migrating to epg. · da420726
      Ken Manheimer authored
      (allout-encrypted-key-info): replace pgg-gpg-symmetric-key-p with explicit
      examination of the parsed armoring structure.  pgg-gpg-symmetric-key-p
      seems to have drifted, not recognizing parsed symmetric keys as being
      symmetric.
      da420726
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 549c9aed
      Gnus developers authored
      nnimap.el (nnimap-wait-for-response): Always look (at least) at the previous line.
      nnimap.el (nnimap-quirk): New function.
       (nnimap-retrieve-group-data-early): Use it.
       (nnimap-quirks): New alist.
      gnus.texi (Foreign Groups): Added clarification of foreign groups.
      gnus-sum.el (gnus-summary-push-marks-to-backend): Fix the logic for copying read-ness to the backends.
      gnus-group.el (gnus-group-kill-group): Notify the backend that the group has been killed.
       (gnus-group-yank-group): Ditto.
      gnus-start.el (gnus-subscribe-newsgroup): Notify the backend.
      nnir.el: Improve customizations.
      gnus.texi (Archived Messages): Removed outdated comment and text.
      nnfolder.el (nnfolder-save-all-buffers): Refactor out into its own function.
       (nnfolder-request-expire-articles): Save all the buffers after doing expiry.
      nnmail.el (nnmail-expiry-target-group): Revert the "all articles are the last article", since that led to serious performance regressions when expiring nnml groups.
      gnus-html.el (gnus-html-schedule-image-fetching): Make sure the HTML fetching stops when Gnus exits.
      gnus-srvr.el: Avoid passing nil regexp argument to delete-matching-lines.
      auth-source.el (auth-source-gpg-encrypt-to): New variable to set the list of recipient keys, or use symmetric encryption if not a list.
       (auth-source-create): Use it to make `epa-file-encrypt-to' local for an EPA override, replacing the call to `netrc-store-data'.
      549c9aed
    • Jan Djärv's avatar
      Handle invisible cursor (bg same as cursor color) for Nextstep. · aa936e8e
      Jan Djärv authored
      * nsterm.m (ns_draw_window_cursor): If the cursor color is the
      same as the background, use the face forground as cursor.
      aa936e8e
    • Ken Manheimer's avatar
      respect epa-file-encrypt-to, defaulting to it when encrypting, if set, and · 075746e2
      Ken Manheimer authored
      adjusting the value (as a file local variable and an active buffer setting)
      with the result of epa-select-keys.
      
      note the problem with caching of incorrect symmetric decryption keys.
      
      (allout-toggle-current-subtree-encryption),
      (allout-toggle-subtree-encryption): Adjust docstrings to reflect defaulting
      policy change.
      
      (allout-encrypt-string): keymod-cue rather than keypair-mode, which is
      interpreted here.  Use the epa-passphrase-callback-function, in case the
      user is using GnuPG v1.  Support saving of the selected keypair recipients
      when invoked with a keymode-cue > 4.
      075746e2
    • Miles Bader's avatar
      url-cookie.el: Require 'cl when compiling · 3cbc281e
      Miles Bader authored
      3cbc281e
    • Daiki Ueno's avatar
      Extend epa-file-select-keys to allow users to inhibit key selection. · 33088bed
      Daiki Ueno authored
      * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
      key selection prompt; make 'silent as default (Bug#7487).
      33088bed