Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Tip: open this session closed buffer
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
kheyfbo...@gmail.com  
View profile  
 More options Sep 10 2012, 4:33 am
From: kheyfbo...@gmail.com
Date: Mon, 10 Sep 2012 01:33:24 -0700 (PDT)
Local: Mon, Sep 10 2012 4:33 am
Subject: Tip: open this session closed buffer

Here's a defun:

(defun ergo-undo-close-buffer ()
  "Opens some this-session closed buffer."
  (interactive)
  (let* ((mylist (delq nil (delete-dups (mapcar 'car
recently-closed-buffers))))
         (baseName (ido-completing-read "Open this session closed buffer: "
mylist))
         (fileName (cdr (assoc baseName recently-closed-buffers))))
    (find-file fileName)))

it makes use of ergo's recently-closed-buffers alist.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xah Lee  
View profile  
 More options Sep 10 2012, 5:46 am
From: Xah Lee <xah...@gmail.com>
Date: Mon, 10 Sep 2012 02:46:25 -0700
Local: Mon, Sep 10 2012 5:46 am
Subject: Re: Tip: open this session closed buffer
very nice. Thanks a lot.

Do you mind if i blog it? Probably will put up Tuesday if ok with you.

 Xah


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Boris Kheyfets  
View profile  
 More options Sep 10 2012, 5:48 am
From: Boris Kheyfets <kheyfbo...@gmail.com>
Date: Mon, 10 Sep 2012 13:48:25 +0400
Local: Mon, Sep 10 2012 5:48 am
Subject: Re: Tip: open this session closed buffer

No I don't mind at all. It's also
here<http://stackoverflow.com/questions/12330088/how-do-i-find-the-value-o...>
.

Boris.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xah Lee  
View profile  
 More options Sep 10 2012, 5:59 am
From: Xah Lee <xah...@gmail.com>
Date: Mon, 10 Sep 2012 02:59:52 -0700
Local: Mon, Sep 10 2012 5:59 am
Subject: Re: Tip: open this session closed buffer
super. Thanks a lot. Will do.

 Xah


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »