Send Ebib-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/ebib-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ebib-users digest..."
Today's Topics:
1. non-standard keybindings (Joe Corneli)
2. Re: non-standard keybindings (Joost Kremers)
3. Re: non-standard keybindings (Joe Corneli)
4. Re: non-standard keybindings (Joost Kremers)
5. Re: save virtual database or new feature? (Joost Kremers)
6. Re: ebib and web search (Joost Kremers)
7. Re: new feature? (Piter_)
----------------------------------------------------------------------
Message: 1
Date: Thu, 3 Mar 2011 14:54:50 +0000
From: Joe Corneli <[email protected]>
Subject: [Ebib-users] non-standard keybindings
To: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
Hi all:
I just tried Ebib (from git) yesterday and found that a few
keybindings are somewhat nonstandard, e.g. C-c|q to exit and save a
multi-line text area would more typically be C-cC-c. If I was to send
a keybinding patch, would it be considered, or are ebib users already
used to the current bindings and uninterested in switching?
Joe
------------------------------
Message: 2
Date: Thu, 3 Mar 2011 16:27:38 +0100
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] non-standard keybindings
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Hi Joe,
> I just tried Ebib (from git) yesterday and found that a few
> keybindings are somewhat nonstandard, e.g. C-c|q to exit and save a
> multi-line text area would more typically be C-cC-c.
I know it's rather non-standard, but the thing is, Ebib's multiline mode is a
minor mode, and key sequences consisting of C-c followed by a control character
are reserved for major modes (see (info "(elisp)Key Binding Conventions") ).
You're of course free to bind C-c C-c to ebib-quit-multiline-edit within
ebib-multiline-mode-map yourself, but I can't use it as the default key binding.
> If I was to send
> a keybinding patch, would it be considered, or are ebib users already
> used to the current bindings and uninterested in switching?
For the reason just mentioned, I wouldn't be able to accept a patch like that.
But what I would include is a patch that would allow a user to install C-c C-c
(and perhaps some other commands) in ebib-multiline-mode-map, if they so choose.
Joost
--
Joost Kremers
Life has its moments
------------------------------
Message: 3
Date: Thu, 3 Mar 2011 19:26:23 +0000
From: Joe Corneli <[email protected]>
Subject: Re: [Ebib-users] non-standard keybindings
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
It's interesting that the C-c C-c keystroke seems so "standard" to me
despite the rule you mentioned! Partly because of its common meaning
in major modes like mail-mode (with a parallel in shell-mode) -- and
partly because not everyone follows the convention... For example
w3m-form-input-textarea-set, which is in w3m-form-input-textarea-mode
(minor mode), has the binding C-c C-c.
Similarly the command w3-do-text-entry from w3, which is bound in the
following silly way:
(switch-to-buffer-other-window buff)
(indented-text-mode)
[...]
(message "Press C-c C-c when finished with text entry.")
(local-set-key "\C-c\C-c" 'w3-finish-text-entry)
("The binding goes in the current buffer's local map, which in most
cases is shared with all other buffers in the same major mode." --
oops!)
All that aside, another idea to consider would be to change Ebib-entry
major mode so that entries can be edited directly in that the
entry-browsing screen instead of in a separate window. What do you
think of this thought?
Joe
On Thu, Mar 3, 2011 at 3:27 PM, Joost Kremers <[email protected]> wrote:
> Hi Joe,
>
>> I just tried Ebib (from git) yesterday and found that a few
>> keybindings are somewhat nonstandard, e.g. C-c|q to exit and save a
>> multi-line text area would more typically be C-cC-c.
>
> I know it's rather non-standard, but the thing is, Ebib's multiline mode is a
> minor mode, and key sequences consisting of C-c followed by a control
> character
> are reserved for major modes (see (info "(elisp)Key Binding Conventions") ).
> You're of course free to bind C-c C-c to ebib-quit-multiline-edit within
> ebib-multiline-mode-map yourself, but I can't use it as the default key
> binding.
>
>> ?If I was to send
>> a keybinding patch, would it be considered, or are ebib users already
>> used to the current bindings and uninterested in switching?
>
> For the reason just mentioned, I wouldn't be able to accept a patch like that.
> But what I would include is a patch that would allow a user to install C-c C-c
> (and perhaps some other commands) in ebib-multiline-mode-map, if they so
> choose.
>
> Joost
>
>
> --
> Joost Kremers
> Life has its moments
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Ebib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ebib-users
>
------------------------------
Message: 4
Date: Fri, 4 Mar 2011 11:23:02 +0100
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] non-standard keybindings
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
On Thu, Mar 03, 2011 at 07:26:23PM +0000, Joe Corneli wrote:
> It's interesting that the C-c C-c keystroke seems so "standard" to me
> despite the rule you mentioned! Partly because of its common meaning
> in major modes like mail-mode (with a parallel in shell-mode)
yes, in major modes, it's ok to bind C-c C-c.
> -- and
> partly because not everyone follows the convention... For example
> w3m-form-input-textarea-set, which is in w3m-form-input-textarea-mode
> (minor mode), has the binding C-c C-c.
>
> Similarly the command w3-do-text-entry from w3, which is bound in the
> following silly way:
>
> (switch-to-buffer-other-window buff)
> (indented-text-mode)
> [...]
> (message "Press C-c C-c when finished with text entry.")
> (local-set-key "\C-c\C-c" 'w3-finish-text-entry)
>
> ("The binding goes in the current buffer's local map, which in most
> cases is shared with all other buffers in the same major mode." --
> oops!)
makes me wonder why they don't just bind it in w3m-form-input-textarea-mode...
> All that aside, another idea to consider would be to change Ebib-entry
> major mode so that entries can be edited directly in that the
> entry-browsing screen instead of in a separate window. What do you
> think of this thought?
that would be great, actually. i've already considered doing this myself,
thinking i could use the same library that emacs' customize interface uses
(which defines a bunch of widgets for text input fields) but it turned out that
once a buffer is created with these widgets, it cannot be recreated with another
set of widgets.
i never really looked at other ways of doing this, but if you have some idea,
i'd be all ears. :-)
--
Joost Kremers
Life has its moments
------------------------------
Message: 5
Date: Fri, 4 Mar 2011 11:25:41 +0100
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] save virtual database or new feature?
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Hi Piter,
> Yes to add it will be easy to add new "drawer" field. But I have
> realized that virtual database cannot be edited. Is it possible to
> make some workarround it? Without this my idea will not be much
> useful.
making virtual databases editable is on my todo list. but since i haven't had
much time to really work on ebib, except for small (bug) fixes, my todo list is
kind of on hold...
if i can find some time to work on ebib, this'll be one of the first things i
intend to fix, but i can't promise anything at the moment. :-(
--
Joost Kremers
Life has its moments
------------------------------
Message: 6
Date: Fri, 4 Mar 2011 11:29:19 +0100
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] ebib and web search
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
On Thu, Mar 03, 2011 at 10:33:56AM +0100, Piter_ wrote:
> Hi all.
> I have found great emacs mod for literature search
> http://pubmode.sourceforge.net/ (this is for literature in biology).
> Are there any plans to add such (or similar) feature to ebib?
wow, that looks great. :-) again, though, i currently don't have much time to
work on ebib, so...
(one problem i foresee is that pubmed is only one database... what would be
needed is some form of generalized interface, an API, to access scientific
literature databases on the net, and also a solid API to access data in ebib,
which currently doesn't really exist. the latter is on my todo list, but
alas...)
--
Joost Kremers
Life has its moments
------------------------------
Message: 7
Date: Fri, 18 Mar 2011 16:42:35 +0100
From: Piter_ <[email protected]>
Subject: Re: [Ebib-users] new feature?
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
Hi Joost.
I have tried the function below and it does make a filename from the
key. But I have a problem here. The changes are not saved. Ebib seems
to not notice edition of the "file" field. It does not propose to save
the database and if I try "s" command, it also does not help.
Is anything can be done with it?
Thanks.
Petro.
On Sun, Oct 17, 2010 at 12:44 PM, Joost Kremers
<[email protected]> wrote:
> Hi Petro,
>
> ============================================================
>
> (defun ebib-pdf-file-name ()
> ?"Create a pdf file name of the basis of the current entry key.
> The file name is inserted in the file field of the current entry."
> ?(interactive)
> ?(ebib-execute-when
> ? ?((entries)
> ? ? (if (gethash 'file ebib-cur-entry-hash)
> ? ? ? ? (beep)
> ? ? ? (puthash 'file (concat "{" (car (edb-cur-entry ebib-cur-db)) ".pdf}")
> ebib-cur-entry-hash)
> ? ? ? (ebib-fill-entry-buffer)))
> ? ?((default)
> ? ? (beep))))
>
> ============================================================
>
> I'm not sure if I'll include this in Ebib, so it's probably easiest for you to
> put this into your ~/.emacs. As it is, the function can be called with M-x
> ebib-pdf-file-name, but you'll probably want to bind it to a key. You can do
> so
> in ~/.emacs as well, with:
>
> (ebib-key index "D" ebib-pdf-file-name)
>
> (Choose any key you want, of course.) Note: the function is meant to be used
> in
> the index buffer (which I assume is what you want). In order for this key
> assignment to work, you'll need to load ebib in your ~/.emacs, not autoload
> it.
> So instead of the autoload line as explained in the manual, just put the
> following in ~/.emacs:
>
> (load "path/to/ebib.el")
>
> You'll need to specify the correct path, of course.
>
> Best,
>
> Joost
>
>
> On Fri, Oct 15, 2010 at 12:49:19PM +0200, Piter_ wrote:
------------------------------
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
------------------------------
_______________________________________________
Ebib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ebib-users
End of Ebib-users Digest, Vol 15, Issue 2
*****************************************