Mac – Double-Mouse-1 selects text and symbol in Emacs


When I double click 'abcd_efg', emacs selects the part 'abcd' or 'efg' depending on what I click. How can I select the whole string 'abcd_efg' instead? Thank you.

Best Answer

  • Either do what @jcubic suggested or just double-click the _ char in the symbol name. That's what I do.

    That way, you can do either: select a word (e.g., a piece of a symbol name) or select an entire symbol name. Yes, you have to pay a little more attention to where you click, but you get more flexibility.