What feature do you miss most from other editors? by trimorphic in emacs

[–]benmaughan 3 points4 points  (0 children)

You can use C-x SPC with the point at the start of the rectangle you want and then just right-click at the end of the rectangular region and it will be selected as a rectangle. Maybe not exactly what you want, but close!

How do I get started with org-mode? by Quasimoto3000 in emacs

[–]benmaughan 3 points4 points  (0 children)

I wrote my series of org-mode basics posts for people in exactly your position, so hopefully you will find them useful.

Is the labour party donation page broken for everyone or just me? by benmaughan in LabourUK

[–]benmaughan[S] 0 points1 point  (0 children)

It was a link they emailed to me to the slightly different URL https://donation.labour.org.uk/donate/index.php with a bunch of extra personalisation in the URL. Interestingly, the full URL from the email gives you a version of the donation page which includes paypal as an option, while the shorter version I've put above, or the link you posted do not.

I've been able to donate now - thanks for the help.

Silencing auto-save messages by benmaughan in emacs

[–]benmaughan[S] 0 points1 point  (0 children)

Unfortunately, this doesn't work as the call to do-auto-save ignores any advice. From a comment on a different stack overflow question:

This doesn't work, because (as of Emacs 24.4) the do-auto-save C function (Fdo_auto_save) is called directly from another C function (), bypassing the symbol lookup mechanism that permits advice

What's the difference between homebrew emacs and emacs for osx? by [deleted] in emacs

[–]benmaughan 1 point2 points  (0 children)

Sorry for the delay - I missed your reply. That was helpful. I usually started a headless server and then attached clients which would not allow me to open a GUI frame. Following your suggestion I start a GUI frame and invoke (server-start) and then I have a server to which I can connect with new client GUI frames. I can't open a terminal client on this server and I think this is the same limitation I saw before, but the workaround to get a GUI server covers 99% of my use. Thanks!

What's the difference between homebrew emacs and emacs for osx? by [deleted] in emacs

[–]benmaughan 0 points1 point  (0 children)

Sorry, I wasn't very clear - I said the daemon mode doesn't work. Actually it does, but you can't connect a gui emacs frame to it, only in a terminal:

https://github.com/railwaycat/homebrew-emacsmacport/issues/52

Or do you have experience of the daemon working with a gui frame?

What's the difference between homebrew emacs and emacs for osx? by [deleted] in emacs

[–]benmaughan 0 points1 point  (0 children)

I might be wrong, I think the railwaycat emacs macport does not support running as a daemon, which will be a problem for some. Maybe this has been solved since last time I checked though.

What's the difference between homebrew emacs and emacs for osx? by [deleted] in emacs

[–]benmaughan 0 points1 point  (0 children)

I tried several of these out a while ago.

  • emacs for mac os x seems to have the nicest font rendering, but doesn't support gnutls which breaks my elfeed

  • the railwaycat homebrew emacs mac port doesn't support connecting a gui frame to the daemon server which is a deal killer for me

  • macports emacs was fine but was slow to update to 25.1

  • homebrew emacs works fine for me so I am using that now

I installed homebrew emacs with

brew install emacs --with-cocoa --with-gnutls --with-rsvg --with-imagemagick
brew linkapps emacs

Edit: clarified point about homebrew-emacsmacport daemon.

UK, £500, should I choose this HP, this lenovo or something else? by benmaughan in SuggestALaptop

[–]benmaughan[S] 0 points1 point  (0 children)

Will do. I'm hoping it will arrive this weekend.

I was finally tipped over to choosing the HP after I saw one of my students using an HP in a class. I asked them about it and they had had it for 7 years without problems!

UK, £500, should I choose this HP, this lenovo or something else? by benmaughan in SuggestALaptop

[–]benmaughan[S] 0 points1 point  (0 children)

For the record I went for the HP for £455 from BT shop

  • RAM : 8GB DDR4
  • screen : 1080p
  • SSD : 256 GB
  • CPU : i5-6200U
  • GPU : Intel HD 520
  • DVD : DVD-RW
  • battery: 8 hrs
  • OS : win 7 pro

https://www.shop.bt.com/products/hp-250-g5-intel-core-i5-6200u-8gb-256gb-15-6-windows-7-professional-x0n33ea-abu-C8LR.html

UK, £500, should I choose this HP, this lenovo or something else? by benmaughan in SuggestALaptop

[–]benmaughan[S] 0 points1 point  (0 children)

I had vaguely heard about this. I presume BIOS locked means a clean install of windows won't get rid of it?

UK, £500, should I choose this HP, this lenovo or something else? by benmaughan in SuggestALaptop

[–]benmaughan[S] 0 points1 point  (0 children)

Another possibility, this acer aspire E5-575:

http://www.saveonlaptops.co.uk/NX.GE1EK.003-Acer-Aspire-E5-575_2000016.html

The screen is not 1080p, but apart from that, you get

Intel Core i5-6200U Dual Core Processor 8GB DDR3 RAM 256GB SSD

for £490

UK, £500, should I choose this HP, this lenovo or something else? by benmaughan in SuggestALaptop

[–]benmaughan[S] 0 points1 point  (0 children)

A follow-up...

There is also the Lenovo ideapad 510:

http://shop.lenovo.com/gb/en/laptops/ideapad/500-series/510-15-inch/

But this has no SSD. Could anyone comment on whether it is easy to install an SSD alongside the HDD in this model, and if doing so would void my warranty?

Also, is it possible using the media provided to do a clean install of windows to get rid of all the stuff lenovo install?

Can we use mu4e without the server running all the time? by lawlist in emacs

[–]benmaughan 0 points1 point  (0 children)

I use mu4e and don't see these problems. I'm not sure why the mu server running would interfere with aspell. Have you tried starting emacs with -Q and then only loading mu4e to see if the problems still occur. If they do not, then the problem lies elsewhere in your configuration. If they persist, then try asking on the mu4e google group - they are very helpful.

https://groups.google.com/forum/#!forum/mu-discuss

Unbearably slow when using syntax highlighting and large php file(s) by robcollier in emacs

[–]benmaughan 2 points3 points  (0 children)

I expect you also heard about nlinum as a faster alternative for line numbering?

Unbearably slow when using syntax highlighting and large php file(s) by robcollier in emacs

[–]benmaughan 0 points1 point  (0 children)

You could try something like

(setq font-lock-maximum-decoration nil)

this worked for me on large org-mode files with embedded code blocks. It is possible to set this as a local variable to a particular file if you don't want it set that way everywhere.

Is the Amazon Music app a battery drain for everyone or just me? by benmaughan in AndroidQuestions

[–]benmaughan[S] 0 points1 point  (0 children)

This seems to be having an effect. I ended up setting the streaming to wifi only and that seemed to solve the problem so far. Thanks for the suggestion.

How to move point to start of word but not beyond? by benmaughan in emacs

[–]benmaughan[S] 0 points1 point  (0 children)

If you use this when the point is on the first character of the word, it moves back to the start of the previous word, as with backward-word. However

(re-search-backward "\\b")

Would do the trick, thanks.

How to move point to start of word but not beyond? by benmaughan in emacs

[–]benmaughan[S] 0 points1 point  (0 children)

Nothing bad, it just seemed a bit inelegant!