# Bug Tracker

ID: 119 🔗 Closed (Fixed) glossaries-extra 1.12 Nicola Talbot 2017-02-07 03:22:33 \glsdisp hangs

## Report

\glsdisp causes document build to hang.

### MWE

\documentclass{article}

\usepackage{glossaries-extra}
\newabbreviation{ekg}{EKG}{Elektrokardiogramm}

\begin{document}

Works: \gls{ekg}

Hangs with glossaries-extra: \glsdisp{ekg}{TEST}
\end{document}


## Evaluation

Fixed in v1.13 (2017-02-17).

Patch:

\makeatletter

\renewcommand*{\@glsdisp}[3][]{%
\@glsxtr@record{#1}{#2}%
\glsdoifexists{#2}{%
\let\glsifplural\@secondoftwo
\let\glscapscase\@firstofthree
\def\glscustomtext{#3}%
\def\glsinsert{}%
\def\@glo@text{\csname gls@\glstype @entryfmt\endcsname}%
\glslocalunset{#2}%
\else
\glsunset{#2}%
\fi
}%
}

\makeatother


## Watch This Report

If you supply your name, it will be used in the email greeting, which provides a more personal message, otherwise you'll just get a generic greeting. If you have previously supplied your name when signing up for notifications, you don't need to resupply it unless you want to change it.

If you have previously subscribed to notifications for this report, you can unsubscribe by clicking on the "Stop Notification" button.

The "Confirm Bug ID" field helps to protect against spambots. Please enter the bug ID (which you can find at the top of this page).

Name: (Optional.)