Quickly generate linear ranges in Emacs