GNU bug report logs - #76115
14.0.8; hyperref command bug

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: auctex; Reported by: Lei Zhao <leizh26@HIDDEN>; merged with #76116; Done: Ikumi Keita <ikumi@HIDDEN>; Maintainer for auctex is bug-auctex@HIDDEN.
bug closed, send any further explanations to 76116 <at> debbugs.gnu.org and Lei Zhao <leizh26@HIDDEN> Request was from Ikumi Keita <ikumi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 76115 76116. Request was from Ikumi Keita <ikumi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Feb 2025 07:46:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 07 02:46:06 2025
Received: from localhost ([127.0.0.1]:60741 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tgJ3t-00039I-DN
	for submit <at> debbugs.gnu.org; Fri, 07 Feb 2025 02:46:06 -0500
Received: from lists.gnu.org ([2001:470:142::17]:35774)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <leizh26@HIDDEN>) id 1tgHUq-0006YG-E9
 for submit <at> debbugs.gnu.org; Fri, 07 Feb 2025 01:05:49 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leizh26@HIDDEN>) id 1tgHUh-0003B2-0F
 for bug-auctex@HIDDEN; Fri, 07 Feb 2025 01:05:39 -0500
Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <leizh26@HIDDEN>) id 1tgHUf-0006OI-4O
 for bug-auctex@HIDDEN; Fri, 07 Feb 2025 01:05:38 -0500
Received: by mail-pl1-x62e.google.com with SMTP id
 d9443c01a7336-21f05530766so4884595ad.1
 for <bug-auctex@HIDDEN>; Thu, 06 Feb 2025 22:05:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1738908334; x=1739513134; darn=gnu.org;
 h=content-transfer-encoding:subject:from:to:content-language
 :user-agent:mime-version:date:message-id:from:to:cc:subject:date
 :message-id:reply-to;
 bh=XsRFfEd/mkbqkt3QScByc9OBZvDdfIbyuSP6uNuNHRc=;
 b=jkHLWrRTr6U+Z02U9eNNy9XcXhwd0WpkSGzHTGXelQYCwgQPd9tkjJRb22C+Y/OEd0
 KrOXyBFrzNY11eJSS8VYVEmCubYsGC/bPKKY4eXmYuelQSgl7TGJWacUlZziO2w4UpHo
 aaIJDlulTQFKQjXP56ghSRW8g0rAItZHgBgNSkpM/WIYtVsIt9VY0J64wVc16MP2c+Yw
 ITXYJvE8aoDKRtyJgYyMgZnGDvC+ptN3z9ephgha/4dF6mVoiQBjJ8z03oOr/lp8O8co
 mkKwG/y62ndcW8DLvouLC1XfK7wIN3Olva+ohOgFA9+pacM+qcZfQEPXrx9kp0Cz8GXA
 sKXg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1738908334; x=1739513134;
 h=content-transfer-encoding:subject:from:to:content-language
 :user-agent:mime-version:date:message-id:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=XsRFfEd/mkbqkt3QScByc9OBZvDdfIbyuSP6uNuNHRc=;
 b=R11BDmc9PaqFHKKkBKW+x9QPHE1e8Yh4NFFahN8l2ACm8rO4BGAiZ5DT8ag24Dk66L
 joOYhtAbIW5wNRhnz7mrM42fgVlEZloHKBIXeRyPYhAtdXRrJjt0Jds2NME1/SvauFbz
 63BjjTB+7nBsKNol6xjd4m0GWoYXhuxV5yhDwyUHJZ5rypQrZuxe92+LPJCXgvISYIqW
 rxHuwlQ4ICvwE/BAY+CvZkSaw4K/w+cehSaWzUqgND4f0V9tVv35U5AUFgoLXqtmAiNo
 79xjBfm8lDXQIH0gQ4N4tKr5CqYWjlM+t2p+3kxtJy6J3HTauuJuug1Zs0sxO8LSVVPR
 GP8Q==
X-Gm-Message-State: AOJu0Yz/8pC+9ai+IXMrupGSK2yC/JYQlA7tU11uTFE9KU8BHEI2dkxw
 h8zFCLVK4Z96LRDfThrgZlnfh4pgesa8l7GM6EVwh3Ff/N3TOh0kWAD1Eg==
X-Gm-Gg: ASbGncurRL8nm7b/s/su1WN1htVIbbKKS3srLRr/APZuRtnmbZ4pVwNtdhZln2bEGEi
 ZRR4FITyAUNGBmzqW9Xv73uU8FCmV6MP13CGrlKD/yoY8j3gmjzkJnyDkf4C9dYoubbLontc0JB
 nWED15HhO8CcBJVp4Sa9AzZ36+q/VErMJtBc0QRp/+GzJZWAOlkK3TZEjGiS2uLsd/uwNnitiwz
 p9x5BT+FwrX3gk5xZGG3ZUBQfIUBTL+djdIfbOrZf0/CG1HjIatoPrqeShXZOQCtfu2tx03IlpN
 tSpcFM0iFoNII3E=
X-Google-Smtp-Source: AGHT+IHii8JrlRvRBbZ2sEhWa5SE4NAbRz9loYrTHaq53cbZKy1iek20cPGsv3cSCVx5KXNwGq/hCw==
X-Received: by 2002:a17:903:987:b0:215:94e0:7 with SMTP id
 d9443c01a7336-21f4e6e5ec1mr11880015ad.7.1738908333975; 
 Thu, 06 Feb 2025 22:05:33 -0800 (PST)
Received: from [192.168.1.7] ([45.13.197.231])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-21f3650e601sm22591385ad.34.2025.02.06.22.05.32
 for <bug-auctex@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Thu, 06 Feb 2025 22:05:33 -0800 (PST)
Message-ID: <c459cfd5-6077-4d01-8b0f-98caba0d2526@HIDDEN>
Date: Fri, 7 Feb 2025 14:05:26 +0800
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: bug-auctex@HIDDEN
From: Lei Zhao <leizh26@HIDDEN>
Subject: 14.0.8; hyperref command bug
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::62e;
 envelope-from=leizh26@HIDDEN; helo=mail-pl1-x62e.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: Dear AUCTeX: When I tried to use \hyperref[name]{text} form
 from hyperref.el, the command doesn't work. It reports "Wrong type argument:
 char-or-string-p, t" error. Steps to reproduce: 
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (leizh26[at]gmail.com)
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (leizh26[at]gmail.com)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 07 Feb 2025 02:46:03 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

Dear AUCTeX:


When I tried to use \hyperref[name]{text} form from hyperref.el, the
command doesn't work. It reports "Wrong type argument: char-or-string-p,
t" error.

Steps to reproduce:

C-c RET "hyperref" RET y "thm:mythm" "Text-for-my-theorem"

Then it reports:

Wrong type argument: char-or-string-p, t

Emacs  : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.33, cairo version 1.16.0)
  of 2024-09-17, modified by Debian
Package: 14.0.8

current state:
==============
(setq
  window-system 'x
  LaTeX-version "2e"
  TeX-style-path '("~/.emacs.d/auctex/" 
"/home/lei/.emacs.d/elpa/auctex-14.0.8/style"
                   "/home/lei/.emacs.d/auctex/auto" 
"/home/lei/.emacs.d/auctex/style"
                   "auto" "style")
  TeX-auto-save nil
  TeX-parse-self nil
  TeX-master t
  TeX-command-list '(("TeX"
                      "%(PDF)%(tex) %(file-line-error) %`%(extraopts) 
%S%(PDFout)%(mode)%' %(output-dir) %t"
                      TeX-run-TeX nil (plain-TeX-mode AmSTeX-mode 
Texinfo-mode) :help
                      "Run plain TeX")
                     ("LaTeX" "%`%l%(mode)%' %T" TeX-run-TeX nil 
(LaTeX-mode docTeX-mode)
                      :help "Run LaTeX")
                     ("Makeinfo" "makeinfo %(extraopts) %(o-dir) %t" 
TeX-run-compile nil
                      (Texinfo-mode) :help "Run Makeinfo with Info output")
                     ("Makeinfo HTML" "makeinfo %(extraopts) %(o-dir) 
--html %t"
                      TeX-run-compile nil (Texinfo-mode) :help
                      "Run Makeinfo with HTML output")
                     ("AmSTeX"
                      "amstex %(PDFout) %`%(extraopts) %S%(mode)%' 
%(output-dir) %t"
                      TeX-run-TeX nil (AmSTeX-mode) :help "Run AMSTeX")
                     ("ConTeXt" "%(cntxcom) --once %(extraopts) 
%(execopts)%t" TeX-run-TeX
                      nil (ConTeXt-mode) :help "Run ConTeXt once")
                     ("ConTeXt Full" "%(cntxcom) %(extraopts) 
%(execopts)%t" TeX-run-TeX
                      nil (ConTeXt-mode) :help "Run ConTeXt until 
completion")
                     ("BibTeX" "bibtex %(O?aux)" TeX-run-BibTeX nil
                      (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode 
Texinfo-mode
                       ConTeXt-mode)
                      :help "Run BibTeX")
                     ("Biber" "biber %(output-dir) %s" TeX-run-Biber nil
                      (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode 
Texinfo-mode)
                      :help "Run Biber")
                     ("Texindex" "texindex %s.??" TeX-run-command nil 
(Texinfo-mode) :help
                      "Run Texindex")
                     ("Texi2dvi" "%(PDF)texi2dvi %t" TeX-run-command nil 
(Texinfo-mode)
                      :help "Run Texi2dvi or Texi2pdf")
                     ("View" "%V" TeX-run-discard-or-function t t :help 
"Run Viewer")
                     ("Print" "%p" TeX-run-command t t :help "Print the 
file")
                     ("Queue" "%q" TeX-run-background nil t :help "View 
the printer queue"
                      :visible TeX-queue-command)
                     ("File" "%(o?)dvips %d -o %f " TeX-run-dvips t
                      (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode 
Texinfo-mode)
                      :help "Generate PostScript file")
                     ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil
                      (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode 
Texinfo-mode)
                      :help "Convert DVI file to PostScript")
                     ("Dvipdfmx" "dvipdfmx -o %(O?pdf) %d" 
TeX-run-dvipdfmx nil
                      (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode 
Texinfo-mode)
                      :help "Convert DVI file to PDF with dvipdfmx")
                     ("Ps2pdf" "ps2pdf %f %(O?pdf)" TeX-run-ps2pdf nil
                      (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode 
Texinfo-mode)
                      :help "Convert PostScript file to PDF")
                     ("LaTeXMk"
                      "latexmk %(latexmk-out) %(file-line-error) 
%(output-dir) %`%(extraopts) %S%(mode)%' %t"
                      TeX-run-format nil (LaTeX-mode docTeX-mode) :help 
"Run LaTeXMk")
                     ("Glossaries" "makeglossaries %(d-dir) %s" 
TeX-run-command nil
                      (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode 
Texinfo-mode)
                      :help "Run makeglossaries to create glossary file")
                     ("Index" "makeindex %(O?idx)" TeX-run-index nil
                      (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode 
Texinfo-mode)
                      :help "Run makeindex to create index file")
                     ("upMendex" "upmendex %(O?idx)" TeX-run-index t
                      (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode 
Texinfo-mode)
                      :help "Run upmendex to create index file")
                     ("Xindy" "texindy %s" TeX-run-command nil
                      (plain-TeX-mode LaTeX-mode docTeX-mode AmSTeX-mode 
Texinfo-mode)
                      :help "Run xindy to create index file")
                     ("Check" "lacheck %s" TeX-run-compile nil 
(LaTeX-mode) :help
                      "Check LaTeX file for correctness")
                     ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil 
(LaTeX-mode) :help
                      "Check LaTeX file for common mistakes")
                     ("Spell" "(TeX-ispell-document \"\")" 
TeX-run-function nil t :help
                      "Spell-check the document")
                     ("Clean" "TeX-clean" TeX-run-function nil t :help
                      "Delete generated intermediate files")
                     ("Clean All" "(TeX-clean t)" TeX-run-function nil t 
:help
                      "Delete generated intermediate and output files")
                     ("Other" "" TeX-run-command t t :help "Run an 
arbitrary command"))
  )





Acknowledgement sent to Lei Zhao <leizh26@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-auctex@HIDDEN. Full text available.
Report forwarded to bug-auctex@HIDDEN:
bug#76115; Package auctex. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 8 Feb 2025 09:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.