emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Maske <maske1foro@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [Help] org-capture: How to capitalize the text entered from the "nth prompt"
Date: Sat, 5 Aug 2023 22:48:53 +0200	[thread overview]
Message-ID: <42fb0f68-5096-2e5a-4f30-f57511c3e0a5@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 723 bytes --]

Hi

Could it be possible, in org-capture, to capitalize the text entered 
from a previous prompt?


Example:

I have this part of an org-capture template:


* %^{CLIENT} _%^{Project}_ /%^{Description}/
:PROPERTIES:
:DIR: z:/! 2023/%\\1-%\\2-%\\3
:END:


I would like to know if it is possible to “capitalize” the used data 
that I entered before. For example, instead of this:

** Client _Project Number_ /Project description/
:PROPERTIES:
:DIR: z:/! 2023/Client-Project Number-Project description
:END:


Could it be possible to get this? (The 3rd line is “capitalized”):

** Client _Project Number_ /Project description/
:PROPERTIES:
:DIR: z:/! 2023/CLIENT-PROJECT NUMBER-PROJECT DESCRIPTION
:END:


Best regards

[-- Attachment #2: Type: text/html, Size: 1902 bytes --]

             reply	other threads:[~2023-08-05 20:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-05 20:48 Maske [this message]
2023-08-06  8:08 ` [Help] org-capture: How to capitalize the text entered from the "nth prompt" Ihor Radchenko

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=42fb0f68-5096-2e5a-4f30-f57511c3e0a5@gmail.com \
    --to=maske1foro@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).