Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Hi Folks

    Damn. Don't you hate that.

    I did not have a note of it (as I did with the other issues), but there is a specific feature of Padre I'd like to praise.

    I can paste clipboard text into the search string!

    So what, you say!?

    Well, in emacs that'd be ^S^Y, but that key combination is deliberately crippled, which is infuriating every time I want it, and that is often.

    So, it's good to know Padre gets it right.

    • It's misleading to call that Emacs key combination crippled. Emacs (I'll assume you're using GNU Emacs) has a rich set of functionality behind incremental search: what you want is C-s M-y, which will initiate incremental search and then copy text from the kill ring into the search string. (You could also use the middle mouse button instead of M-y.)
      • Hi kings

        Thanx for the reply.

        I'm using GNU Emacs 22.1.1.

        I don't want to copy text from the kill ring. For instance, I might want to drag the mouse across text in another application.

        And, middle mouse button does not, repeat not, paste instead of M-y (after a C-s).

        I do use M-y and middle button many, many times a day.

        • Hi Ron -- Sorry to hear it's not working for you. Not to get into a detailed support discussion, but the problem must be related to your environment.

          When a window system (like X) is being used, and you are running an instance of Emacs that's communicating with the window system, then the usual behavior is for Emacs to yank (via, e.g., C-y, or middle mouse button, or C-s M-y, or C-s followed by middle mouse) the contents of the window system's most recent clipboard selection. So if you type C-s in Emacs, then "drag the mouse across text in another application", then (in Emacs) click the middle mouse button or type M-y, your selected text will be inserted into incremental search. I do this all the time in X Window-based environments, Windows XP, and Windows Vista, so if your middle mouse button doesn't produce this behavior then it must be an issue with your environment.

          If on the other hand you are not running an instance of Emacs that can communicate with the window system, e.g., you're invoking something like 'emacs -nw' in a terminal window, then chances are the middle mouse button will still work. For example, right now I'm running an instance of gnome-terminal under X and Ubuntu, in which I'm ssh'ed into a remote box, with 'emacs -nw' running there. If I select a bit of text in another application (Firefox) using the mouse, and click the middle mouse button in the terminal window, the text is pasted into Emacs, no matter whether the cursor is in the midst of a buffer or in the minibuffer during incremental search. In this case, the pasting operation is a function/capability of the terminal and window system, not the Emacs process running under ssh.

          So in either case, middle mouse button can indeed paste after a C-s.