all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jens Schmidt via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: v. 29.1.1 | Missing syntax colouring option
Date: Thu, 10 Aug 2023 21:49:56 +0200	[thread overview]
Message-ID: <a97fb3f9-9fca-a410-84b3-f55c036af3bd@vodafonemail.de> (raw)
In-Reply-To: <CAM_8-Cj75vcfY4qHoC2q8QeP8wwSpBgTDHf26rmfgTM+_1Jriw@mail.gmail.com>

On 2023-08-10  13:18, Ricky Tigg wrote:

> The extension of the file I work with is *ps1*. I doubt Emacs knows how to
> determine that the expected code language is PowerShell as there is no
> syntax coloring.

Not every imaginable package is included up-front in Emacs, some
(actually: many, and not all of them imaginable) are available as
external packages and require additional installation.

There is a PowerShell Emacs major mode including syntax highlighting
on MELPA (https://melpa.org/).  However MELPA is not in the list of
default package archives, so some extra work is needed to get that
going.  See section "Package Installation" in the Emacs manual.  The
EmacsWiki also gives instructions, just google for "emacswiki melpa".

> Also an observation that cannot be missed; the software lacks the option *Open
> a recent file*. Having to repeatedly specify the same path is without doubt
> not an option in modern software. It would be worth adding that option..
> Regards.

Others have provided already options, but maybe you look for something
as simple as a history when finding files or doing other file operations
*from the minibuffer* (that very bottom line in an Emacs frame)?  Just
use cursor-up and cursor-down after starting any such file operation.
For example:

   C-x C-f <up>

would bring up the path of the previous file operation to your current
prompt.  AFAICT that history gets populated even if you access files
through the menu bar or tool bar.

Oh, and you can use the savehist package, which is built-in to Emacs, to
save the minibuffer history across Emacs sessions.





  parent reply	other threads:[~2023-08-10 19:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-10 11:18 v. 29.1.1 | Missing syntax colouring option Ricky Tigg
2023-08-10 15:44 ` Emanuel Berg
2023-08-10 16:08 ` [External] : " Drew Adams
2023-08-10 19:47   ` Emanuel Berg
2023-08-10 17:48 ` Eli Zaretskii
2023-08-10 18:09   ` Emanuel Berg
2023-08-10 19:49 ` Jens Schmidt via Users list for the GNU Emacs text editor [this message]
2023-08-10 20:24   ` Emanuel Berg
2023-08-10 19:56 ` Rudolf Schlatte
2023-08-10 20:27   ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a97fb3f9-9fca-a410-84b3-f55c036af3bd@vodafonemail.de \
    --to=help-gnu-emacs@gnu.org \
    --cc=jschmidt4gnu@vodafonemail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.